be2net: covert vlan array to bit-map
authorRavikumar Nelavelli <ravikumar.nelavelli@emulex.com>
Fri, 9 May 2014 07:59:16 +0000 (13:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 17:13:39 +0000 (13:13 -0400)
commitf6cbd3644ac3188b422ce83f5a95a65e4450b7c6
tree32074f04d2909e2791ff38d29195365bf4d99b02
parent05e4c6a3af71dd3848f3f54a1ccb740bdcd183e2
be2net: covert vlan array to bit-map

This patch converts the vlan u8[] used to track vlan-id
membership to a bit-map as it reduces memory usage.

Signed-off-by: Ravikumar Nelavelli <ravikumar.nelavelli@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c