diff options
author | Vu Pham <vuhuong@mellanox.com> | 2019-05-29 22:50:34 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-05-31 12:28:14 -0700 |
commit | cd56f929e6a547180f889a4def370bdd6d48d223 (patch) | |
tree | 16a2ed628e8e520bbeee20af6ee212213771a084 /drivers/ps3 | |
parent | c6d4e45d3b44b71227588c2f76615380b3961f96 (diff) |
net/mlx5: E-Switch, Replace host_params event with functions_changed event
To support sriov on a E-Switch manager, num_vfs are queried
to the firmware whenever E-Switch manager is notified by
esw_functions_changed event.
Replace host_params event with esw_functions_changed event that reflects
more appropriate naming.
While at it, also correct num_vfs type from int to u16 as expected by
the function mlx5_esw_query_functions().
Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions