summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2021-01-26 16:46:11 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-02-11 18:50:16 -0800
commite1c3940c6003d820c787473c65711b49c2d1bc42 (patch)
treeb151ab0eeb231661ce5e447e31da5c9166eb2dc8 /tools/perf/scripts/python/export-to-postgresql.py
parenta2173131526dc845eb1968a15bc192b3fc2ff000 (diff)
net/mlx5e: Check tunnel offload is required before setting SWP
Check that tunnel offload is required before setting Software Parser offsets to get Geneve HW offload. In case of Geneve packet we check HW offload support of SWP in mlx5e_tunnel_features_check() and set features accordingly, this should be reflected in skb offload requested by the kernel and we should add the Software Parser offsets only if requested. Otherwise, in case HW doesn't support SWP for Geneve, data path will mistakenly try to offload Geneve SKBs with skb->encapsulation set, regardless of whether offload was requested or not on this specific SKB. Fixes: e3cfc7e6b7bd ("net/mlx5e: TX, Add geneve tunnel stateless offload support") Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions