git: c282c2929859 - stable/13 - ixgbe: add missing QV defines
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Sep 2024 03:41:42 UTC
The branch stable/13 has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=c282c2929859a4f1b72c65b095b54804c731a27c
commit c282c2929859a4f1b72c65b095b54804c731a27c
Author: Barbara Skobiej <barbara.skobiej@intel.com>
AuthorDate: 2024-09-20 03:27:21 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-27 03:40:20 +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)
(cherry picked from commit bfa48c32bc4099cb58b9fe7efab7f376475539ef)
---
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