Read the whole thread, 19 messages PreviousNext Re: [PATCH bpf-next V1 3/6] bpf: add BPF-helper for reading MTU from net_device via ifindex FromDavid Ahern <hidden> Date2020-10-07 16:35:44 Also inbpfReply toMaciej Żenczykowski, 2020-10-07 On 10/6/20 6:24 PM, Maciej Żenczykowski wrote: FYI: It would be nice to have a similar function to return a device's L2 header size (ie. 14 for ethernet) and/or hwtype. Why does that need to be looked up via a helper? It's a static number for a device and can plumbed to a program in a number of ways.
Keyboard shortcuts hback out one level jnext message in thread / next series-diff position kprevious message in thread / previous series-diff position ldrill in Escclose help / fold thread tree ?toggle this help