[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat hand
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling |
Date: |
Mon, 27 Apr 2020 07:32:06 -0400 |
On Mon, Apr 27, 2020 at 12:24:15PM +0200, Cornelia Huck wrote:
> VIRTIO_NET_HDR_F_RSC_INFO is available in the headers now.
>
> Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
> ---
> hw/net/virtio-net.c | 8 --------
> 1 file changed, 8 deletions(-)
>
> diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
> index e85d902588b3..7449570c7123 100644
> --- a/hw/net/virtio-net.c
> +++ b/hw/net/virtio-net.c
> @@ -77,14 +77,6 @@
> tso/gso/gro 'off'. */
> #define VIRTIO_NET_RSC_DEFAULT_INTERVAL 300000
>
> -/* temporary until standard header include it */
> -#if !defined(VIRTIO_NET_HDR_F_RSC_INFO)
> -
> -#define VIRTIO_NET_HDR_F_RSC_INFO 4 /* rsc_ext data in csum_ fields */
> -#define VIRTIO_NET_F_RSC_EXT 61
> -
> -#endif
> -
> static inline __virtio16 *virtio_net_rsc_ext_num_packets(
> struct virtio_net_hdr *hdr)
> {
> --
> 2.21.1
- [PATCH 0/3] headers update and virtio-net fixup, Cornelia Huck, 2020/04/27
- [PATCH 1/3] virtio-net: fix rsc_ext compat handling, Cornelia Huck, 2020/04/27
- [PATCH 2/3] linux-headers: update against Linux 5.7-rc3, Cornelia Huck, 2020/04/27
- [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Cornelia Huck, 2020/04/27
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling,
Michael S. Tsirkin <=
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Jason Wang, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Cornelia Huck, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Jason Wang, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Cornelia Huck, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Yuri Benditovich, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Jason Wang, 2020/04/28
- Re: [PATCH 3/3] virtio-net: remove VIRTIO_NET_HDR_F_RSC_INFO compat handling, Jason Wang, 2020/04/28
Re: [PATCH 0/3] headers update and virtio-net fixup, Michael S. Tsirkin, 2020/04/27
Re: [PATCH 0/3] headers update and virtio-net fixup, Cornelia Huck, 2020/04/28