search for: virtio_net_f_guest_hdrlen

Displaying 8 results from an estimated 8 matches for "virtio_net_f_guest_hdrlen".

2023 Feb 21
4
[patch net-next v2] net: virtio_net: implement exact header length guest feature
From: Jiri Pirko <jiri at nvidia.com> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when set implicates that the driver provides the exact size of the header. Quoting the original virtio spec: "hdr_len is a hint to the device as to how much of the header needs to be kept to copy into each packet" "a hint" might not be clear for the reader what does it...
2023 Feb 17
1
[patch net-next] net: virtio_net: implement exact header length guest feature
From: Jiri Pirko <jiri at nvidia.com> virtio_net_hdr_from_skb() fills up hdr_len to skb_headlen(skb). Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when set implicates that the driver provides the exact size of the header. The driver already complies to fill the correct value. Introduce the feature and advertise it. Signed-off-by: Jiri Pirko <jiri at nvidia.com> --- drivers/net/virtio_net.c | 6 ++++-- include/uapi/linux/...
2023 Feb 17
1
[patch net-next] net: virtio_net: implement exact header length guest feature
...redhat.com wrote: > >On Fri, Feb 17, 2023 at 01:15:47PM +0100, Jiri Pirko wrote: > >> From: Jiri Pirko <jiri at nvidia.com> > >> > >> virtio_net_hdr_from_skb() fills up hdr_len to skb_headlen(skb). > >> > >> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when > >> set implicates that the driver provides the exact size of the header. > >> > >> The driver already complies to fill the correct value. Introduce the > >> feature and advertise it. > >> > >> Signed-off-by: Jiri Pirko <jiri at...
2023 Feb 20
3
[patch net-next] net: virtio_net: implement exact header length guest feature
...23 at 01:15:47PM +0100, Jiri Pirko wrote: > >> >> From: Jiri Pirko <jiri at nvidia.com> > >> >> > >> >> virtio_net_hdr_from_skb() fills up hdr_len to skb_headlen(skb). > >> >> > >> >> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when > >> >> set implicates that the driver provides the exact size of the header. > >> >> > >> >> The driver already complies to fill the correct value. Introduce the > >> >> feature and advertise it. > >> >> > &...
2023 Feb 20
2
[patch net-next] net: virtio_net: implement exact header length guest feature
...00, Jiri Pirko wrote: >> >> >> From: Jiri Pirko <jiri at nvidia.com> >> >> >> >> >> >> virtio_net_hdr_from_skb() fills up hdr_len to skb_headlen(skb). >> >> >> >> >> >> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when >> >> >> set implicates that the driver provides the exact size of the header. >> >> >> >> >> >> The driver already complies to fill the correct value. Introduce the >> >> >> feature and advertise it. >> >&...
2023 Feb 22
1
[patch net-next v3] net: virtio_net: implement exact header length guest feature
From: Jiri Pirko <jiri at nvidia.com> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when which when set implicates that device benefits from knowing the exact size of the header. For compatibility, to signal to the device that the header is reliable driver also needs to set this feature. Without this feature set by driver, device has to figure out the header size itself. Qu...
2023 Feb 21
1
[patch net-next] net: virtio_net: implement exact header length guest feature
...Pirko wrote: >>>>>>> From: Jiri Pirko <jiri at nvidia.com> >>>>>>> >>>>>>> virtio_net_hdr_from_skb() fills up hdr_len to skb_headlen(skb). >>>>>>> >>>>>>> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when >>>>>>> set implicates that the driver provides the exact size of the header. >>>>>>> >>>>>>> The driver already complies to fill the correct value. Introduce the >>>>>>> feature and advertise it. >&gt...
2023 Feb 22
1
[patch net-next v2] net: virtio_net: implement exact header length guest feature
...; >Jiri Pirko wrote: > >> Tue, Feb 21, 2023 at 04:11:53PM CET, willemdebruijn.kernel at gmail.com wrote: > >> >Jiri Pirko wrote: > >> >> From: Jiri Pirko <jiri at nvidia.com> > >> >> > >> >> Virtio spec introduced a feature VIRTIO_NET_F_GUEST_HDRLEN which when > >> >> set implicates that the driver provides the exact size of the header. > >> >> > >> >> Quoting the original virtio spec: > >> >> "hdr_len is a hint to the device as to how much of the header needs to > >> &...