]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
igb: remove TCP ACK detection
authorTomasz Dzieciol <t.dzieciol@partner.samsung.com>
Mon, 29 May 2023 14:01:47 +0000 (16:01 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 18 Sep 2023 06:36:13 +0000 (14:36 +0800)
TCP ACK detection is no longer present in igb.

Signed-off-by: Tomasz Dzieciol <t.dzieciol@partner.samsung.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/igb_core.c

index 389eef1549857bcae77660a635288a8af2a62586..a83e4aa0387051a14f8456c32bb84f6a2f5b0445 100644 (file)
@@ -1327,11 +1327,6 @@ igb_build_rx_metadata(IGBCore *core,
             trace_e1000e_rx_metadata_ip_id(*ip_id);
     }
 
-    if (l4hdr_proto == ETH_L4_HDR_PROTO_TCP && net_rx_pkt_is_tcp_ack(pkt)) {
-        *status_flags |= E1000_RXD_STAT_ACK;
-        trace_e1000e_rx_metadata_ack();
-    }
-
     if (pkt_info) {
         *pkt_info = rss_info->enabled ? rss_info->type : 0;