From: Or Gerlitz <ogerl...@mellanox.com> Date: Thu, 9 Feb 2017 16:18:04 +0200
> Currently there is no way of querying whether a filter is > offloaded to HW or not when using both policy (no flag). > > Reuse the skip flags to show the insertion status by setting > the skip_hw flag in case the filter wasn't offloaded. > > The bpf patch is compile tested only, Daniel/Jakub, will > appreciate your review/ack. ... I'm learning towards suggesting that you use new flags, this way it will be unambiguous whether we are running an old kernel. If you just use the skip flag, it's impossible to tell the difference.