diff options
author | Chris Mi <chrism@mellanox.com> | 2018-05-16 11:54:38 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-26 00:11:00 +0300 |
commit | e4ad91f23f10a9e7e7775f854584f4d54fe7f299 (patch) | |
tree | 1f937a4bea23005933427fa51c996872d2d18401 /drivers/net/ethernet/mellanox/mlx5/core/wq.h | |
parent | 592d3651596924b0b1e9030634c48d262451eeaf (diff) | |
download | linux-e4ad91f23f10a9e7e7775f854584f4d54fe7f299.tar.xz |
net/mlx5e: Split offloaded eswitch TC rules for port mirroring
If a TC rule needs to be split for mirroring, create two HW rules,
in the first level and the second level flow tables accordingly.
In the first level flow table, forward the packet to the mirror
port and forward the packet to the second level flow table for
further processing, eg. encap, vlan push or header re-write.
Currently the matching is repeated in both stages.
While here, simplify the setup of the vhca id valid indicator also
in the existing code.
Signed-off-by: Chris Mi <chrism@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/wq.h')
0 files changed, 0 insertions, 0 deletions