lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20170504151720.GA19349@vergenet.net> Date: Thu, 4 May 2017 17:17:21 +0200 From: Simon Horman <simon.horman@...ronome.com> To: Or Gerlitz <ogerlitz@...lanox.com> Cc: Stephen Hemminger <stephen@...workplumber.org>, netdev@...r.kernel.org, Roi Dayan <roid@...lanox.com>, Paul Blakey <paulb@...lanox.com> Subject: Re: [PATCH iproute] tc: Reflect HW offload status 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 > space can determine if a filter is actually offloaded to > hw or not. The "in hw" UAPI semantics was chosen so it's > similar to the "skip hw" flag logic. > > If none of these two flags are set, this signals running > over older kernel. > > Signed-off-by: Or Gerlitz <ogerlitz@...lanox.com> > Reviewed-by: Jiri Pirko <jiri@...lanox.com> Reviewed-by: Simon Horman <simon.horman@...ronome.com>
Powered by blists - more mailing lists