]> git.baikalelectronics.ru Git - kernel.git/commit
via-rhine: fix VLAN priority field (PCP, IEEE 802.1p)
authorRoger Luethi <rl@hellgate.ch>
Sat, 21 Sep 2013 12:24:11 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:09:00 +0000 (16:09 -0400)
commit2a244b2e4a7f3c15e9d9d478981a5e55ccc388c9
tree72330eb4566929b4f55950e58c2d5b6ea9c6cd6a
parent2d235358299833886e48360ad128a986ff7a1571
via-rhine: fix VLAN priority field (PCP, IEEE 802.1p)

Outgoing packets sent by via-rhine have their VLAN PCP field off by one
(when hardware acceleration is enabled). The TX descriptor expects only VID
and PCP (without a CFI/DEI bit).

Peter Boström noticed and reported the bug.

Signed-off-by: Roger Luethi <rl@hellgate.ch>
Cc: Peter Boström <peter.bostrom@netrounds.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c