Re: [PATCH bpf-next] net: xdp: introduce XDP_PACKET_HEADROOM_MIN for veth and generic-xdp

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

 



On Mon, 21 Mar 2022 13:17:51 +0100 Lorenzo Bianconi wrote:
> Do you mean set dev->needed_headroom based on XDP_HEADROOM if the device is
> running in xdp mode, right? I guess this is doable for veth, but what is
> the right value for generic-xdp?

#define XDP_PACKET_HEADROOM	256

What am I missing? :)



[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