Re: [PATCH v16 bpf-next 09/20] bpf: introduce BPF_F_XDP_MB flag in prog_flags loading the ebpf program

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

 



> Lorenzo Bianconi <lorenzo@xxxxxxxxxx> writes:
> 
> > Introduce BPF_F_XDP_MB and the related field in bpf_prog_aux in order to
> > notify the driver the loaded program support xdp multi-buffer.
> 
> We should also add some restrictions in the BPF core. In particular,
> tail call, cpumap and devmap maps should not be able to mix multi-buf
> and non-multibuf programs.

ack. How can we detect if a cpumap or a devmap is running in XDP multi-buff
mode in order to reject loading the legacy XDP program?
Should we just discard the XDP multi-buff in this case?

Lorenzo

> 
> -Toke
> 

Attachment: signature.asc
Description: PGP signature


[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