lp:~danielj-mellanox/ubuntu/+source/linux/+git/cosmic

Owned by Dan Jurgens
Get this repository:
git clone https://git.launchpad.net/~danielj-mellanox/ubuntu/+source/linux/+git/cosmic
Only Dan Jurgens can upload to this repository. If you are Dan Jurgens please log in for upload directions.

Branches

Name Last Modified Last Commit
mellanox_bluefield 2019-01-23 20:21:43 UTC
net/mlx5e: Fail attempt to offload e-switch TC flows with egress upper devices

Author: Eli Britstein
Author Date: 2018-12-19 07:24:58 UTC

net/mlx5e: Fail attempt to offload e-switch TC flows with egress upper devices

We use the switchdev parent HW id helper to identify if the mirred device
shares the same ASIC/port with the ingress device. This can get us wrong
in the presence of upper devices such as vlan or bridge set over the HW
devices (VF or uplink representors), b/c the switchdev ID is retrieved
recursively.

To fail offload attempts in such cases, we condition the check on the
egress device to have not only the same switchdev ID but also the relevant
mlx5 netdev ops.

Fixes: 03a9d11e6eeb ('net/mlx5e: Add TC drop and mirred/redirect action parsing for SRIOV offloads')
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers