diff options
author | Cosmin Ratiu <[email protected]> | 2024-08-08 08:59:27 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-09 22:13:15 -0700 |
commit | 6b5662b75960b38cee4930284c93bd645b8e03ab (patch) | |
tree | 96dfea779ceedbfd32993e4ce055e950f6a88fc5 /tools/perf/scripts/python/futex-contention.py | |
parent | 486aeb2db55b4509039f2e6017b2d06836893ee2 (diff) |
net/mlx5e: CT: Update connection tracking steering entries
Previously, replacing a connection tracking steering entry was done by
adding a new rule (with the same tag but possibly different mod hdr
actions/labels) then removing the old rule.
This approach doesn't work in hardware steering because two steering
entries with the same tag cannot coexist in a hardware steering table.
This commit prepares for that by adding a new ct_rule_update operation on
the ct_fs_ops struct which is used instead of add+delete.
Implementations for both dmfs (firmware steering) and smfs (software
steering) are provided, which simply add the new rule and delete the old
one.
Signed-off-by: Cosmin Ratiu <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions