On Thu, Jan 07, 2021 at 12:28:38PM -0800, Saeed Mahameed wrote:
> From: Oz Shlomo <[email protected]>
> 
> 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]>

Tested-by: Marcelo Ricardo Leitner <[email protected]>
Thanks.

> Reviewed-by: Roi Dayan <[email protected]>
> Reviewed-by: Paul Blakey <[email protected]>
> Signed-off-by: Saeed Mahameed <[email protected]>

Reply via email to