Alexander Duyck
2026fecf51
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 >
2017-03-15 15:20:27 -07:00
..
2017-02-10 16:00:01 +01:00
2017-01-24 13:52:00 +01:00
2017-01-05 13:02:25 +00:00
2017-02-25 13:32:04 +01:00
2017-01-31 12:31:54 -05:00
2017-03-02 08:42:42 +01:00
2017-02-10 13:18:33 -05:00
2017-01-02 10:55:28 +02:00
2017-02-21 13:25:50 -08:00
2017-02-27 18:43:45 -08:00
2017-02-27 18:43:45 -08:00
2017-02-27 18:43:45 -08:00
2017-01-26 08:34:19 +01:00
2017-02-16 19:34:01 -05:00
2016-12-21 06:59:13 -02:00
2017-02-10 14:43:00 -05:00
2017-01-30 10:14:28 -05:00
2017-03-02 20:51:15 -05:00
2017-02-02 04:36:12 +13:00
2017-02-03 15:21:21 -05:00
2017-01-10 14:05:11 -05:00
2017-02-03 15:21:21 -05:00
2017-02-22 16:09:04 -05:00
2017-02-03 15:16:45 -05:00
2017-01-17 15:22:05 -05:00
2017-02-23 10:46:07 -05:00
2017-02-19 18:15:12 -05:00
2017-03-06 17:10:20 -08:00
2017-03-02 13:53:13 -08:00
2017-02-07 18:16:45 +01:00
2017-02-17 12:27:37 +01:00
2017-02-14 22:18:05 -05:00
2017-01-31 08:32:13 -07:00
2017-02-23 10:46:08 -05:00
2017-03-13 15:29:22 -07:00
2017-01-17 14:38:43 -05:00
2017-02-24 17:46:56 -08:00
2017-02-19 18:15:12 -05:00
2017-02-19 18:15:12 -05:00
2017-02-03 15:21:21 -05:00
2017-02-20 11:13:37 -05:00
2017-02-23 21:51:39 +01:00
2017-01-09 16:07:41 -05:00
2017-02-09 15:17:30 +01:00
2017-02-03 14:35:43 +13:00
2017-02-09 22:59:34 -05:00
2017-03-09 13:22:28 -08:00
2017-02-15 11:56:07 -06:00
2017-02-17 12:08:05 -05:00
2017-03-15 15:20:27 -07:00
2017-01-24 13:44:28 -05:00
2017-02-23 10:55:08 -05:00
2017-01-18 10:43:15 -08:00
2017-03-13 15:29:22 -07:00
2017-03-12 23:22:24 -07:00
2017-02-14 19:47:16 -07:00
2017-01-16 14:47:21 -05:00
2017-02-23 10:55:08 -05:00
2017-02-23 10:55:08 -05:00
2017-01-12 11:51:25 +01:00
2017-02-10 15:13:26 +01:00
2017-02-09 11:43:15 -08:00
2017-01-09 16:07:41 -05:00
2017-01-09 16:07:38 -05:00
2017-02-02 23:34:19 -05:00
2017-03-02 20:51:15 -05:00
2017-02-18 21:44:59 -08:00
2017-01-29 19:17:23 -05:00
2017-01-10 18:31:55 -08:00
2017-01-20 12:10:17 -05:00
2016-12-16 00:13:39 +02:00
2017-02-02 21:58:02 -05:00
2017-03-09 17:01:09 -08:00
2016-12-16 00:13:38 +02:00
2017-02-13 14:33:56 -02:00
2017-02-27 16:31:23 +02:00
2017-02-27 20:54:03 +02:00
2016-12-16 00:13:41 +02:00