From nobody Wed Feb 11 00:56:22 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=1682505551; cv=none; d=zohomail.com; s=zohoarc; b=a/6piqmGO6g4uaIFizr+s22cxGTo1Teo4zw0s4ISBZULurkfaqOrKKAF30XfytH2K1c0rY0h2iRNHpMv6E3480ly6G8A7WNrKzoRas3LFEiIap8qPxIcP6ZPxKgpdrlqwXOL/Lh1FeCbhaKlrOBM4CXVIpFqek8mzeFFfixScqM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682505551; 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=I5FVG+q2iK4NMFLv4iSqRBvbjAOoFwdqrI/x89PeOJo=; b=WkhtfRILIY0WYkiU5j4R7nt2OweQ+HCteD+8CXtMos2xo4bmL2aDA+EvA598rO+EMF76St6h7DW0UzWyL6grA6kRGoW2EWwNKnwnTIf8/JpIu9ggRRNRxF98bQs04KhvWt0B0DklDOFRavBMTJLftxfch0dAWFEECIYHAMcYR10= 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 1682505551214395.8655724171746; Wed, 26 Apr 2023 03:39:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prcXq-0002cQ-QP; Wed, 26 Apr 2023 06:38:42 -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 1prcXp-0002Un-EE for qemu-devel@nongnu.org; Wed, 26 Apr 2023 06:38:41 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prcXn-0003DV-QK for qemu-devel@nongnu.org; Wed, 26 Apr 2023 06:38:41 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-63b50a02bffso5718275b3a.2 for ; Wed, 26 Apr 2023 03:38:39 -0700 (PDT) Received: from alarm.u-tokyo.ac.jp ([157.82.194.15]) by smtp.gmail.com with ESMTPSA id m11-20020a63580b000000b0051322a5aa64sm9317919pgb.3.2023.04.26.03.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 03:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1682505518; x=1685097518; 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=I5FVG+q2iK4NMFLv4iSqRBvbjAOoFwdqrI/x89PeOJo=; b=4d4MKCqSXLs2o8URsDWBAumrXry2pMY0CgqJcqTMUPcVtyGmlfhS+36tH3MzlBn47m UEejcTI30OoorJZXgN7KCYJbfBUkvihT22fGGp2tOBcNFtYeGTMeifdhSYG0LCPYE56V 51UBkV7bJrAOhbaEKGESkyeXLU0ocIjnyXjPi33Sa0HQ9JG8o0gpUB5YrYfu9rYvHDrE pgvwN91/1ZH6/uvNgv8+g6gE3Up01mHEuB4IBMW/RywnXTvTEUsOJoMM20M3qwDtiCzf tjOl7pOVcCaipPQeKU2R5jomKQr/sAalyvV5dkHRJMpRQy51eB8UhUtbfzXdXXU4KXQq XrEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682505518; x=1685097518; 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=I5FVG+q2iK4NMFLv4iSqRBvbjAOoFwdqrI/x89PeOJo=; b=MRTFbGMP6kFTal2xTEBPUdnxA604IcsFjjs1FmpvB93V+sNAWvqD0M5bHDcwwCmrHk IGZ8fNYg4egAPkNJptlkixvZfqpNBCnqYv7KgJYMuftTnHdrtRHTrKFGlPQmRIi3352p +Bpx1IgqGV2j9bv1AzwOn9a/RoAiBpPhEy3uBqO1LQGQ+ymDDUpMeG7wolu7MFLOsS+u nNjcIRMiFD4PypIFwOa6g9WGmoKwcw12aFexqKXedI+tonUWStM0RZY2K6bCbSyyjRlQ 269yz9aN3deLIGMeAPxf6HXv1rZ/hUOYLpDYwK4XEryHkVM50+JWHz84PmDqvMDX9axo KcnQ== X-Gm-Message-State: AAQBX9cTLAbI/y5Ehg2pMT2xrX6VE5lv6qIJmqRMsLXRechIwsT2fcgA OXrWb5ItYFGaAwhjEOmClarVvA== X-Google-Smtp-Source: AKy350ZuZLCM3o/6G/0WwnkITfRFad0xYinaD6LnXB4VTS12HeCXaoUy1EhaAnyIFe/394s7jEO+9g== X-Received: by 2002:a05:6a00:10cc:b0:63a:cefa:9d44 with SMTP id d12-20020a056a0010cc00b0063acefa9d44mr23259422pfu.14.1682505518682; Wed, 26 Apr 2023 03:38:38 -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 v4 21/48] igb: Read DCMD.VLE of the first Tx descriptor Date: Wed, 26 Apr 2023 19:36:49 +0900 Message-Id: <20230426103716.26279-22-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230426103716.26279-1-akihiko.odaki@daynix.com> References: <20230426103716.26279-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::432; envelope-from=akihiko.odaki@daynix.com; helo=mail-pf1-x432.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: 1682505552208100009 Content-Type: text/plain; charset="utf-8" Section 7.2.2.3 Advanced Transmit Data Descriptor says: > For frames that spans multiple descriptors, all fields apart from > DCMD.EOP, DCMD.RS, DCMD.DEXT, DTALEN, Address and DTYP are valid only > in the first descriptors and are ignored in the subsequent ones. Signed-off-by: Akihiko Odaki Reviewed-by: Sriram Yagnaraman --- hw/net/igb_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index bae51cbb63..162ef26789 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -613,7 +613,7 @@ igb_process_tx_desc(IGBCore *core, idx =3D (tx->first_olinfo_status >> 4) & 1; igb_tx_insert_vlan(core, queue_index, tx, tx->ctx[idx].vlan_macip_lens >> 16, - !!(cmd_type_len & E1000_TXD_CMD_VLE)); + !!(tx->first_cmd_type_len & E1000_TXD_CMD_VLE)); =20 if (igb_tx_pkt_send(core, tx, queue_index)) { igb_on_tx_done_update_stats(core, tx->tx_pkt, queue_index); --=20 2.40.0