]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_rtl4_a: Drop bit 9 from egress frames
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Sep 2021 14:31:56 +0000 (16:31 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Sep 2021 02:34:03 +0000 (19:34 -0700)
commit7fe204b1d91f4dc42ed0208371e62b2d42c759bc
tree4570bfbdf999dedcfca68eb40332440b9dd4021b
parent161681ed8cf7e0a7f6b3aef1e825162c632c18dd
net: dsa: tag_rtl4_a: Drop bit 9 from egress frames

This drops the code setting bit 9 on egress frames on the
Realtek "type A" (RTL8366RB) frames.

This bit was set on ingress frames for unknown reason,
and was set on egress frames as the format of ingress
and egress frames was believed to be the same. As that
assumption turned out to be false, and since this bit
seems to have zero effect on the behaviour of the switch
let's drop this bit entirely.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210913143156.1264570-1-linus.walleij@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_rtl4_a.c