From nobody Wed Feb 11 02:55:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1682223619; cv=none; d=zohomail.com; s=zohoarc; b=jox2cT07AefdhGBZwiQBKW3AsUnnBBW8yJW6tZ1u+cqLDzi5rgdgDOLJY6RaO4zsti8emCPg8YO4A9zmztlDvmIqH45q96iF8Mt7f4aLXYLA5s62KNw43R4A/iyYCwViEq/tRseLygCBENiC6jftGyN2tnFmzlTJWmFTGqIN0h8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682223619; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject; bh=s7PZIm04ooSj6Ki8OsJLg23id0yLR39T0g3+u0vz1Wk=; b=i+OJODQ6kVhnG/FjKavnSFD2uPbfa1gyv72nUoFE2nrWx2NtkEKjfr8xcf3BEAlTUFKG7pwhG47ygSoqAMTq6olM9pXHYRpVeNjTKZ1zz9GrEu2Hu/YVCNOXPlfaA7fF6ncJogwklT0S74EhQLM17x6zNFzC18bgn7IjUMHkJ/s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1682223619889722.4470264568498; Sat, 22 Apr 2023 21:20:19 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqRCG-0001vV-FV; Sun, 23 Apr 2023 00:19:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqRCD-0001vN-Vp for qemu-devel@nongnu.org; Sun, 23 Apr 2023 00:19:29 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqRCC-0000oR-FY for qemu-devel@nongnu.org; Sun, 23 Apr 2023 00:19:29 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5191796a483so2638585a12.0 for ; Sat, 22 Apr 2023 21:19:28 -0700 (PDT) Received: from alarm.flets-east.jp ([2400:4050:a840:1e00:4457:c267:5e09:481b]) by smtp.gmail.com with ESMTPSA id f1-20020a170902ff0100b001a5059861adsm4596996plj.224.2023.04.22.21.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Apr 2023 21:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1682223567; x=1684815567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s7PZIm04ooSj6Ki8OsJLg23id0yLR39T0g3+u0vz1Wk=; b=L5KEy90k4bC0P1voYkM64QUXy0FQIRSock0sRoUD/9yJZS5QuJYYirIi9mOlh0KggL ew7/j4vF9/ueDApSVd/QLj+0pwiGZzjbqVYQnLIfY29BPv7QgIaKfXzl1T5PtCP0g13O xDSsI508R+6Da4bRAnEma/ZI6fEYoE7IhNMNQBvqvHQbkiYfiNObNYTaK/S/W10p7Ssc XaRHI69xpPJlkhTcn6xfKbI7pQX7kYWks3NtA1tI0Pm+V9bVUP2NfSkYa5HCxrys+MI9 3XTAIgvmYCOYJbgsNyuUe2ZCKgFnhRvSqC8/j+Uw34nQ+t22swbPs5AN3B0All8byMp/ 4iGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682223567; x=1684815567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s7PZIm04ooSj6Ki8OsJLg23id0yLR39T0g3+u0vz1Wk=; b=fep+pRMdZcVm89VeJVA02l1ThwTurgcuzZWUIB03oiUxtY8sC40dxoy18YXhQU1c3C f75XRUWPwccpPwzxGyg5UsQg1WtMIfx1HpIqXfMyHLHrRnbAv88Y52e6eYBwKiy2Tl8m wYTcZsEiXn+LUyyCKxVGg0+UCJA4aepWqJ594ZUtPOD2qRMMezVpOnfJxDCMddN9hBll ZhTEGKtEtZ9TRuVwyLH1IKgEdV79j1Oid19w8uY/sqO1FEWlR/HLjtfipRO/s57XjXBE xyQAG7RmivL4qm9O0MojrjV+00PkpsVBZTZY86oWA9556DTmMGy/GqvFms/XeMVxJUSG 8Vjw== X-Gm-Message-State: AAQBX9ddijEIToOdy82tTsSJaERsVz9DbrY10x1JY1vNLb2ZEi8WlO0t xGaVMCa5xWWDjRAc0kLZ+DJTPA== X-Google-Smtp-Source: AKy350a2/iDgXAyz2I15duRVzNF/RfWUe2X5yUPTIx5R7s1hELle6OJ1gajZSlNCNTiUKs+65j3zcA== X-Received: by 2002:a17:902:e54e:b0:1a3:d5af:9b6f with SMTP id n14-20020a170902e54e00b001a3d5af9b6fmr10620832plf.19.1682223567268; Sat, 22 Apr 2023 21:19:27 -0700 (PDT) From: Akihiko Odaki To: Cc: Sriram Yagnaraman , Jason Wang , Dmitry Fleytman , "Michael S . Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , Cleber Rosa , Laurent Vivier , Paolo Bonzini , qemu-devel@nongnu.org, Tomasz Dzieciol , Akihiko Odaki Subject: [PATCH v3 13/47] hw/net/net_tx_pkt: Remove net_rx_pkt_get_l4_info Date: Sun, 23 Apr 2023 13:17:59 +0900 Message-Id: <20230423041833.5302-14-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230423041833.5302-1-akihiko.odaki@daynix.com> References: <20230423041833.5302-1-akihiko.odaki@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2607:f8b0:4864:20::52e; envelope-from=akihiko.odaki@daynix.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20221208.gappssmtp.com) X-ZM-MESSAGEID: 1682223621634100013 Content-Type: text/plain; charset="utf-8" This function is not used. Signed-off-by: Akihiko Odaki --- hw/net/net_rx_pkt.h | 9 --------- hw/net/net_rx_pkt.c | 5 ----- 2 files changed, 14 deletions(-) diff --git a/hw/net/net_rx_pkt.h b/hw/net/net_rx_pkt.h index a06f5c2675..ce8dbdb284 100644 --- a/hw/net/net_rx_pkt.h +++ b/hw/net/net_rx_pkt.h @@ -119,15 +119,6 @@ eth_ip6_hdr_info *net_rx_pkt_get_ip6_info(struct NetRx= Pkt *pkt); */ eth_ip4_hdr_info *net_rx_pkt_get_ip4_info(struct NetRxPkt *pkt); =20 -/** - * fetches L4 header analysis results - * - * Return: pointer to analysis results structure which is stored in inter= nal - * packet area. - * - */ -eth_l4_hdr_info *net_rx_pkt_get_l4_info(struct NetRxPkt *pkt); - typedef enum { NetPktRssIpV4, NetPktRssIpV4Tcp, diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 63be6e05ad..6125a063d7 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -236,11 +236,6 @@ eth_ip4_hdr_info *net_rx_pkt_get_ip4_info(struct NetRx= Pkt *pkt) return &pkt->ip4hdr_info; } =20 -eth_l4_hdr_info *net_rx_pkt_get_l4_info(struct NetRxPkt *pkt) -{ - return &pkt->l4hdr_info; -} - static inline void _net_rx_rss_add_chunk(uint8_t *rss_input, size_t *bytes_written, void *ptr, size_t size) --=20 2.40.0