diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-02-17 00:55:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-16 16:44:39 -0800 |
commit | 86dd9868b8788a9063893a97649594af93cd5aa6 (patch) | |
tree | ca2b91b18615e9c9e9eb7ba45a801fc61d6f079b /drivers/staging | |
parent | c544fcb4cbae77f7c6106c5e12c39c7c52f4de00 (diff) | |
download | linux-86dd9868b8788a9063893a97649594af93cd5aa6.tar.bz2 |
net: dsa: tag_rtl4_a: Support also egress tags
Support also transmitting frames using the custom "8899 A"
4 byte tag.
Qingfang came up with the solution: we need to pad the
ethernet frame to 60 bytes using eth_skb_pad(), then the
switch will happily accept frames with custom tags.
Cc: Mauri Sandberg <sandberg@mailfence.com>
Reported-by: DENG Qingfang <dqfext@gmail.com>
Fixes: efd7fe68f0c6 ("net: dsa: tag_rtl4_a: Implement Realtek 4 byte A tag")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions