diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-03-13 16:41:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-14 15:41:03 -0400 |
commit | cad6d05f5676d879bb2a48154aea26cd81ebf1bb (patch) | |
tree | d44c60b143798c799a61bee96e9cf495f1e28b34 /drivers/net/igb/e1000_mac.h | |
parent | a2cf8b6ce17415fc84f51300fd6be372d95bfcea (diff) |
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>
Diffstat (limited to 'drivers/net/igb/e1000_mac.h')
-rw-r--r-- | drivers/net/igb/e1000_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_mac.h b/drivers/net/igb/e1000_mac.h index eccc3536a568..a34de5269637 100644 --- a/drivers/net/igb/e1000_mac.h +++ b/drivers/net/igb/e1000_mac.h | |||
@@ -58,7 +58,7 @@ s32 igb_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, | |||
58 | 58 | ||
59 | void igb_clear_hw_cntrs_base(struct e1000_hw *hw); | 59 | void igb_clear_hw_cntrs_base(struct e1000_hw *hw); |
60 | void igb_clear_vfta(struct e1000_hw *hw); | 60 | void igb_clear_vfta(struct e1000_hw *hw); |
61 | void igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add); | 61 | s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add); |
62 | void igb_config_collision_dist(struct e1000_hw *hw); | 62 | void igb_config_collision_dist(struct e1000_hw *hw); |
63 | void igb_mta_set(struct e1000_hw *hw, u32 hash_value); | 63 | void igb_mta_set(struct e1000_hw *hw, u32 hash_value); |
64 | void igb_put_hw_semaphore(struct e1000_hw *hw); | 64 | void igb_put_hw_semaphore(struct e1000_hw *hw); |