]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
RDMA/nes: Fix VLAN support
authorChien Tung <ctung@neteffect.com>
Sat, 16 Feb 2008 03:00:36 +0000 (21:00 -0600)
committerRoland Dreier <rolandd@cisco.com>
Sun, 17 Feb 2008 05:16:33 +0000 (21:16 -0800)
commitedd2fd643c500c812cae5b0d314ab9db9f959898
tree46e7fb390f08cc58ca521c714742651cadf89098
parent11e0704b7ec3abfeaee7e3a56f11c82024d1ae01
RDMA/nes: Fix VLAN support

We need to account for the VLAN header size in nes_netdev_change_mtu()
and nes_netdev_init().  Also, add spin lock/unlock during VLAN RX
registration so only one process can assign VLAN group for a given
interface at a time.

Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_nic.c