From: Tomasz Dzieciol Date: Mon, 29 May 2023 14:01:47 +0000 (+0200) Subject: igb: remove TCP ACK detection X-Git-Tag: pull-xenfv-stable-20231106~92^2~12 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2959c51dded9f5d6f35713655340f219adab5e07;p=users%2Fdwmw2%2Fqemu.git igb: remove TCP ACK detection TCP ACK detection is no longer present in igb. Signed-off-by: Tomasz Dzieciol Reviewed-by: Akihiko Odaki Tested-by: Akihiko Odaki Signed-off-by: Jason Wang --- diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index 389eef1549..a83e4aa038 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -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;