ixgbevf: Remove limit of 10 entries for unicast filter list
authorRadoslaw Tyl <radoslawx.tyl@intel.com>
Mon, 25 Nov 2019 14:24:52 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 14:43:44 +0000 (14:43 +0000)
commitfd12a4ffd665e733d8028f540267894236d60e82
treefa5cec525fa05681b5f8664a829d751783b5c095
parent38c78f918e8df9c2c4027ec9a9e95072ce934815
ixgbevf: Remove limit of 10 entries for unicast filter list

[ Upstream commit aa604651d523b1493988d0bf6710339f3ee60272 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c