Mon, Jun 25, 2018 at 11:30:06PM CEST, [email protected] wrote:
>From: John Hurley <[email protected]>
>
>Add the reoffload tcf_proto_op in flower to generate an offload message
>for each filter in the given tcf_proto. Call the specified callback with
>this new offload message. The function only returns an error if the
>callback rejects adding a 'hardware only' rule.
>
>A filter contains a flag to indicate if it is in hardware or not. To
>ensure the reoffload function properly maintains this flag, keep a
>reference counter for the number of instances of the filter that are in
>hardware. Only update the flag when this counter changes from or to 0. Add
>a generic helper function to implement this behaviour.
>
>Signed-off-by: John Hurley <[email protected]>
>Signed-off-by: Jakub Kicinski <[email protected]>

Acked-by: Jiri Pirko <[email protected]>

Reply via email to