Re: [PATCH bpf-next v5 12/13] selftests/bpf: Add a bpf fq qdisc to selftest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 13, 2025 at 12:03 PM Amery Hung <ameryhung@xxxxxxxxx> wrote:
>
> From: Amery Hung <amery.hung@xxxxxxxxxxxxx>
>
> This test implements a more sophisticated qdisc using bpf. The bpf fair-
> queueing (fq) qdisc gives each flow an equal chance to transmit data. It
> also respects the timestamp of skb for rate limiting.
>
> Signed-off-by: Amery Hung <amery.hung@xxxxxxxxxxxxx>
> ---
>  .../selftests/bpf/prog_tests/bpf_qdisc.c      |  24 +
>  .../selftests/bpf/progs/bpf_qdisc_fq.c        | 718 ++++++++++++++++++

On the look of it, it's a pretty functional qdisc.
Since bpftool supports loading st_ops,
please list commands bpftool and tc the one can enter
to use this qdisc without running selftests.

Probably at the comment section at the top of bpf_qdisc_fq.c

It also needs SPDX and copyright.

pw-bot: cr





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux