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)
commit207070f5221e2a901d56a49df9cde47d9b716cd7
tree72330eb4566929b4f55950e58c2d5b6ea9c6cd6a
parent2811ebac2521ceac84f2bdae402455baa6a7fb47
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