summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2022-05-26 01:31:27 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-10-27 15:50:38 +0100
commit06ab4a4089d483ec29ddfc9d0503f3468b25f384 (patch)
tree26b211d13a79ce676726034929f5982ee95dd575 /drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c
parentb9b81e1e93820eb47aeaf0fe7cdda535adf8e7a4 (diff)
net/mlx5: DR, Initialize chunk's ste_arrays at chunk creation
Rather than cleaning the corresponding chunk's section of ste_arrays on chunk deletion, initialize these areas upon chunk creation. Chunk destruction tend to come in large batches (during pool syncing). To reduce the "hiccup" in such cases, moving ste_arrays init from chunk destruction to initialization. Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Reviewed-by: Alex Vesker <valex@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c')
0 files changed, 0 insertions, 0 deletions