]> 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)
commit9026efbb850031c56883422d6d4121db9ff3a739
tree0e87f8d81a08523ebf32a8f24ed6c4ff15f99826
parentd889e42a2026dcf70e3c0dcfedeb0372157efa84
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