Re: [PATCH iproute] tc: Reflect HW offload status

2017-05-05 Thread Stephen Hemminger
On Thu, 4 May 2017 16:15:15 +0300 Or Gerlitz wrote: > Currently there is no way of querying whether a filter is > offloaded to HW or not when using "both" policy (where none > of skip_sw or skip_hw flags are set by user-space). > > Add two new flags, "in hw" and "not in hw" such that user > spa

Re: [PATCH iproute] tc: Reflect HW offload status

2017-05-04 Thread Simon Horman
On Thu, May 04, 2017 at 04:15:15PM +0300, Or Gerlitz wrote: > Currently there is no way of querying whether a filter is > offloaded to HW or not when using "both" policy (where none > of skip_sw or skip_hw flags are set by user-space). > > Add two new flags, "in hw" and "not in hw" such that user

[PATCH iproute] tc: Reflect HW offload status

2017-05-04 Thread Or Gerlitz
Currently there is no way of querying whether a filter is offloaded to HW or not when using "both" policy (where none of skip_sw or skip_hw flags are set by user-space). Add two new flags, "in hw" and "not in hw" such that user space can determine if a filter is actually offloaded to hw or not. Th