Thread (26 messages) flat view 26 messages, 5 authors, 2021-06-22

Re: [PATCH net-next v4 2/3] virtio_net: add optional flow dissection in virtio_net_hdr_to_skb

From: Alexei Starovoitov <hidden>
Date: 2021-06-10 04:20:38

On Wed, Jun 9, 2021 at 9:13 PM Jason Wang [off-list ref] wrote:
So I wonder why not simply use helpers to access the vnet header like
how tcp-bpf access the tcp header?
Short answer - speed.
tcp-bpf accesses all uapi and non-uapi structs directly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help