diff options
author | Oz Shlomo <[email protected]> | 2020-12-07 08:15:18 +0000 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-01-07 12:22:49 -0800 |
commit | eed38eeee734756596e2cc163bdc7dac3be501b1 (patch) | |
tree | 849d3211934c7e99a3e8a1388006a5be7366dec9 /scripts/gdb/linux/utils.py | |
parent | 0f2dcade69f2af56b74bce432e48ff3957830ce2 (diff) |
net/mlx5e: CT: Use per flow counter when CT flow accounting is enabled
Connection counters may be shared for both directions when the counter
is used for connection aging purposes. However, if TC flow
accounting is enabled then a unique counter is required per direction.
Instantiate a unique counter per direction if the conntrack accounting
extension is enabled. Use a shared counter when the connection accounting
extension is disabled.
Fixes: 1edae2335adf ("net/mlx5e: CT: Use the same counter for both directions")
Signed-off-by: Oz Shlomo <[email protected]>
Reported-by: Marcelo Ricardo Leitner <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions