diff options
| author | Bodong Wang <[email protected]> | 2019-06-10 23:38:19 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-06-13 10:59:48 -0700 |
| commit | 86eec50beaf3a45f6432d491072fa5c54284dbca (patch) | |
| tree | a4d9df04a29b68c20056306b1b404eb670382ce4 /include/linux/timerqueue.h | |
| parent | 10ee82cedb62dd716c44ba7a2c458688638873ab (diff) | |
net/mlx5: Support querying max VFs from device
For ECPF with eswitch manager privilege, query the host max VF count
by querying the device using query_functions command.
With this enhancement:
1. flow steering entries are created only for valid vports based on
the max VF count of the PF.
2. Driver only queries cap of valid vport.
Eswitch requires the max VFs when doing initialization, so do sr-iov
init before eswitch init.
Signed-off-by: Bodong Wang <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions