net/mlx5e: Explicitly set source e-switch in offloaded TC rules
authorShahar Klein <[email protected]>
Sun, 18 Mar 2018 07:03:49 +0000 (09:03 +0200)
committerSaeed Mahameed <[email protected]>
Thu, 17 May 2018 21:17:35 +0000 (14:17 -0700)
commit10ff5359f883412728ba816046ee3a696625ca02
treed883df37881c18cc2ad3c199716e4dae3e3427d7
parent3e99df87722874c669f6c24a79bd1b4ba5fec819
net/mlx5e: Explicitly set source e-switch in offloaded TC rules

Set a specific source e-switch when setting a rule that matches on the
ingress port.

Signed-off-by: Shahar Klein <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c