aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_u32.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-09-15 13:50:44 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-20 13:53:34 -0700
commit25becba6290bc34e369a0e1a76db9ca88bad87aa (patch)
tree6d2b1cf5067af69840f9758353b193e950ab2baa /net/sched/cls_u32.c
parentfa65edde5e490988bfb8945317dd8e546bd7e7ab (diff)
downloadlinux-25becba6290bc34e369a0e1a76db9ca88bad87aa.tar.gz
net/sched: taprio: stop going through private ops for dequeue and peek
Since commit 13511704f8d7 ("net: taprio offload: enforce qdisc to netdev queue mapping"), taprio_dequeue_soft() and taprio_peek_soft() are de facto the only implementations for Qdisc_ops :: dequeue and Qdisc_ops :: peek that taprio provides. This is because in full offload mode, __dev_queue_xmit() will select a txq->qdisc which is never root taprio qdisc. So if nothing is enqueued in the root qdisc, it will never be run and nothing will get dequeued from it. Therefore, we can remove the private indirection from taprio, and always point Qdisc_ops :: dequeue to taprio_dequeue_soft (now simply named taprio_dequeue) and Qdisc_ops :: peek to taprio_peek_soft (now simply named taprio_peek). Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/cls_u32.c')
0 files changed, 0 insertions, 0 deletions