summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2020-07-10 21:12:44 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-07-16 16:36:31 -0700
commit1315971fea66d2c1b09cab115a487898ba628cac (patch)
tree6125a0735762bbaf78b989b6724ad78e1d344cee /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
parent89e35f66d552c98c1cfee4a058de158d7f21796a (diff)
net/mlx5e: Fix missing switch_id for representors
Cited commit in fixes tag missed to set the switch id of the PF and VF ports. Due to this flow cannot be offloaded, a simple command like below fails to offload with below error. tc filter add dev ens2f0np0 parent ffff: prio 1 flower \ dst_mac 00:00:00:00:00:00/00:00:00:00:00:00 skip_sw \ action mirred egress redirect dev ens2f0np0pf0vf0 Error: mlx5_core: devices are not on same switch HW, can't offload forwarding. Hence, fix it by setting switch id for each PF and VF representors port as before the cited commit. Fixes: 71ad8d55f8e5 ("devlink: Replace devlink_port_attrs_set parameters with a struct") Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c')
0 files changed, 0 insertions, 0 deletions