igb: add PF to pool
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 13 Mar 2009 20:41:37 +0000 (20:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2009 19:41:03 +0000 (12:41 -0700)
commitcad6d05f5676d879bb2a48154aea26cd81ebf1bb
treed44c60b143798c799a61bee96e9cf495f1e28b34
parenta2cf8b6ce17415fc84f51300fd6be372d95bfcea
igb: add PF to pool

Add Pf to pool if adding a VLVF register value and the VFTA bit is
already set.

This patch addresses the unlikely situation that the PF adds a vlan
entry when the vlvf is full, and a vf later adds the vlan to the vlvf.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_mac.c
drivers/net/igb/e1000_mac.h
drivers/net/igb/igb_main.c