From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A05AC61DD3 for ; Thu, 3 Sep 2026 17:02:22 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3691427DE; Thu, 3 Sep 2026 19:02:10 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mails.dpdk.org (Postfix) with ESMTP id B8A8342670 for ; Thu, 3 Sep 2026 19:02:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1788454929; x=1819990929; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Vi0gkKeQzzQBNLBf3uhXAYE1xjcO6W8UsEu0bzur+/E=; b=GsA16PrcxgzRI/Us68GoeV9WgDUAd2vxA5h3KVTISo8SqkhVyerl1H70 jxC+dwVgd0Ghgx8UMBVShI47e03FJlFCIjw8BQ89x7mYDlX7nbcONBG9B iNl7zPubvSpP7tMV/twQepRJ1jsmDsPEUXbvRvO/jKI0IgQ1Y5bG4/EKC Jy4XB7KGvXr2JdU7UvzuhePKkYuqaOrgUXbnJXoKYgNJKYJf+/cpCyQ54 1UmMJ6a1oGdt8DqsuiCktCLyZpj4xKjKZDaUVL0nFdgYMMC4mios8gu0C IiVlSIWZVqCmrNZ20fnf2ctLYe3f174pk6CUpSuDiof++6XlLAd1meBK2 Q==; X-CSE-ConnectionGUID: Cl2LwdyHQ9eJfxCTHAToTQ== X-CSE-MsgGUID: 7CDKX9PATx24EFSEzjy1pQ== X-IronPort-AV: E=McAfee;i="6800,10657,11895"; a="100462970" X-IronPort-AV: E=Sophos;i="6.25,260,1779174000"; d="scan'208";a="100462970" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2026 10:01:47 -0700 X-CSE-ConnectionGUID: Gy7g94L2TUSCkLNr0nuFxw== X-CSE-MsgGUID: PzdK/ORXRg2FRbOD4WG9jQ== X-ExtLoop1: 1 Received: from silpixa00401385.ir.intel.com ([10.20.224.226]) by fmviesa003.fm.intel.com with ESMTP; 03 Sep 2026 10:01:46 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 02/13] net/intel: make Tx context flag common Date: Thu, 3 Sep 2026 18:01:31 +0100 Message-ID: <20260903170140.360477-3-bruce.richardson@intel.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260903170140.360477-1-bruce.richardson@intel.com> References: <20260903170140.360477-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The flag for enabling context descriptors in the vector paths should not be limited to just the iavf driver, as other drivers may use context paths in future also. Therefore move the flag out of the iavf-specific part of the Tx queue structure, to put with other standard queue flags. Signed-off-by: Bruce Richardson --- drivers/net/intel/common/tx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/intel/common/tx.h b/drivers/net/intel/common/tx.h index 2d4a8b5d3c..fb5268c972 100644 --- a/drivers/net/intel/common/tx.h +++ b/drivers/net/intel/common/tx.h @@ -173,6 +173,7 @@ struct ci_tx_queue { bool tx_deferred_start; /* don't start this queue in dev start */ bool q_set; /* indicate if tx queue has been configured */ bool use_vec_entry; /* use sw_ring_vec (true for vector and simple paths) */ + bool use_ctx; /* with ctx info, each pkt needs two desc in vec paths */ union { /* the VSI this queue belongs to */ struct i40e_vsi *i40e_vsi; struct iavf_vsi *iavf_vsi; @@ -194,7 +195,6 @@ struct ci_tx_queue { #define IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2 BIT(1) uint8_t vlan_flag; uint8_t tc; - bool use_ctx; /* with ctx info, each pkt needs two descriptors */ bool lldp_enabled; }; struct { /* ixgbe specific values */ -- 2.53.0