net/mlx5: E-Switch, Add query and modify esw vport context functions
authorJianbo Liu <jianbol@mellanox.com>
Tue, 25 Jun 2019 17:48:05 +0000 (17:48 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Jun 2019 19:01:28 +0000 (12:01 -0700)
commit57843868700162922963baa69fc049a0256aeed2
treee7d3974a97572abfb36ff414cdefe1c66061ec98
parentc01cfd0f111511f005ac9c2608556a02b012a2dc
net/mlx5: E-Switch, Add query and modify esw vport context functions

Add esw vport query and modify functions, and exposing them is needed for
enabling or disabling registers passed as metatdata to vport NIC_RX table
in slow path.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@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