net/mlx5e: Explicitly set source e-switch in offloaded TC rules
authorShahar Klein <shahark@mellanox.com>
Sun, 18 Mar 2018 07:03:49 +0000 (09:03 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
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 <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/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c