summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
diff options
context:
space:
mode:
authorBodong Wang2019-02-13 07:55:39 +0100
committerSaeed Mahameed2019-02-14 21:14:42 +0100
commitfeb393693316bd5de2c88a020f6ded51e3a4120b (patch)
tree5c5f8bcd0b5ce4a2846b71c4eb2a5b31a625d0ee /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
parentnet/mlx5: Add host params change event (diff)
downloadkernel-qcow2-linux-feb393693316bd5de2c88a020f6ded51e3a4120b.tar.gz
kernel-qcow2-linux-feb393693316bd5de2c88a020f6ded51e3a4120b.tar.xz
kernel-qcow2-linux-feb393693316bd5de2c88a020f6ded51e3a4120b.zip
net/mlx5: Provide an alternative VF upper bound for ECPF
ECPF doesn't support SR-IOV, but an ECPF E-Switch manager shall know the max VFs supported by its peer host PF in order to control those VF vports. The current driver implementation uses the total vfs quantity as provided by the pci sub-system for an upper bound of the VF vports the e-switch code needs to deal with. This obviously can't work as is on ECPF e-switch manager. For now, we use a hard coded value of 128 on such systems. Signed-off-by: Bodong Wang <bodong@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
0 files changed, 0 insertions, 0 deletions