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 8450E41C62; Fri, 10 Feb 2023 22:43:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6875B410D3; Fri, 10 Feb 2023 22:43:42 +0100 (CET) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mails.dpdk.org (Postfix) with ESMTP id 5882B40687 for ; Fri, 10 Feb 2023 22:43:40 +0100 (CET) Received: by mail-ej1-f42.google.com with SMTP id ud5so19236173ejc.4 for ; Fri, 10 Feb 2023 13:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=igYP90IDKL+0NNgDUz7GRB9euIy3IcYioz/VZehfBic=; b=UuiI55+rw72Ur5V0CfkZjCXwKgBEgIBv3dL31Ijoo2bHHTuBf0I5SCHUTtkdXlfwSY JaM+DLUbylT6MHHh5tQNtCIVKtBKBZ07mWteoOlSymVpjV/r/NiY8RIFUh2UNld+VQoj brBg2Ma6ZQLOg1IgfpLxeHExeplTuJW9F7EOzsHZYiqfccqnk2tmAwW8DGyXXHBguqD2 cMajXUL3jCnxnrWhqSrtLr7XIyEGlzgWUwMLnieazOOPd4PaUM4DCm1mfthvoiuor0Pq 85lEY/rRgcHb4zsiePTo7Sxi48RTWH3AbavrHjstsCfADi/T2i9T3eCxuAFHSWP/U4oE veTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=igYP90IDKL+0NNgDUz7GRB9euIy3IcYioz/VZehfBic=; b=HEr96y4GzQffLTGQvwM7o1ikRnqzEC7D5a2rBc2sJHwsc1BxbC/mJTzD13B5sT2riL HDX1+8dcQabKAdOlb6x2uP9+0c9JaNnu/FebnRvIWHtu7KQ50AvltPt0ZH+56whOO4eR yiN1WJk0q3veQycqGyJMcPm+JZdMn51xFx1yIE5x6OnDQfk/XobuF+8cqx4iW4yzs3x7 TXg9bd9OMG9Q4/bO99jHo/Ywfzf/EIT2/gjXq6U3nkD4WuemSmRi0zNoccYgnWJzulWh fRJgbPcg5GxtomhqX6/bI2rZOquFcgXBb0KjtB1lYwJjB6l0Ygyf51jqyOGP/rFIwvwW fcVQ== X-Gm-Message-State: AO0yUKVePJK8CY94rtm6kyCVgEHE3kSbGknlmKDVz8Jk1lFhJ+5/fePv XJlzHcGUeWG8cxpXY/rHYFu/B0zM8t4lXvbOqVR0fw== X-Google-Smtp-Source: AK7set/SCgoyTqq5suQfEqZQ/GILBjlUGAHtuvJFQthaSxUiCewJR3tNt+k2V57s62jx7YlApbEBaWsNrUddHzGo7hA= X-Received: by 2002:a17:907:2be6:b0:8a9:2b5f:104f with SMTP id gv38-20020a1709072be600b008a92b5f104fmr1633992ejc.7.1676065419980; Fri, 10 Feb 2023 13:43:39 -0800 (PST) MIME-Version: 1.0 References: <20230210193837.2604100-1-shepard.siegel@atomicrules.com> <26d2c70a-7071-3e85-9671-06586b0fb6fc@amd.com> In-Reply-To: From: Shepard Siegel Date: Fri, 10 Feb 2023 16:43:29 -0500 Message-ID: Subject: Re: [PATCH] doc: update ark guide To: Ferruh Yigit Cc: ed.czeck@atomicrules.com, dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000fa836105f45f6345" 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 --000000000000fa836105f45f6345 Content-Type: text/plain; charset="UTF-8" Yes, exactly, the 1d6c:1022 device is the new FX2 device that will be supported in the 22.03 release. -Shep On Fri, Feb 10, 2023 at 4:11 PM Ferruh Yigit wrote: > On 2/10/2023 9:03 PM, Shepard Siegel wrote: > > Hi Ferruh, > > The new FX2 device *is* supported by the ark driver as of DPDK 23.03. > > These changes bring the ark doc up to date for the upcoming release. > > I don't know what exactly 'FX2' device is, but I was referring to > '1d6c:1022' device id. > Following is the device table from latest code [1], is '1d6c:1022' > supported? > > static const struct rte_pci_id pci_id_ark_map[] = { > {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100d)}, > {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100e)}, > {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100f)}, > {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1010)}, > {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 */ }, > }; > > [1] > > https://elixir.bootlin.com/dpdk/v22.11.1/source/drivers/net/ark/ark_ethdev.c#L89 > > > -Shep > > > > > > On Fri, Feb 10, 2023 at 3:34 PM Ferruh Yigit > > wrote: > > > > On 2/10/2023 7:38 PM, Shepard Siegel wrote: > > > Include introduced FX2 PCIe ID and description. > > > > > > Signed-off-by: Shepard Siegel > > > > > --- > > > doc/guides/nics/ark.rst | 20 ++++++++++++++++++++ > > > 1 file changed, 20 insertions(+) > > > > > > diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst > > > index ba00f14e80..39cd75064d 100644 > > > --- a/doc/guides/nics/ark.rst > > > +++ b/doc/guides/nics/ark.rst > > > @@ -52,6 +52,10 @@ board. While specific capabilities such as > > number of physical > > > hardware queue-pairs are negotiated; the driver is designed to > > > remain constant over a broad and extendable feature set. > > > > > > +* FPGA Vendors Supported: AMD/Xilinx and Intel > > > +* Number of RX/TX Queue-Pairs: up to 128 > > > +* PCIe Endpoint Technology: Gen3, Gen4, Gen5 > > > + > > > Intentionally, Arkville by itself DOES NOT provide common NIC > > > capabilities such as offload or receive-side scaling (RSS). > > > These capabilities would be viewed as a gate-level "tax" on > > > @@ -302,6 +306,20 @@ ARK PMD supports the following Arkville RTL > > PCIe instances including: > > > * ``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] > > > +* ``1d6c:1022`` - AR-ARKA-FX2 [Arkville 128B DPDK Data Mover for > > Agilex] > > > > Hi Shepard, Ed, > > > > This device is not supported by ark driver, am I missing something? > > > > > + > > > +Arkville RTL Core Configurations > > > +------------------------------------- > > > + > > > +Arkville's RTL core may be configured by the user for three > different > > > +datapath widths to balance throughput against FPGA logic area. > > The ARK PMD > > > +has introspection on the RTL core configuration and acts > accordingly. > > > +All three configurations present identical RTL user-facing AXI > stream > > > +interfaces for both AMD/Xilinx and Intel FPGAs. > > > + > > > +* ARK-FX0 - 256-bit 32B datapath (PCIe Gen3, Gen4) > > > +* ARK-FX1 - 512-bit 64B datapath (PCIe Gen3, Gen4, Gen5) > > > +* ARK-FX2 - 1024-bit 128B datapath (PCIe Gen5x16 Only) > > > > > > DPDK and Arkville Firmware Versioning > > > ------------------------------------- > > > @@ -334,6 +352,8 @@ Supported Features > > > ------------------ > > > > > > * Dynamic ARK PMD extensions > > > +* Dynamic per-queue MBUF (re)sizing up to 32KB > > > +* SR-IOV, VF-based queue-segregation > > > * Multiple receive and transmit queues > > > * Jumbo frames up to 9K > > > * Hardware Statistics > > > > --000000000000fa836105f45f6345 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, exactly, the 1d6c:1022 device=C2=A0is the new FX2 dev= ice that will be supported in the 22.03 release.

-Shep



On Fri, Feb 10, 2023 at 4:11 PM Ferruh Yi= git <ferruh.yigit@amd.com>= ; wrote:
On 2/10= /2023 9:03 PM, Shepard Siegel wrote:
> Hi=C2=A0Ferruh,
> The new FX2 device=C2=A0*is* supported by the ark driver as of DPDK 23= .03.
> These changes bring the ark doc up to date for the upcoming release.
I don't know what exactly 'FX2' device is, but I was referring = to
'1d6c:1022' device id.
Following is the device table from latest code [1], is '1d6c:1022'<= br> supported?

static const struct rte_pci_id pci_id_ark_map[] =3D {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100d)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100e)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x100f)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1010)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1017)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1018)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x1019)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101a)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101b)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101c)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101e)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {RTE_PCI_DEVICE(AR_VENDOR_ID, 0x101f)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {.vendor_id =3D 0, /* sentinel */ },
};

[1]
https://elixir.bootl= in.com/dpdk/v22.11.1/source/drivers/net/ark/ark_ethdev.c#L89

> -Shep
>
>
> On Fri, Feb 10, 2023 at 3:34 PM Ferruh Yigit <ferruh.yigit@amd.com
> <mailto:f= erruh.yigit@amd.com>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0On 2/10/2023 7:38 PM, Shepard Siegel wrote:
>=C2=A0 =C2=A0 =C2=A0> Include introduced FX2 PCIe ID and description= .
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Signed-off-by: Shepard Siegel <shepard.siegel@atom= icrules.com
>=C2=A0 =C2=A0 =C2=A0<mailto:shepard.siegel@atomicrules.com>>
>=C2=A0 =C2=A0 =C2=A0> ---
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 doc/guides/nics/ark.rst | 20 +++++++++++= +++++++++
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 1 file changed, 20 insertions(+)
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> diff --git a/doc/guides/nics/ark.rst b/doc/gui= des/nics/ark.rst
>=C2=A0 =C2=A0 =C2=A0> index ba00f14e80..39cd75064d 100644
>=C2=A0 =C2=A0 =C2=A0> --- a/doc/guides/nics/ark.rst
>=C2=A0 =C2=A0 =C2=A0> +++ b/doc/guides/nics/ark.rst
>=C2=A0 =C2=A0 =C2=A0> @@ -52,6 +52,10 @@ board. While specific capab= ilities such as
>=C2=A0 =C2=A0 =C2=A0number of physical
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 hardware queue-pairs are negotiated; the= driver is designed to
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 remain constant over a broad and extenda= ble feature set.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0
>=C2=A0 =C2=A0 =C2=A0> +* FPGA Vendors Supported: AMD/Xilinx and Inte= l
>=C2=A0 =C2=A0 =C2=A0> +* Number of RX/TX Queue-Pairs: up to 128
>=C2=A0 =C2=A0 =C2=A0> +* PCIe Endpoint Technology: Gen3, Gen4, Gen5<= br> >=C2=A0 =C2=A0 =C2=A0> +
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 Intentionally, Arkville by itself DOES N= OT provide common NIC
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 capabilities such as offload or receive-= side scaling (RSS).
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 These capabilities would be viewed as a = gate-level "tax" on
>=C2=A0 =C2=A0 =C2=A0> @@ -302,6 +306,20 @@ ARK PMD supports the foll= owing Arkville RTL
>=C2=A0 =C2=A0 =C2=A0PCIe instances including:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * ``1d6c:101c`` - AR-ARK-SRIOV-VF [Arkvi= lle Virtual Function]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * ``1d6c:101e`` - AR-ARKA-FX1 [Arkville = 64B DPDK Data Mover for
>=C2=A0 =C2=A0 =C2=A0Agilex R-Tile]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * ``1d6c:101f`` - AR-TK242 [2x100GbE Pac= ket Capture Device]
>=C2=A0 =C2=A0 =C2=A0> +* ``1d6c:1022`` - AR-ARKA-FX2 [Arkville 128B = DPDK Data Mover for
>=C2=A0 =C2=A0 =C2=A0Agilex]
>
>=C2=A0 =C2=A0 =C2=A0Hi Shepard, Ed,
>
>=C2=A0 =C2=A0 =C2=A0This device is not supported by ark driver, am I mi= ssing something?
>
>=C2=A0 =C2=A0 =C2=A0> +
>=C2=A0 =C2=A0 =C2=A0> +Arkville RTL Core Configurations
>=C2=A0 =C2=A0 =C2=A0> +-------------------------------------
>=C2=A0 =C2=A0 =C2=A0> +
>=C2=A0 =C2=A0 =C2=A0> +Arkville's RTL core may be configured by = the user for three different
>=C2=A0 =C2=A0 =C2=A0> +datapath widths to balance throughput against= FPGA logic area.
>=C2=A0 =C2=A0 =C2=A0The ARK PMD
>=C2=A0 =C2=A0 =C2=A0> +has introspection on the RTL core configurati= on and acts accordingly.
>=C2=A0 =C2=A0 =C2=A0> +All three configurations present identical RT= L user-facing AXI stream
>=C2=A0 =C2=A0 =C2=A0> +interfaces for both AMD/Xilinx and Intel FPGA= s.
>=C2=A0 =C2=A0 =C2=A0> +
>=C2=A0 =C2=A0 =C2=A0> +* ARK-FX0 - 256-bit 32B datapath (PCIe Gen3, = Gen4)
>=C2=A0 =C2=A0 =C2=A0> +* ARK-FX1 - 512-bit 64B datapath (PCIe Gen3, = Gen4, Gen5)
>=C2=A0 =C2=A0 =C2=A0> +* ARK-FX2 - 1024-bit 128B datapath (PCIe Gen5= x16 Only)
>=C2=A0 =C2=A0 =C2=A0>=C2=A0
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 DPDK and Arkville Firmware Versioning >=C2=A0 =C2=A0 =C2=A0>=C2=A0 ------------------------------------- >=C2=A0 =C2=A0 =C2=A0> @@ -334,6 +352,8 @@ Supported Features
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 ------------------
>=C2=A0 =C2=A0 =C2=A0>=C2=A0
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * Dynamic ARK PMD extensions
>=C2=A0 =C2=A0 =C2=A0> +* Dynamic per-queue MBUF (re)sizing up to 32K= B
>=C2=A0 =C2=A0 =C2=A0> +* SR-IOV, VF-based queue-segregation
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * Multiple receive and transmit queues >=C2=A0 =C2=A0 =C2=A0>=C2=A0 * Jumbo frames up to 9K
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 * Hardware Statistics
>

--000000000000fa836105f45f6345--