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 D6957A00C2; Thu, 5 May 2022 17:38:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92F234282F; Thu, 5 May 2022 17:38:04 +0200 (CEST) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by mails.dpdk.org (Postfix) with ESMTP id 1D4E44281D for ; Thu, 5 May 2022 17:38:01 +0200 (CEST) Received: by mail-qk1-f170.google.com with SMTP id n8so2969877qke.11 for ; Thu, 05 May 2022 08:38:01 -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=KrE0Y/xOTjbA0dViw24CvE36QS0jimX83jX9Vi7qiJZM5qIw8v5Sz0xFKVKzp2saTr TP24K1TJL9RoYXiuBOHMPy3V6MDZZJo5VpJQqpvNqka1nA4PMqOlmBFmAYoCaOQmUUyG Y/nqSqvapa9m3xo1iaBtSX8g7yiomkxkiZInAKUuvzK22SpWZGTzFYqFaP42PyMVzbz8 bpgnFdCsCfiDRVvz+gD+ff7WB2G58VUOzoU8+yZmlLGwX1uKK31SdPBCtNl1XVYn1SjR NcQXofDH7GMD28kSuvNBYDetG8SDoe/njut1Z7TMp9XckJArFoezGtnbOEiov7qsOG2U tSvQ== 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=WsKQZj/koiLJtAB7AikkhavRXSWuJPFSukVraRtvoK6JSnpFC0dE6cWacOnY7GPFv4 jFnQdEXk/OUdqmOMZA8xc4y2jd4aFcEs6w2bleRkFfFhRigmkE2Rd1yqvI0SNgXIulXj b8PCbtnogjTMxLKkyhiG9LMyvC/1FXDZQE1YXhZBwQFNz9kCEX72pSk2ICDx69PabZsr lI2FLUWKr5igKtJQKS9xgQilSGaOAcs5zJj0r1I+fW18+NaCaHSR1U9mRvAqR80oAcf2 2eqgpxcD/FT6BdvxYYWfuh1uoohEbdf3l2UEcH1drUOPsJmY5+wPuuxvKFqYc2mgrhfn 62WA== X-Gm-Message-State: AOAM533GopXoYLhgf+s6c5VdpL006dyt29vQIMdvcRQ5yJ77RiTHdLqt aEzEGk8p8lKzKi5gYtdmBlgjYga2kImza2MY X-Google-Smtp-Source: ABdhPJxBTWqHyhE28bYQbgz/Y5MPaFsy6+AwZmBtI5bd7zHO/BVBI/J8zinuv6QFsrGkA7JhUs+zcw== X-Received: by 2002:a05:620a:240f:b0:69f:c768:c384 with SMTP id d15-20020a05620a240f00b0069fc768c384mr18304064qkn.228.1651765080203; Thu, 05 May 2022 08:38:00 -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 r68-20020ae9dd47000000b0069fc13ce201sm592555qkf.50.2022.05.05.08.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 08:37:59 -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: Thu, 5 May 2022 11:37:27 -0400 Message-Id: <20220505153728.22636-4-ed.czeck@atomicrules.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220505153728.22636-1-ed.czeck@atomicrules.com> References: <20220502212232.1283-1-ed.czeck@atomicrules.com> <20220505153728.22636-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