diff options
author | Eric Dumazet <edumazet@google.com> | 2020-05-02 19:54:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-03 15:50:45 -0700 |
commit | c288b0ca86a0a49ad450cf2d76a9a70c2ca9e43f (patch) | |
tree | 7e8a7d42bd7420c3b372becdf0173a5e78355c4b /scripts/bpf_helpers_doc.py | |
parent | 82a0aa53b520edf50e08bad347d87d898de414eb (diff) |
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 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions