summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2023-02-04 16:52:59 +0300
committerDavid S. Miller <davem@davemloft.net>2023-02-06 13:06:44 +0300
commit19278d76915d6b28269e1af1d7b6754c16576572 (patch)
treedeb96fb48b3cb4988feb369e93c8db70e084d423 /samples
parentd7045f520a74eac28d54fa96cc020c5344baea98 (diff)
downloadlinux-19278d76915d6b28269e1af1d7b6754c16576572.tar.xz
net/sched: mqprio: allow offloading drivers to request queue count validation
mqprio_parse_opt() proudly has a comment: /* If hardware offload is requested we will leave it to the device * to either populate the queue counts itself or to validate the * provided queue counts. */ Unfortunately some device drivers did not get this memo, and don't validate the queue counts, or populate them. In case drivers don't want to populate the queue counts themselves, just act upon the requested configuration, it makes sense to introduce a tc capability, and make mqprio query it, so they don't have to do the validation themselves. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions