From nobody Wed Feb 11 08:40:12 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=1681472994; cv=none; d=zohomail.com; s=zohoarc; b=L0dKknPj9gS2Kmi310PJNsKqbDtGQhI8lWfYgIZO4ldSfiUS5w5J27QuRYpcQqyfJ5dz+kpTCEBI4Te0QA2oQjRZ1mqTSDcUMdrdrSi6BBSU/tvC9LqsSnoGdeM0XZuNDGOWBGRCdjZeUK5p/LM2dV8RP649DYH3y5WTsVXtmJ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681472994; 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=y5nszOMqQUezol6FiHYuWrZcdMW6lJNLoWyiDevlVfQ=; b=nN4hBFQIfjxfbpeM+1atVf+KeoN0PbjlfQmYYZ5bsH6/wfgcaqppgnW/muQm31M/2CcGaCoqLd+SNUQuHSAX9WsVXbgMPH0Hkv5L7SdrPEy6niNDu/WZT0ks42hNyPnXX474BcIOrGfIkZqMg4inF/mADYAcWY0678oyF+icOGg= 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 1681472993928734.6858830151282; Fri, 14 Apr 2023 04:49:53 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnHld-0000hW-DC; Fri, 14 Apr 2023 07:39:01 -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 1pnHla-0000bV-PI for qemu-devel@nongnu.org; Fri, 14 Apr 2023 07:38:59 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnHlY-0001PG-RJ for qemu-devel@nongnu.org; Fri, 14 Apr 2023 07:38:58 -0400 Received: by mail-pj1-x102f.google.com with SMTP id y11-20020a17090a600b00b0024693e96b58so17242813pji.1 for ; Fri, 14 Apr 2023 04:38:56 -0700 (PDT) Received: from alarm.flets-east.jp ([2400:4050:a840:1e00:4457:c267:5e09:481b]) by smtp.gmail.com with ESMTPSA id u19-20020a170902a61300b001a20b31a23fsm2889249plq.293.2023.04.14.04.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Apr 2023 04:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1681472335; x=1684064335; 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=y5nszOMqQUezol6FiHYuWrZcdMW6lJNLoWyiDevlVfQ=; b=JuTnlcb+s7dNqsqfPxlOYdxFyRYFCyHVGrWK1aTf9LsOffawWgBWm8iMlcphQmBDNR p/qNDsrqw4xM68pDD9QdKOA8LBupcsbAtPz5D+hpG/ZXjOXi6TKQVrjuDssmEy9aPMxH niFblZMfrMvDBUv6S9PmYFD1Xjq0tJxw4/iUP1CoBKYsbFXzFadBkevCxHUF9gLrM2Iw hWoZOUa5UK1kNTSSSp35MUsr2O16XNWvWYsrZHAzVvoouXIg1VagJpvbeOIdgW3P/mvp NIRkDFp4mj4c8CIKnpQifLH0yqxyxr5trgSD/0sX02ke9mG7qlj93bzPiBoEifSuxX2j 9IXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681472335; x=1684064335; 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=y5nszOMqQUezol6FiHYuWrZcdMW6lJNLoWyiDevlVfQ=; b=gWtxTmM2p0KEqEa4ZBS5RygyiThKt6dJ58lZ48gcyLO4JTnVKkhmvn2ZrMLs1P8JWO 8blVQ8DD3jCIAtHwZ+RHB0dBBHZzdMjS30tGnVg7QtS3ckiHq+5revEoYBiYcHeLPzaI bFj+wqPHHVjvKSMuhJC+qjuy+LxVlLDC40jsx1x6HvqXPoWJUutrrrTjr6FfEgt6FCI9 nJywJCf32q1hCFmPNjvvmnuF0Q3+2jWHLIViQ+DQg+C9klFkAmgWPIBDZs/jBXluyVme DK6yzzj8cNH55+uPX6Efm28H+Y40uwIcoiyBq4yePVz+60Jt0h7b0CuWn4ba0FjQRGLO uTMQ== X-Gm-Message-State: AAQBX9f/ztx8ONxqRkn8OmWokfwZxMahMPkDVP0nGEc3n9b3NPShRIm3 4USbKlHs5O59Y/PtkvI/qqAOyw== X-Google-Smtp-Source: AKy350YXi4WYSypmNNLsiOEAqRq5lubpZtQkjmGYnHQPCxhmjAs3nrtjcpKxojLn+tigq8c8N13DAA== X-Received: by 2002:a17:902:f685:b0:1a5:5e7:a1c9 with SMTP id l5-20020a170902f68500b001a505e7a1c9mr2981665plg.61.1681472335482; Fri, 14 Apr 2023 04:38:55 -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, Akihiko Odaki Subject: [PATCH 12/40] hw/net/net_tx_pkt: Remove net_rx_pkt_get_l4_info Date: Fri, 14 Apr 2023 20:37:09 +0900 Message-Id: <20230414113737.62803-13-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230414113737.62803-1-akihiko.odaki@daynix.com> References: <20230414113737.62803-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::102f; envelope-from=akihiko.odaki@daynix.com; helo=mail-pj1-x102f.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: 1681472995525100003 Content-Type: text/plain; charset="utf-8" This function is not used. Signed-off-by: Akihiko Odaki --- hw/net/net_rx_pkt.c | 5 ----- hw/net/net_rx_pkt.h | 9 --------- 2 files changed, 14 deletions(-) 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) 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, --=20 2.40.0