]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Return raw output for query esw functions
authorBodong Wang <bodong@mellanox.com>
Mon, 10 Jun 2019 23:38:18 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:48 +0000 (10:59 -0700)
commit2f22a299997633ed6a9758424bb0880f582fe478
tree0e87f8d81a08523ebf32a8f24ed6c4ff15f99826
parent6df6c7cb92cb26a9b72906c1f0b123d5b4b34d98
net/mlx5: E-Switch, Return raw output for query esw functions

Current function only returns host num of VFs, later patch requires
other params such as host maximum num of VFs.

Return the raw output so that caller can extract info as needed.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c