diff options
author | 2020-05-02 19:54:21 -0700 | |
---|---|---|
committer | 2020-05-03 15:50:45 -0700 | |
commit | c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f (patch) | |
tree | 7e8a7d42bd7420c3b372becdf0173a5e78355c4b /drivers/net/phy/phy.c | |
parent | net_sched: sch_fq: use bulk freeing in fq_gc() (diff) | |
download | wireguard-linux-c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f.tar.xz wireguard-linux-c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f.zip |
net_sched: sch_fq: do not call fq_peek() twice per packet
This refactors the code to not call fq_peek() from fq_dequeue_head()
since the caller can provide the skb.
Also rename fq_dequeue_head() to fq_dequeue_skb() because 'head' is
a bit vague, given the skb could come from t_root rb-tree.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions