From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2B88A0505; Fri, 6 May 2022 23:28:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC7DE42820; Fri, 6 May 2022 23:27:48 +0200 (CEST) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by mails.dpdk.org (Postfix) with ESMTP id EA68442823 for ; Fri, 6 May 2022 23:27:46 +0200 (CEST) Received: by mail-qv1-f52.google.com with SMTP id f3so1970051qvi.2 for ; Fri, 06 May 2022 14:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cO73bQSd1UZ86ymbNe+L7+Ui/lgaWl6/g1GWVyoCXLM=; b=dk6bkni0uTT1yQiq/p2RqU6U9sORL+FdU9z/S1YQC0x0gIawHSaI/G/sffJnc3LbJW kPtNta/9hNtDrbbnK3E0TvrWFaFki/QwuxuXP1X7/l64vzQt/LvliSfdg4uemIC8djeP GUWuRxYJEpjlEtAi2EYIW4UTHDxklgWhViJf8i9kGafBw5mROIk5OhaO5HbKPGUlRWby fuTHNtxIu1c/1FUDpd7PuYNMa/mFC4SK5jRg7ZY2ZSHDziAWnj02A7ntHW6MO/CPOJtB 4sXmkLtcw6QpKmlnycjUDMWBefQKx4OpPjP4UjZImKdqHRIAw0AC/ZOoXg7tugyckQL0 H9XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cO73bQSd1UZ86ymbNe+L7+Ui/lgaWl6/g1GWVyoCXLM=; b=tyWUnGilW/xUrKm4W79LvVG12njf/uqn9W1uEsmwPTSURi3fopE08kfIykXfkEfpjt iEyfbmVoDM+ExS4E1MkHqz+Jf0tfxbsJI/WAOkXwB7RR5a02KJ3rCrS/hBoF8i4sgmMP jhkFq22nrcHQy7AGmOLw94nhJIJ/bnzfpbegnUAkNn8djvQUeRdkMB/7VS2JtemB94HD wQnEKLjAIqI0rns9jNqE4RIuPjAUWnZuJffWXHPdNQmwzj6ufUTYQR514nF2LvX52B/i J+BTDMqsTimubIGd+FspHMbVMqIfSNQWE9ncdAokQsQVPfTQT0CwJ4iAWN3Dq0iv60SV M5tw== X-Gm-Message-State: AOAM5302Q5lXZ6JlC62PLYljijmv58Zn/IMT14oyokv7zgFW5YTlrXxZ vRG8axe4C+G9pWKX5ysLADVDmTZxCrn1jk6b X-Google-Smtp-Source: ABdhPJxLyVgZ2HGk8LiUsyFbFVKg9uMvUMCr/NfK24yGhJM5jxP7dYMLqcrRC/sJGOqdf1Z8yI0FsA== X-Received: by 2002:a05:6214:1bca:b0:45a:85cc:e1b0 with SMTP id m10-20020a0562141bca00b0045a85cce1b0mr4546023qvc.5.1651872466035; Fri, 06 May 2022 14:27:46 -0700 (PDT) Received: from z170.czeck.local (pool-173-48-102-189.bstnma.fios.verizon.net. [173.48.102.189]) by smtp.gmail.com with ESMTPSA id t3-20020ac85303000000b002f39b99f6a9sm3143802qtn.67.2022.05.06.14.27.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 14:27:45 -0700 (PDT) From: Ed Czeck To: dev@dpdk.org Cc: Ed Czeck , Shepard Siegel , John Miller Subject: [PATCH v1 4/5] net/ark: add new devices to support list Date: Fri, 6 May 2022 17:27:31 -0400 Message-Id: <20220506212732.28504-4-ed.czeck@atomicrules.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220506212732.28504-1-ed.czeck@atomicrules.com> References: <20220502212232.1283-1-ed.czeck@atomicrules.com> <20220506212732.28504-1-ed.czeck@atomicrules.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org update device list is doc Signed-off-by: Ed Czeck --- doc/guides/nics/ark.rst | 4 +++- drivers/net/ark/ark_ethdev.c | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst index c965406a7b..cec6fce2ff 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] @@ -322,7 +325,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 8b4daa819b..7cf896f6f1 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.17.1