From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7983458CD; Mon, 2 Sep 2024 11:56:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 220B540696; Mon, 2 Sep 2024 11:55:31 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 19F874065C for ; Mon, 2 Sep 2024 11:55:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725270910; x=1756806910; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JiZrG40DdW4iiTO3L8I1XNxU38GPSWom8l9lDK6x0BM=; b=Z9bBpaBjcsBgmGL0plNT1K5WAEXrgFE19vtB7nyFdcBlHQrjgULdjjTg aRbz2gIxcaonXkdtyk4bA06WWaIRDRv7E1iZpleLuk+R83LZ0GL05tPAa cqh0wafFBL/eaC7SM2IB14N3x0JJtsXiTyte0NPXtQW1mT4/WnBCFDScM cA3h/aTH8JGJkFR8eVCVHr1B13sFEWwM+mHbSoMYgLlGqlwBudAk1wGp6 g5UrGF9T4s96rxBU/wQBrW4UaOJaIxV+vyDNpeuaX+DBzLi5YkokmDrX1 /y4p6zAIpmGwK27IhT6hCtrIGEtcUBlfN5Jxh8ZAMmaLuLACyCtMDCo0F g==; X-CSE-ConnectionGUID: EAa085iQQnGWrjFds5958g== X-CSE-MsgGUID: N+FoYc+xQnWeBR0wyy3wTw== X-IronPort-AV: E=McAfee;i="6700,10204,11182"; a="26747211" X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="26747211" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2024 02:55:09 -0700 X-CSE-ConnectionGUID: n4zOw1HKQ2u31PTVysnMxA== X-CSE-MsgGUID: ImBskIGrTOKoLyU+ZjdFbw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="64597920" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa009.fm.intel.com with ESMTP; 02 Sep 2024 02:55:08 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: bruce.richardson@intel.com Subject: [PATCH v1 12/30] net/i40e/base: add VLAN field for input set Date: Mon, 2 Sep 2024 10:54:24 +0100 Message-ID: X-Mailer: git-send-email 2.43.5 In-Reply-To: References: 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 From: Przemyslaw Patynowski Add VLAN bit used during flow director programming, as a part of input set for HW. Signed-off-by: Przemyslaw Patynowski Signed-off-by: Anatoly Burakov --- drivers/net/i40e/base/i40e_type.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index 48d722c1f0..45b38c086b 100644 --- a/drivers/net/i40e/base/i40e_type.h +++ b/drivers/net/i40e/base/i40e_type.h @@ -1925,6 +1925,8 @@ struct i40e_lldp_variables { #define I40E_L4_DST_MASK (0x1ULL << I40E_L4_DST_SHIFT) #define I40E_VERIFY_TAG_SHIFT 31 #define I40E_VERIFY_TAG_MASK (0x3ULL << I40E_VERIFY_TAG_SHIFT) +#define I40E_VLAN_SRC_SHIFT 55 +#define I40E_VLAN_SRC_MASK (0x1ULL << I40E_VLAN_SRC_SHIFT) #define I40E_FLEX_50_SHIFT 13 #define I40E_FLEX_50_MASK (0x1ULL << I40E_FLEX_50_SHIFT) -- 2.43.5