diff options
| author | Heng Qi <[email protected]> | 2023-01-14 08:22:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-01-16 11:15:48 +0000 |
| commit | ef75cb51f13941cf7633227ade43c4d86ecbc336 (patch) | |
| tree | 926655e6aadf855c3dfffe75edc4acd4258b9d41 /net/unix/af_unix.c | |
| parent | virtio-net: update bytes calculation for xdp_frame (diff) | |
| download | kernel-ef75cb51f13941cf7633227ade43c4d86ecbc336.tar.gz kernel-ef75cb51f13941cf7633227ade43c4d86ecbc336.zip | |
virtio-net: build xdp_buff with multi buffers
Support xdp for multi buffer packets in mergeable mode.
Putting the first buffer as the linear part for xdp_buff,
and the rest of the buffers as non-linear fragments to struct
skb_shared_info in the tailroom belonging to xdp_buff.
Let 'truesize' return to its literal meaning, that is, when
xdp is set, it includes the length of headroom and tailroom.
Signed-off-by: Heng Qi <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
