On Tue, 26 Dec 2017 15:15:59 +0100, Jiri Pirko wrote: > From: Jiri Pirko <j...@mellanox.com> > > During block bind, we need to check tc offload feature. If it is > disabled yet still the block contains offloaded filters, forbid the > bind. Also forbid to register callback for a block that already > containes offloaded filters, as the play back is not supported now. > For keeping track of offloaded filters there is a new counter > introduced, alongside with couple of helpers called from cls_* code. > These helpers set and clear TCA_CLS_FLAGS_IN_HW flag. > > Signed-off-by: Jiri Pirko <j...@mellanox.com>
LGTM, thanks!