summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorPaul Blakey <paulb@nvidia.com>2021-09-05 10:47:56 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-03-10 23:38:24 -0800
commitfbf6836db42d013056e0a423599d8afeb5b838ac (patch)
tree3c5748e496c7386ac4c0323cef5878d5142d4e8f /drivers/hwspinlock
parent3ee61ebb0df1ec5cf9b60a12c1d7249230a73f9c (diff)
net/mlx5: CT: Create smfs dr matchers dynamically
SMFS dr matchers are processed sequentially in hardware according to their priorities, and not skipped if empty. Currently, smfs ct fs creates four predefined dr matchers per ct table (ct/ct nat) with hardcoded priority. Compared to dmfs ct fs using autogroups, this might cause additional hops in fastpath for traffic patterns that match later priorties, even if previous priorites are empty, e.g user only using ipv6 UDP traffic will have additional 3 hops. Create the matchers dynamically, using the highest priority available, on first rule usage, and remove them on last usage. Signed-off-by: Paul Blakey <paulb@nvidia.com> Reviewed-by: Oz Shlomo <ozsh@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions