]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i40e: Able to add up to 16 MAC filters on an untrusted VF
authorAdam Ludkiewicz <adam.ludkiewicz@intel.com>
Wed, 6 Feb 2019 23:08:25 +0000 (15:08 -0800)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 13 Aug 2019 12:11:36 +0000 (14:11 +0200)
commit49ee340001c93aaf7158fefbb14030f605b2b51a
tree73521d54a73a9330c1c20f7aee09d86d622eb1e0
parented6fa64b01bc2298efbecd0f8bd50623d056b5af
i40e: Able to add up to 16 MAC filters on an untrusted VF

BugLink: https://bugs.launchpad.net/bugs/1837517
[ Upstream commit 06b6e2a2333eb3581567a7ac43ca465ef45f4daa ]

This patch fixes the problem with the driver being able to add only 7
multicast MAC address filters instead of 16. The problem is fixed by
changing the maximum number of MAC address filters to 16+1+1 (two extra
are needed because the driver uses 1 for unicast MAC address and 1 for
broadcast).

Signed-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c