[PATCH v3 6/7] net/ark: add new devices to support list
Ed Czeck
ed.czeck at atomicrules.com
Tue Jun 7 17:49:16 CEST 2022
update device list is doc
Signed-off-by: Ed Czeck <ed.czeck at atomicrules.com>
---
v3: clarification in doc for LTS support
---
doc/guides/nics/ark.rst | 7 +++++--
drivers/net/ark/ark_ethdev.c | 6 ++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst
index 29c0a07d60..44488f0ce8 100644
--- a/doc/guides/nics/ark.rst
+++ b/doc/guides/nics/ark.rst
@@ -297,6 +297,9 @@ ARK PMD supports the following Arkville RTL PCIe instances including:
* ``1d6c:1017`` - AR-ARK-FX1 [Arkville 64B Multi-Homed Primary Endpoint]
* ``1d6c:1018`` - AR-ARK-FX1 [Arkville 64B Multi-Homed Secondary Endpoint]
* ``1d6c:1019`` - AR-ARK-FX1 [Arkville 64B Multi-Homed Tertiary Endpoint]
+* ``1d6c:101a`` - AR-ARK-SRIOV-FX0 [Arkville 32B Primary Physical Function]
+* ``1d6c:101b`` - AR-ARK-SRIOV-FX1 [Arkville 64B Primary Physical Function]
+* ``1d6c:101c`` - AR-ARK-SRIOV-VF [Arkville Virtual Function]
* ``1d6c:101e`` - AR-ARKA-FX1 [Arkville 64B DPDK Data Mover for Agilex R-Tile]
* ``1d6c:101f`` - AR-TK242 [2x100GbE Packet Capture Device]
@@ -307,7 +310,8 @@ Arkville's firmware and its PMD have version dependencies which must
be stepped together at certain releases. PMD code ensures the versions are
compatible. The following lists shows where version compatible steps have
occurred. If other combinations are required, please contact Atomic Rules
-support.
+support. LTS versions of DPDK remain compatible with the corresponding
+Arkville version.
* DPDK 22.07 requires Arkville 22.07.
* DPDK 22.03 requires Arkville 22.03.
@@ -337,7 +341,6 @@ Unsupported Features
Features that may be part of, or become part of, the Arkville RTL IP that are
not currently supported or exposed by the ARK PMD include:
-* PCIe SR-IOV Virtual Functions (VFs)
* Arkville's Packet Generator Control and Status
* Arkville's Packet Director Control and Status
* Arkville's Packet Checker Control and Status
diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c
index 2abc35283d..377631e66e 100644
--- a/drivers/net/ark/ark_ethdev.c
+++ b/drivers/net/ark/ark_ethdev.c
@@ -94,6 +94,9 @@ static const struct rte_pci_id pci_id_ark_map[] = {
{RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1017)},
{RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1018)},
{RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1019)},
+ {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101a)},
+ {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101b)},
+ {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101c)},
{RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101e)},
{RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101f)},
{.vendor_id = 0, /* sentinel */ },
@@ -127,6 +130,9 @@ ark_device_caps[] = {
SET_DEV_CAPS(0x1017, true),
SET_DEV_CAPS(0x1018, true),
SET_DEV_CAPS(0x1019, true),
+ SET_DEV_CAPS(0x101a, true),
+ SET_DEV_CAPS(0x101b, true),
+ SET_DEV_CAPS(0x101c, false),
SET_DEV_CAPS(0x101e, false),
SET_DEV_CAPS(0x101f, false),
{.device_id = 0,}
--
2.25.1
More information about the dev
mailing list