Re: [PATCH bpf-next 0/3] move AF_XDP APIs to libxdp

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

 



On Tue, Jun 7, 2022 at 2:32 AM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote:
>
> Hangbin Liu <liuhangbin@xxxxxxxxx> writes:
>
> > libbpf APIs for AF_XDP are deprecated starting from v0.7.
> > Let's move to libxdp.
> >
> > The first patch removed the usage of bpf_prog_load_xattr(). As we
> > will remove the GCC diagnostic declaration in later patches.
>
> Kartikeya started working on moving some of the XDP-related samples into
> the xdp-tools repo[0]; maybe it's better to just include these AF_XDP
> programs into that instead of adding a build-dep on libxdp to the kernel
> samples?
>

Agree. Meanwhile it's probably better to make samples/bpf just compile
and use xsk.{c,h} from selftests/bpf.

> -Toke
>
> [0] https://github.com/xdp-project/xdp-tools/pull/158
>




[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