summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2025-03-04 19:06:20 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-07 04:53:34 +0300
commitca7992f52c2cb5ef61fbfa590a2d7c926f290237 (patch)
tree30a89b6f0c5bdf513b2368ca585b1b9136322a9a /tools/perf/scripts/python/parallel-perf.py
parent348ed4b20546b80a67bb87b0fb32397efbae4c87 (diff)
downloadlinux-ca7992f52c2cb5ef61fbfa590a2d7c926f290237.tar.xz
net/mlx5e: Properly match IPsec subnet addresses
Existing match criteria didn't allow to match whole subnet and only by specific addresses only. This caused to tunnel mode do not forward such traffic through relevant SA. In tunnel mode, policies look like this: src 192.169.0.0/16 dst 192.169.0.0/16 dir out priority 383615 ptype main tmpl src 192.169.101.2 dst 192.169.101.1 proto esp spi 0xc5141c18 reqid 1 mode tunnel crypto offload parameters: dev eth2 mode packet In this case, the XFRM core code handled all subnet calculations and forwarded network address to the drivers e.g. 192.169.0.0. For mlx5 devices, there is a need to set relevant prefix e.g. 0xFFFF00 to perform flow steering match operation. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Link: https://patch.msgid.link/20250304160620.417580-7-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions