]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fixed bugs related to PVID.
authorSomnath Kotur <somnath.kotur@emulex.com>
Wed, 4 May 2011 22:40:46 +0000 (22:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 18:51:04 +0000 (11:51 -0700)
commitcbe6e117ba2c65ec1dcf7dc24ae5bccfa49ce779
treefc0204928fce1ddc8d5d28c419f7a4f981cc7b9d
parent7ea45da25fece1733b8b9e1ea2dae68bb7a8de9e
be2net: Fixed bugs related to PVID.

Fixed bug to make sure 'pvid' retrieval will work on big endian hosts.
Fixed incorrect comparison between the Rx Completion's 16-bit VLAN TCI
and the PVID. Now comparing only the relevant 12 bits corresponding to
the VID.
Renamed 'vid' field under Rx Completion to 'vlan_tag' to reflect
accurate description.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_cmds.c
drivers/net/benet/be_main.c