]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add source e-switch owner
authorShahar Klein <shahark@mellanox.com>
Sun, 18 Mar 2018 07:02:06 +0000 (09:02 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 17 May 2018 21:17:34 +0000 (14:17 -0700)
commitfe3c151fe97b6a6393996fb82b38d4eafcc2f5b0
tree8327d45dd55d900d72b7250d9d16f55d99738dcd
parent6a2a2d08663b692af16f47d34df40e4738937f12
net/mlx5: Add source e-switch owner

The source e-switch owner allows a vport on one e-switch port be associated
with a rule defined on the second port e-switch.

The role of the source eswitch owner valid bit in the flow group is to
allow the firmware fail driver attempts to wild card the source eswitch
match field. If this bit is not set, the firmware ignores the source
eswitch owner field totally.

Signed-off-by: Shahar Klein <shahark@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/mlx5_ifc.h