From: "Niklas Söderlund" <niklas.soderlund@corigine.com>
To: dts@dpdk.org
Cc: oss-drivers@corigine.com, "Qin Ke" <qin.ke@corigine.com>,
"Niklas Söderlund" <niklas.soderlund@corigine.com>,
"Chaoyong He" <chaoyong.he@corigine.com>
Subject: [PATCH 5/5] framework/setting: enable Corigine and Netronome NIC for dts
Date: Wed, 8 Feb 2023 17:46:24 +0100 [thread overview]
Message-ID: <20230208164624.2997614-6-niklas.soderlund@corigine.com> (raw)
In-Reply-To: <20230208164624.2997614-1-niklas.soderlund@corigine.com>
From: Qin Ke <qin.ke@corigine.com>
Add the vendor id, device id and driver of Corigine and Netronome
NIC to the support list of dts.
Signed-off-by: Qin Ke <qin.ke@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com>
---
framework/settings.py | 20 ++++++++++++++++++++
framework/tester.py | 1 +
2 files changed, 21 insertions(+)
diff --git a/framework/settings.py b/framework/settings.py
index 48e6d4430937..5c8db15355fb 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -87,6 +87,16 @@ NICS = {
"IGC-I226_LM": "8086:125b",
"brcm_57414": "14e4:16d7",
"brcm_P2100G": "14e4:1750",
+ "netronome_3800_pf": "19ee:3800",
+ "netronome_3800_vf": "19ee:3803",
+ "netronome_4000_pf": "19ee:4000",
+ "netronome_6000_pf": "19ee:6000",
+ "netronome_6000_vf": "19ee:6003",
+ "corigine_3800_pf": "1da8:3800",
+ "corigine_3800_vf": "1da8:3803",
+ "corigine_4000_pf": "1da8:4000",
+ "corigine_6000_pf": "1da8:6000",
+ "corigine_6000_vf": "1da8:6003",
}
ETH_700_SERIES = (
@@ -171,6 +181,16 @@ DRIVERS = {
"IGC-I226_LM": "igc",
"brcm_57414": "bnxt_en",
"brcm_P2100G": "bnxt_en",
+ "netronome_3800_pf": "nfp",
+ "netronome_3800_vf": "nfp_vf",
+ "netronome_4000_pf": "nfp",
+ "netronome_6000_pf": "nfp",
+ "netronome_6000_vf": "nfp_vf",
+ "corigine_3800_pf": "nfp",
+ "corigine_3800_vf": "nfp_vf",
+ "corigine_4000_pf": "nfp",
+ "corigine_6000_pf": "nfp",
+ "corigine_6000_vf": "nfp_vf",
}
"""
diff --git a/framework/tester.py b/framework/tester.py
index a8342a2f36c9..5e6c72ad5d98 100644
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -317,6 +317,7 @@ class Tester(Crb):
self.send_expect("modprobe ixgbe", "# ", 20)
self.send_expect("modprobe e1000e", "# ", 20)
self.send_expect("modprobe e1000", "# ", 20)
+ self.send_expect("modprobe nfp", "# ", 20)
try:
for (pci_bus, pci_id) in self.pci_devices_info:
--
2.39.1
next prev parent reply other threads:[~2023-02-08 16:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 16:46 [PATCH 0/5] Add initial support for NFP PMD Niklas Söderlund
2023-02-08 16:46 ` [PATCH 1/5] framework/dut: add support for restoring dual-port NIC with single PCI address Niklas Söderlund
2023-02-08 16:46 ` [PATCH 2/5] framework/dut: only map ports not already matched Niklas Söderlund
2023-02-08 16:46 ` [PATCH 3/5] nics/net_device: add support for dual-port nfp NIC with single PCI address Niklas Söderlund
2023-02-08 16:46 ` [PATCH 4/5] framework/dut: add longer timeout for loading driver and firmware Niklas Söderlund
2023-02-08 16:46 ` Niklas Söderlund [this message]
2023-02-09 15:27 ` [PATCH v2 0/5] Add initial support for NFP PMD Niklas Söderlund
2023-02-09 15:27 ` [PATCH v2 1/5] framework/dut: add support for restoring dual-port NIC with single PCI address Niklas Söderlund
2023-02-09 15:27 ` [PATCH v2 2/5] framework/dut: only map ports not already matched Niklas Söderlund
2023-02-09 15:27 ` [PATCH v2 3/5] nics/net_device: add support for dual-port nfp NIC with single PCI address Niklas Söderlund
2023-02-09 15:27 ` [PATCH v2 4/5] framework/dut: add longer timeout for loading driver and firmware Niklas Söderlund
2023-02-09 15:27 ` [PATCH v2 5/5] framework/setting: enable Corigine and Netronome NIC for dts Niklas Söderlund
2023-03-06 13:06 ` [PATCH v2 0/5] Add initial support for NFP PMD Niklas Söderlund
2023-03-07 3:35 ` Tu, Lijuan
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=20230208164624.2997614-6-niklas.soderlund@corigine.com \
--to=niklas.soderlund@corigine.com \
--cc=chaoyong.he@corigine.com \
--cc=dts@dpdk.org \
--cc=oss-drivers@corigine.com \
--cc=qin.ke@corigine.com \
/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).