Re: [PATCH net-next v5 1/6] net/sched: cls_api: Support hardware miss to tc action
From: Simon Horman <horms@kernel.org>
Date: 2023-01-28 16:55:32
From: Simon Horman <horms@kernel.org>
Date: 2023-01-28 16:55:32
On Wed, Jan 25, 2023 at 05:32:13PM +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>