summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2021-04-30 10:17:33 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-08-20 07:50:38 +0300
commitee950e5db1b9117683c72ebc8d857a3f463efc20 (patch)
tree98ed5d02cb3e7aa245a203c57fc62ceb6dda090f /tools/perf/scripts/python/export-to-sqlite.py
parentd12e20ac0661d619d04bcc653f4044cd9a4ec69a (diff)
downloadlinux-ee950e5db1b9117683c72ebc8d857a3f463efc20.tar.xz
net/mlx5e: TC, Restore tunnel info for sample offload
Currently the sample offload actions send the encapsulated packet to software. sFlow expects tunneled packets to be decapsulated while having the tunnel properties on the skb metadata fields. Reuse the functions used by connection tracking to map the outer header properties to a unique id. The next patch will use that id to restore the tunnel information of decapsulated packets onto the skb. 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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions