On Thu, Jan 07, 2021 at 12:28:38PM -0800, Saeed Mahameed wrote:
From: Oz Shlomo <redacted>
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 <redacted>
Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tested-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Thanks.
Reviewed-by: Roi Dayan <redacted>
Reviewed-by: Paul Blakey <redacted>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>