On 2020/4/27 下午6:24, Cornelia Huck wrote:
VIRTIO_NET_HDR_F_RSC_INFO is available in the headers now.
Signed-off-by: Cornelia Huck <coh...@redhat.com>
---
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)
{
I think we should not keep the those tricky num_packets/dup_acks.
Thanks