Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 03:28:09 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bfa48c32bc40 - main - ixgbe: add missing QV defines
Message-ID:  <202409200328.48K3S9Gl069306@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=bfa48c32bc4099cb58b9fe7efab7f376475539ef

commit bfa48c32bc4099cb58b9fe7efab7f376475539ef
Author:     Barbara Skobiej <barbara.skobiej@intel.com>
AuthorDate: 2024-09-20 03:27:21 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-20 03:27:21 +0000

    ixgbe: add missing QV defines
    
    DPDK commit message
    
    net/ixgbe/base: add missing QV defines
    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 <barbara.skobiej@intel.com>
    Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
    
    Obtained from:  DPDK (a730b83)
    MFC after:      1 week
---
 sys/dev/ixgbe/ixgbe_type.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/dev/ixgbe/ixgbe_type.h b/sys/dev/ixgbe/ixgbe_type.h
index f34bf8dace64..dbcc6544133e 100644
--- a/sys/dev/ixgbe/ixgbe_type.h
+++ b/sys/dev/ixgbe/ixgbe_type.h
@@ -3105,6 +3105,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
@@ -3176,6 +3177,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)
@@ -3479,6 +3482,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409200328.48K3S9Gl069306>