diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-07 19:42:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 19:42:37 +0300 |
commit | 71feeef678056a640466a6d1faee3a7bcbbccab9 (patch) | |
tree | 7e49037950eb4ac5cbf296134e5a0e3b7fe456ac /Documentation/cgroup-v1 | |
parent | 1afec92be0d7b516a79f4c548a81d17460c8ba73 (diff) | |
parent | de4784ca030fed17d527dbb2bb4e21328b12de94 (diff) | |
download | linux-71feeef678056a640466a6d1faee3a7bcbbccab9.tar.xz |
Merge branch 'net-sched-summer-cleanup-part-2-ndo_setup_tc'
Jiri Pirko says:
====================
net: sched: summer cleanup part 2, ndo_setup_tc
This patchset focuses on ndo_setup_tc and its args.
Currently there are couple of things that do not make much sense.
The type is passed in struct tc_to_netdev, but as it is always
required, should be arg of the ndo. Other things are passed as args
but they are only relevant for cls offloads and not mqprio. Therefore,
they should be pushed to struct. As the tc_to_netdev struct in the end
is just a container of single pointer, we get rid of it and pass the
struct according to type. So in the end, we have:
ndo_setup_tc(dev, type, type_data_struct)
There are couple of cosmetics done on the way to make things smooth.
Also, reported error is consolidated to eopnotsupp in case the
asked offload is not supported.
v1->v2:
- added forgotten hns3pf bits
====================
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/cgroup-v1')
0 files changed, 0 insertions, 0 deletions