Thread (14 messages) 14 messages, 3 authors, 2023-02-16

Re: [PATCH net-next v12 2/8] net/sched: cls_api: Support hardware miss to tc action

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2023-02-15 22:01:05

On Wed, Feb 15, 2023 at 11:10:08PM +0200, Paul Blakey wrote:
For drivers to support partial offload of a filter's action list,
add support for action miss to specify an action instance to
continue from in sw.

CT action in particular can't be fully offloaded, as new connections
need to be handled in software. This imposes other limitations on
the actions that can be offloaded together with the CT action, such
as packet modifications.

Assign each action on a filter's action list a unique miss_cookie
which drivers can then use to fill action_miss part of the tc skb
extension. On getting back this miss_cookie, find the action
instance with relevant cookie and continue classifying from there.

Signed-off-by: Paul Blakey <redacted>
Reviewed-by: Jiri Pirko <redacted>
Reviewed-by: Simon Horman <redacted>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Paul Blakey <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