On 16-06-01 09:50 AM, Jakub Kicinski wrote: > Add cls_bpf support for the TCA_CLS_FLAGS_SKIP_HW flag. > Unlike U32 and flower cls_bpf already has some netlink > flags defined. I chose to create a new attribute to be > able to use the same flag values as the above. > > Unknown flags are ignored and not reported upon dump. > > Signed-off-by: Jakub Kicinski <jakub.kicin...@netronome.com> > Reviewed-by: Dinan Gunawardena <dgunaward...@netronome.com> > Reviewed-by: Simon Horman <simon.hor...@netronome.com> > ---
Seems reasonable to me. Adding support for the SKIP_SW flag as well would be helpful. It looks like you could do this fairly easily by checking the offload boolean. Anyways that is another patch of course. Acked-by: John Fastabend <john.r.fastab...@intel.com>