diff options
author | 2017-03-15 10:39:18 -0700 | |
---|---|---|
committer | 2017-03-15 15:20:27 -0700 | |
commit | 2026fecf516bc04df20cb50874957cd8c364fb4e (patch) | |
tree | 17dff1ad69ed0f125ff2f93b83b1bcb3908e724b /tools/perf/scripts/python/syscall-counts.py | |
parent | netxen_nic: remove redundant check if retries is zero (diff) | |
download | wireguard-linux-2026fecf516bc04df20cb50874957cd8c364fb4e.tar.xz wireguard-linux-2026fecf516bc04df20cb50874957cd8c364fb4e.zip |
mqprio: Change handling of hw u8 to allow for multiple hardware offload modes
This patch is meant to allow for support of multiple hardware offload type
for a single device. There is currently no bounds checking for the hw
member of the mqprio_qopt structure. This results in us being able to pass
values from 1 to 255 with all being treated the same. On retreiving the
value it is returned as 1 for anything 1 or greater being set.
With this change we are currently adding limited bounds checking by
defining an enum and using those values to limit the reported hardware
offloads.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions