diff options
author | Chris Mi <cmi@nvidia.com> | 2021-06-21 10:49:50 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-08-20 07:50:38 +0300 |
commit | 2741f22309054a2100e47c0aef42159d3d266ebc (patch) | |
tree | 40341fdbcff83ec039e40775cea19d0216073c30 /scripts/recordmcount.pl | |
parent | ee950e5db1b9117683c72ebc8d857a3f463efc20 (diff) | |
download | linux-2741f22309054a2100e47c0aef42159d3d266ebc.tar.xz |
net/mlx5e: TC, Support sample offload action for tunneled traffic
Currently the sample offload actions send the encapsulated packet
to software. This commit decapsulates the packet before performing
the sampling and set the tunnel properties on the skb metadata
fields to make the behavior consistent with OVS sFlow.
If decapsulating first, we can't use the same match like before in
default table. So instantiate a post action instance to continue
processing the action list. If HW can preserve reg_c, also use the
post action instance.
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions