Displaying 10 results from an estimated 10 matches for "virtio_net_f_host_uso".
Did you mean:
virtio_net_f_host_ufo
2023 Feb 17
1
[patch net-next] net: virtio_net: implement exact header length guest feature
...EATURES,
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index b4062bed186a..12c1c9699935 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -61,6 +61,7 @@
#define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
#define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
#define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
+#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
#define VIRTIO_NET_F_RSS 60 /* Supports RSS RX steering */
#define VIRTIO_NET_F_RSC_EXT 61 /* extended coalesc...
2023 Feb 21
4
[patch net-next v2] net: virtio_net: implement exact header length guest feature
...EATURES,
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index b4062bed186a..12c1c9699935 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -61,6 +61,7 @@
#define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
#define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
#define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
+#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
#define VIRTIO_NET_F_RSS 60 /* Supports RSS RX steering */
#define VIRTIO_NET_F_RSC_EXT 61 /* extended coalesc...
2023 Feb 17
1
[patch net-next] net: virtio_net: implement exact header length guest feature
...t.h
> >> index b4062bed186a..12c1c9699935 100644
> >> --- a/include/uapi/linux/virtio_net.h
> >> +++ b/include/uapi/linux/virtio_net.h
> >> @@ -61,6 +61,7 @@
> >> #define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
> >> #define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
> >> #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
> >> +#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
> >> #define VIRTIO_NET_F_RSS 60 /* Supports RSS RX steering */
> >>...
2023 Feb 20
3
[patch net-next] net: virtio_net: implement exact header length guest feature
...99935 100644
> >> >> --- a/include/uapi/linux/virtio_net.h
> >> >> +++ b/include/uapi/linux/virtio_net.h
> >> >> @@ -61,6 +61,7 @@
> >> >> #define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
> >> >> #define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
> >> >> #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
> >> >> +#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
> >> >> #define VIRTIO_NET_F_RSS 60 /* Supports RSS...
2023 Feb 20
2
[patch net-next] net: virtio_net: implement exact header length guest feature
...; >> >> --- a/include/uapi/linux/virtio_net.h
>> >> >> +++ b/include/uapi/linux/virtio_net.h
>> >> >> @@ -61,6 +61,7 @@
>> >> >> #define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
>> >> >> #define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
>> >> >> #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
>> >> >> +#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
>> >> >> #define VIRTIO_NET_F_RSS 60 /* S...
2023 Feb 22
1
[patch net-next v3] net: virtio_net: implement exact header length guest feature
...EATURES,
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index b4062bed186a..12c1c9699935 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -61,6 +61,7 @@
#define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
#define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
#define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
+#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
#define VIRTIO_NET_F_RSS 60 /* Supports RSS RX steering */
#define VIRTIO_NET_F_RSC_EXT 61 /* extended coalesc...
2023 Feb 21
1
[patch net-next] net: virtio_net: implement exact header length guest feature
...;>> --- a/include/uapi/linux/virtio_net.h
>>>>>>> +++ b/include/uapi/linux/virtio_net.h
>>>>>>> @@ -61,6 +61,7 @@
>>>>>>> #define VIRTIO_NET_F_GUEST_USO6 55 /* Guest can handle USOv6 in. */
>>>>>>> #define VIRTIO_NET_F_HOST_USO 56 /* Host can handle USO in. */
>>>>>>> #define VIRTIO_NET_F_HASH_REPORT 57 /* Supports hash report */
>>>>>>> +#define VIRTIO_NET_F_GUEST_HDRLEN 59 /* Guest provides the exact hdr_len value. */
>>>>>>> #define VIRTIO_NET_F_RSS...
2023 Apr 30
1
[RFC PATCH net 2/3] virtio-net: allow usage of vrings smaller than MAX_SKB_FRAGS + 2
...info *vi)
+{
+ return virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_TSO4) ||
+ virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_TSO6) ||
+ virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_ECN) ||
+ virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_UFO) ||
+ virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_USO);
+}
+
static void virtnet_set_big_packets(struct virtnet_info *vi, const int mtu)
{
bool guest_gso = virtnet_check_guest_gso(vi);
@@ -3876,6 +3901,112 @@ static void virtnet_set_big_packets(struct virtnet_info *vi, const int mtu)
}
}
+static u16 virtnet_calc_max_descs(struct virtnet_info...
2023 Apr 30
1
[RFC PATCH net 2/3] virtio-net: allow usage of vrings smaller than MAX_SKB_FRAGS + 2
...n virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_TSO4) ||
> + virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_TSO6) ||
> + virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_ECN) ||
> + virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_UFO) ||
> + virtio_has_feature(vi->vdev, VIRTIO_NET_F_HOST_USO);
> +}
> +
> static void virtnet_set_big_packets(struct virtnet_info *vi, const int mtu)
> {
> bool guest_gso = virtnet_check_guest_gso(vi);
> @@ -3876,6 +3901,112 @@ static void virtnet_set_big_packets(struct virtnet_info *vi, const int mtu)
> }
> }
>
> +stat...
2023 Apr 30
5
[RFC PATCH net 0/3] virtio-net: allow usage of small vrings
At the moment, if a virtio network device uses vrings with less than
MAX_SKB_FRAGS + 2 entries, the device won't be functional.
The following condition vq->num_free >= 2 + MAX_SKB_FRAGS will always
evaluate to false, leading to TX timeouts.
This patchset attempts this fix this bug, and to allow small rings down
to 4 entries.
The first patch introduces a new mechanism in virtio core -