Thread (21 messages) flat view 21 messages, 3 authors, 2021-01-08

Re: [net 04/11] net/mlx5e: CT: Use per flow counter when CT flow accounting is enabled

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2021-01-07 22:05:42

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help