summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Blakey <paulb@nvidia.com>2021-04-19 15:50:58 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-05-27 21:54:35 +0300
commit7fac5c2eced36f335ee19ff316bd3182fbeda823 (patch)
tree9a6c726c6cc15f9e2dae55078421fd8b9f147c30 /include
parent74097a0dcd1e47d3ccdd066422f28300ad508eee (diff)
downloadlinux-7fac5c2eced36f335ee19ff316bd3182fbeda823.tar.xz
net/mlx5: CT: Avoid reusing modify header context for natted entries
Currently the driver is designed to reuse header modify context entries. Natted entries will always have a unique modify header, as such the modify header hashtable lookup is introducing an overhead. When the hashtable size exceeded 200k entries the tested insertion rate dropped from ~10k entries/sec to ~300 entries/sec. Don't use the re-use mechanism when creating modify headers for natted tuples. Signed-off-by: Paul Blakey <paulb@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions