diff options
author | Bodong Wang <bodong@mellanox.com> | 2019-02-12 22:55:39 -0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-14 12:14:42 -0800 |
commit | feb393693316bd5de2c88a020f6ded51e3a4120b (patch) | |
tree | 5c5f8bcd0b5ce4a2846b71c4eb2a5b31a625d0ee /include/rdma/ib_cm.h | |
parent | 7f0d11c7e0d08304de55b6a571a69166f3d54160 (diff) | |
download | linux-feb393693316bd5de2c88a020f6ded51e3a4120b.tar.gz linux-feb393693316bd5de2c88a020f6ded51e3a4120b.tar.bz2 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 'include/rdma/ib_cm.h')
0 files changed, 0 insertions, 0 deletions