[Intel-wired-lan] [PATCH] ixgbevf: Removing limit of 10 entries for unicast filter list

Radoslaw Tyl radoslawx.tyl at intel.com
Mon Nov 25 09:55:33 UTC 2019


Currently, though the FDB entry is added to VF, it does not appear in
RAR filters. VF driver allows add only 10 entries. Attempting to add
another causes an error. This patch removed limitation and allow use of
all free RAR entries for the FDB if needed.

Signed-off-by: Radoslaw Tyl <radoslawx.tyl at intel.com>
---
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 076f2da36f27..64ec0e7c64b4 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -2081,11 +2081,6 @@ static int ixgbevf_write_uc_addr_list(struct net_device *netdev)
 	struct ixgbe_hw *hw = &adapter->hw;
 	int count = 0;
 
-	if ((netdev_uc_count(netdev)) > 10) {
-		pr_err("Too many unicast filters - No Space\n");
-		return -ENOSPC;
-	}
-
 	if (!netdev_uc_empty(netdev)) {
 		struct netdev_hw_addr *ha;
 
-- 
2.21.0



More information about the Intel-wired-lan mailing list