Thread (19 messages) 19 messages, 4 authors, 2023-02-12

Re: [PATCH net-next v3 4/9] net/sched: introduce flow_offload action cookie

flat view

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2023-02-10 02:32:29

On Mon, Feb 06, 2023 at 03:54:37PM +0200, Oz Shlomo wrote:
Currently a hardware action is uniquely identified by the <id, hw_index>
tuple. However, the id is set by the flow_act_setup callback and tc core
cannot enforce this, and it is possible that a future change could break
this. In addition, <id, hw_index> are not unique across network namespaces.

Uniquely identify the action by setting an action cookie by the tc core.
Use the unique action cookie to query the action's hardware stats.

Signed-off-by: Oz Shlomo <redacted>
Reviewed-by: Simon Horman <redacted>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.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