diff options
| author | Vladimir Oltean <[email protected]> | 2023-02-07 13:54:29 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-02-08 09:48:52 +0000 |
| commit | 4c22942734f0814d3c928c25a80f48df0a6ce45e (patch) | |
| tree | ee50c600a3c788f97e38212e6cc4a2d38712fc16 /drivers/net/ethernet/intel/igc | |
| parent | net/sched: taprio: refactor one skb dequeue from TXQ to separate function (diff) | |
| download | kernel-4c22942734f0814d3c928c25a80f48df0a6ce45e.tar.gz kernel-4c22942734f0814d3c928c25a80f48df0a6ce45e.zip | |
net/sched: taprio: avoid calling child->ops->dequeue(child) twice
Simplify taprio_dequeue_from_txq() by noticing that we can goto one call
earlier than the previous skb_found label. This is possible because
we've unified the treatment of the child->ops->dequeue(child) return
call, we always try other TXQs now, instead of abandoning the root
dequeue completely if we failed in the peek() case.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Kurt Kanzenbach <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
