RDMA/ocrdma: Fixed GID table for vlan and events
authorParav Pandit <parav.pandit@emulex.com>
Fri, 8 Jun 2012 15:55:25 +0000 (21:25 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 11 Jun 2012 16:38:32 +0000 (09:38 -0700)
commit6ab6827ee99937834cc268298ee4eab1a651569e
treeaa17c93c0007aa19b908634162aa870a275dd5d5
parentae501be0f631bd4fb751c5f580e396f59b2011f1
RDMA/ocrdma: Fixed GID table for vlan and events

1. Fix reporting GID table addition events.
2. Enable vlan based GID entries only when VLAN is enabled at compile
   time (test CONFIG_VLAN_8021Q / CONFIG_VLAN_8021Q_MODULE).

Signed-off-by: Parav Pandit <parav.pandit@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_main.c