From: "Sebastian, Selwin" <Selwin.Sebastian@amd.com>
To: "Govindaiah, Vinay" <Vinay.Govindaiah@amd.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: "Govindaiah, Vinay" <Vinay.Govindaiah@amd.com>
Subject: Re: [PATCH] net/axgbe: add support for V4000 Kracken2e
Date: Tue, 2 Dec 2025 07:37:19 +0000 [thread overview]
Message-ID: <DM4PR12MB505543F20F4534C5A82A029E8DD8A@DM4PR12MB5055.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20251202071152.317942-1-vigovind@amd.com>
[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]
[AMD Official Use Only - AMD Internal Distribution Only]
Acked-by: Selwin Sebastian<selwin.sebastian@amd.com>
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Govindaiah, Vinay <Vinay.Govindaiah@amd.com>
Sent: Tuesday, December 2, 2025 12:41:52 PM
To: dev@dpdk.org <dev@dpdk.org>
Cc: Sebastian, Selwin <Selwin.Sebastian@amd.com>; Govindaiah, Vinay <Vinay.Govindaiah@amd.com>
Subject: [PATCH] net/axgbe: add support for V4000 Kracken2e
add device ID's for Kracken2e to enable
driver to support this device.
Signed-off-by: Vinay Govindaiah <vigovind@amd.com>
---
drivers/net/axgbe/axgbe_common.h | 2 ++
drivers/net/axgbe/axgbe_ethdev.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/drivers/net/axgbe/axgbe_common.h b/drivers/net/axgbe/axgbe_common.h
index 93e6c177b6..6e4e23027d 100644
--- a/drivers/net/axgbe/axgbe_common.h
+++ b/drivers/net/axgbe/axgbe_common.h
@@ -905,6 +905,8 @@
#define PCS_V2_RV_WINDOW_SELECT 0x1064
#define PCS_V2_YC_WINDOW_DEF 0x18060
#define PCS_V2_YC_WINDOW_SELECT 0x18064
+#define PCS_KR_WINDOW_SELECT 0x8080
+#define PCS_KR_WINDOW_DEF 0x8060
/* PCS register entry bit positions and sizes */
#define PCS_V2_WINDOW_DEF_OFFSET_INDEX 6
diff --git a/drivers/net/axgbe/axgbe_ethdev.c b/drivers/net/axgbe/axgbe_ethdev.c
index cf3b0d9ef5..aa7d332b44 100644
--- a/drivers/net/axgbe/axgbe_ethdev.c
+++ b/drivers/net/axgbe/axgbe_ethdev.c
@@ -185,6 +185,7 @@ static const struct axgbe_xstats axgbe_xstats_strings[] = {
#define Fam17h 0x17
#define Fam19h 0x19
+#define Fam1Ah 0x1A
#define CPUID_VENDOR_AuthenticAMD_ebx 0x68747541
#define CPUID_VENDOR_AuthenticAMD_ecx 0x444d4163
@@ -2291,6 +2292,21 @@ eth_axgbe_dev_init(struct rte_eth_dev *eth_dev)
unknown_cpu = 1;
}
break;
+ case Fam1Ah:
+ /* V4000 (krackan2e) */
+ if (cpu_model == 0x68) {
+ pdata->xpcs_window_def_reg = PCS_KR_WINDOW_DEF;
+ pdata->xpcs_window_sel_reg = PCS_KR_WINDOW_SELECT;
+
+ /* V4000-Krkan2e devices do not need cdr workaround */
+ pdata->vdata->an_cdr_workaround = 0;
+
+ /* V4000-Krkan2e devices do not need rrc */
+ pdata->vdata->enable_rrc = 0;
+ } else {
+ unknown_cpu = 1;
+ }
+ break;
default:
unknown_cpu = 1;
break;
--
2.34.1
[-- Attachment #2: Type: text/html, Size: 6514 bytes --]
next prev parent reply other threads:[~2025-12-02 7:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 7:11 Vinay Govindaiah
2025-12-02 7:37 ` Sebastian, Selwin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-02 6:43 [PATCH] net/axgbe:Add " Vinay Govindaiah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM4PR12MB505543F20F4534C5A82A029E8DD8A@DM4PR12MB5055.namprd12.prod.outlook.com \
--to=selwin.sebastian@amd.com \
--cc=Vinay.Govindaiah@amd.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).