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 F21E44410E; Thu, 30 May 2024 13:16:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9DB042670; Thu, 30 May 2024 13:15:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 9800040EDC for ; Thu, 30 May 2024 13:14:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717067696; x=1748603696; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nk4D9SUBDAfWvFzTKQ2Sx3ixpH/Y8PPIkUKqRhAn3zo=; b=DXkYkIDrLMYUT0ka4PvTQ5z+K8TsXMz/XDqhykrqc6soUECBlYWAaqNj l2MCK60wp00SFYT/5zH+1tNWngRsuSE6BU1fYn0zrox67NA48fJhY+76A x3FWHv+UV950ap9vF7izn9Slxxym6AQKrYdDNr2K0wGcqkxIeatLI3J9Z iU2XYOWd/n5QdSY93mAFktuO+kPOemy23N46uM/KWTTKXULWyOe/iOdvw pFmPuCF1/pjCmGcHYL67kqg4DBPJgFo3FSz785YJybcMcXwd+PkpJOiM7 dcX6NykTUqwyy9UkYsqmN8dTi9s2LF4Gmd43JlXA7/9S7gnLZNPFtHnF3 w==; X-CSE-ConnectionGUID: goBD+7PVSjKwDSGMmsjjyg== X-CSE-MsgGUID: dmiq7PEiRfKpOUzEHr2vtA== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="36063860" X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36063860" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2024 04:14:55 -0700 X-CSE-ConnectionGUID: sLWR4KLPTi+lr+VJDpwqyA== X-CSE-MsgGUID: yBQFV13jQROg5b9mzdw5nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36419434" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa007.jf.intel.com with ESMTP; 30 May 2024 04:14:53 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Barbara Skobiej , vladimir.medvedkin@intel.com, bruce.richardson@intel.com, Jan Sokolowski Subject: [PATCH v3 16/30] net/ixgbe/base: add missing QV defines Date: Thu, 30 May 2024 12:13:49 +0100 Message-ID: <81d0ca08d25635f80f5ba6edf6f2f78972df8c77.1717067519.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 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: Barbara Skobiej This patch adds missing QV defines: - offset of ANVM data - Immediate Field module pointer offset - 2.5GBASE-T and 5GBASE-T physical layer types for X550 Signed-off-by: Barbara Skobiej Signed-off-by: Jan Sokolowski --- drivers/net/ixgbe/base/ixgbe_type.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 5bf03a1f62..9fed8b005c 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -3072,6 +3072,7 @@ enum ixgbe_fdir_pballoc_type { #define FW_SHADOW_RAM_DUMP_LEN 0 #define FW_DEFAULT_CHECKSUM 0xFF /* checksum always 0xFF */ #define FW_NVM_DATA_OFFSET 3 +#define FW_ANVM_DATA_OFFSET 3 #define FW_MAX_READ_BUFFER_SIZE 1024 #define FW_DISABLE_RXEN_CMD 0xDE #define FW_DISABLE_RXEN_LEN 0x1 @@ -3143,6 +3144,8 @@ enum ixgbe_fdir_pballoc_type { #define FW_PHY_INFO_ID_HI_MASK 0xFFFF0000u #define FW_PHY_INFO_ID_LO_MASK 0x0000FFFFu +#define IXGBE_SR_IMMEDIATE_VALUES_PTR 0x4E + /* Host Interface Command Structures */ #pragma pack(push, 1) @@ -3446,6 +3449,8 @@ typedef u64 ixgbe_physical_layer; #define IXGBE_PHYSICAL_LAYER_1000BASE_SX 0x04000 #define IXGBE_PHYSICAL_LAYER_10BASE_T 0x08000 #define IXGBE_PHYSICAL_LAYER_2500BASE_KX 0x10000 +#define IXGBE_PHYSICAL_LAYER_2500BASE_T 0x20000 +#define IXGBE_PHYSICAL_LAYER_5000BASE_T 0x40000 /* Flow Control Data Sheet defined values * Calculation and defines taken from 802.1bb Annex O -- 2.43.0