aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-11-08 16:19:48 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-08 16:19:48 -0800
commit3ed3857011cf249e9e1e36abc77afd2e97de5994 (patch)
tree438bdeb87c63b301271e3666d4beeba899d6fa0b /drivers/net
parentMerge branch 'net-phy-improve-and-simplify-phylib-state-machine' (diff)
parentnet: sched: prio: delay destroying child qdiscs on change (diff)
downloadlinux-dev-3ed3857011cf249e9e1e36abc77afd2e97de5994.tar.xz
linux-dev-3ed3857011cf249e9e1e36abc77afd2e97de5994.zip
Merge branch 'net-sched-prepare-for-more-Qdisc-offloads'
Jakub Kicinski says: ==================== net: sched: prepare for more Qdisc offloads This series refactors the "switchdev" Qdisc offloads a little. We have a few Qdiscs which can be fully offloaded today to the forwarding plane of switching devices. First patch adds a helper for handing statistic dumps, the code seems to be copy pasted between PRIO and RED. Second patch removes unnecessary parameter from RED offload function. Third patch makes the MQ offload use the dump helper which helps it behave much like PRIO and RED when it comes to the TCQ_F_OFFLOADED flag. Patch 4 adds a graft helper, similar to the dump helper. Patch 5 is unrelated to offloads, qdisc_graft() code seemed ripe for a small refactor - no functional changes there. Last two patches move the qdisc_put() call outside of the sch_tree_lock section for RED and PRIO. The child Qdiscs will get removed from the hierarchy under the lock, but having the put (and potentially destroy) called outside of the lock helps offload which may choose to sleep, and it should generally lower the Qdisc change impact. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions