Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ixgbevf: Remove limit of 10 entries for unicast filter list

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

Fixes: 46ec20ff7d ("ixgbevf: Add macvlan support in the set rx mode op")
Signed-off-by: Radoslaw Tyl <radoslawx.tyl@intel.com>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Radoslaw Tyl and committed by
Jeff Kirsher
aa604651 d9d6a9ae

-5
-5
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
··· 2081 2081 struct ixgbe_hw *hw = &adapter->hw; 2082 2082 int count = 0; 2083 2083 2084 - if ((netdev_uc_count(netdev)) > 10) { 2085 - pr_err("Too many unicast filters - No Space\n"); 2086 - return -ENOSPC; 2087 - } 2088 - 2089 2084 if (!netdev_uc_empty(netdev)) { 2090 2085 struct netdev_hw_addr *ha; 2091 2086