mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
i40e: let untrusted VF to create up to 16 VLANs
This patch lets untrusted VF to create up to 16 VLANs. It was implemented by increasing I40E_VC_MAX_VLAN_PER_VF up to 16. Without this patch untrusted VF could create only up to 8 VLANs. Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
6a6567776f
commit
51110f162d
@ -2509,7 +2509,7 @@ error_param:
|
|||||||
* MAC filters: 16 for multicast, 1 for MAC, 1 for broadcast
|
* MAC filters: 16 for multicast, 1 for MAC, 1 for broadcast
|
||||||
*/
|
*/
|
||||||
#define I40E_VC_MAX_MAC_ADDR_PER_VF (16 + 1 + 1)
|
#define I40E_VC_MAX_MAC_ADDR_PER_VF (16 + 1 + 1)
|
||||||
#define I40E_VC_MAX_VLAN_PER_VF 8
|
#define I40E_VC_MAX_VLAN_PER_VF 16
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* i40e_check_vf_permission
|
* i40e_check_vf_permission
|
||||||
|
Loading…
Reference in New Issue
Block a user