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 EB32A41C88; Mon, 13 Feb 2023 13:08:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB23240ED8; Mon, 13 Feb 2023 13:08:13 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2045.outbound.protection.outlook.com [40.107.101.45]) by mails.dpdk.org (Postfix) with ESMTP id 6403B40A81 for ; Mon, 13 Feb 2023 13:08:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QeU550Vi/Bmb2nvh6xru4OweTgOnsbFkEh22bAyqqpOqFlUtiE6kCKMT/Lq9VBsXSkbilhKP9BIMKvxAZgL5V8HsNjIz/pyIz7RGWmVIHXgXoXgHgZPh47Hg1/77IQ+CSgyDoGxNTnI/qqvDOaNvpY3rAH+MrnbDOStcBBPqpC9xN0srgESFJ8xfdksU3pMY7Tzn3yhseoq/s6C1XdBd0nTPxEBE/sVhRFLkxC4cJpTwe0UYgIvqHWV5y7Z8e+tM+3FqIDNukWBOcPVmJSZ+v7vPgxigV1DP+YsWOqK5ntDjnPoTQvhlkng18w2i/34ZSMjmqAvKjeWJhJf+vbP/9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9orcxpqZ45aGMrx2TpoDvdaLKxehz6BOJuKOprM454Y=; b=lTKgAB4kVS+1M8rXrdPd6dpAQU1b58yKuLQqYtIEW36+0q6zY4wUtp2GZCpvyOGxDI3X6TYpMtzS2HWVSbZuja3881oxuwOPq6WkoZEn0+QQCSKHRkMY9uAxYmh7GbXO6xD3ZTkzdwt0v9qWeYNpNZegDhv5qNxPLFdzNx5DjpBhpGNmH1ScetTz9i1q1zmSql5TtGPAgVYF8TbzDOMUVJRoQXnMxkIgsXwFLsW+zEK6wzSnFICAFCLdmWn/DS1nRvniLCep+HhPuqbR2rY/vmsblcSI2e87rzW4iQ6FlIGM7PS9H16ISU5EWUZTFmi8xo/MPvVw4PXqhN/J2J+YPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9orcxpqZ45aGMrx2TpoDvdaLKxehz6BOJuKOprM454Y=; b=pihVZrFhpendK4e+d1cHpceG+yh4pVRlIjYu6NK3X2LLP3sS7nfLWqkMfInur1HRt9l+q6e6fzt34Qmk5ydAcm7rKMcV1LOla+BBvCrum3NZmBiJGqABmkbFZvH/kTke4nM+5oFifS8YJa5+wttK17ATFgdK0EldbtAJB/xJOvc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by PH0PR12MB7790.namprd12.prod.outlook.com (2603:10b6:510:289::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Mon, 13 Feb 2023 12:08:07 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%6]) with mapi id 15.20.6086.024; Mon, 13 Feb 2023 12:08:06 +0000 Message-ID: Date: Mon, 13 Feb 2023 12:07:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 To: Shepard Siegel Cc: ed.czeck@atomicrules.com, dev@dpdk.org, John Miller References: <20230210193837.2604100-1-shepard.siegel@atomicrules.com> <20230211012659.2611391-1-shepard.siegel@atomicrules.com> <20230211012659.2611391-2-shepard.siegel@atomicrules.com> <833c253a-8595-14c0-a07e-1e027a08302b@amd.com> Content-Language: en-US From: Ferruh Yigit Subject: Re: [PATCH v3 2/2] doc: add Arkville FX2 PCIe device description In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0363.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::8) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH0PR12MB7790:EE_ X-MS-Office365-Filtering-Correlation-Id: d817976b-d45b-40be-e397-08db0dbaf703 X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yu9LtY0mpZ+fps/gZm/Kli9fIqnLRN1dDY75nwNJOa21B81z37rhdxwiDafyZWMKNSCnh0/v2jW1tWSOp73bTOPlHb1nU/7zufHCoiFrNE2txC8gYFN2oiwnM7NXVLrY2vh+9d0MWGaWe8Jck+0naz6YHgU8NmmTRgooLSBlsnipiTLyZhUM5oOyMCgaPDLE3C3CD3jsULOliMKQ7kzk3sCZTYiYRbRyK9bQQo+o5I5yOE3e3kemq8IDp0hPpjl7In0n8VOZHMUXa3f9FFZYXA4ISD5xM911VjhAm0AiEgbigZXKULvqTauTdcFmygtFjbrpN2bjhKzhS+RcI0j2vos0BtjjdHG3IUamWM47DvSKJYNQVxs+ilBAXewrGGSszziJRpk9bff7McyLaOT90Kw9Qt6mVSwSv+euz5Iws0/9U78LPIriasVSbPbAZ3AcWDK9NB2hzAOWaXtiQEVDrWQfmJX/lrXQRkodBLR9QF4UIm1GDeRpguYAcU0CnAoJtVs+uNMTfXmicXNgxL3ROqyBjxCOcJzTg9rYsZZSpA9FHhGOm2R5x3gm0qjmUYuKhN2FQ/j6dR+gLmus37D4/iY9pAbYSaGHZ/hQ2tPk2JcQBhR40KKkEHGFi1bZ3nkaQzbGEMkf8a9Ie5M4D4b7Btgh+tTUPSpnycYddV0O2bdPgINBj1MR4DOxvXYpbqvWxTj/7p0Q69ciWMhcE4zU/7LBon7d6IDUKqxUQetjGkI= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(396003)(136003)(376002)(39860400002)(366004)(346002)(451199018)(41300700001)(6916009)(5660300002)(4326008)(36756003)(8936002)(6506007)(2906002)(2616005)(6512007)(53546011)(44832011)(186003)(83380400001)(6666004)(316002)(26005)(86362001)(31696002)(8676002)(66946007)(66476007)(66556008)(38100700002)(6486002)(478600001)(31686004)(66899018)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RE8xcXVORTNGVDdaWkZFSHlkeXhMak5LQ0Y0cHEwRWJ0WHFvcSs1ODhPaXNh?= =?utf-8?B?aC9yVFIwOXJVN0xwOVJsdEFDM0hJMzM1c1hNeTFUcHJoVjZqVUlybjUzVVlq?= =?utf-8?B?TXhZWHZ1dkE5bk9WSCsyWStUNVhyaUgwbnpYNU8yVW5RUmp4dUxvZDI0OVJk?= =?utf-8?B?NmpjZDhSZDV6L3dXSWV1UitHZGtKRTVZbFAyU3YrSlFiSXhJTDdueTJtVUJv?= =?utf-8?B?Mmp5aFNlSE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ZWWXhhYTlw?= =?utf-8?B?NXN6bUE5T0FVM2FMc0Vxb1BTUS9OZFplWDJOT1VLekhWcnBhZnlhTUUvT2hp?= =?utf-8?Q?bBbAZdby5jdvXipag0wW3cYtl?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d817976b-d45b-40be-e397-08db0dbaf703 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2023 12:08:06.6268 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tUilYQbz5gQ7ij6hWyEgFqgC18GQJzXLRiUehPnPnFKt9Z0S0uFQVGqvwjYO4iYH X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7790 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 On 2/11/2023 3:07 AM, Shepard Siegel wrote: > Hi Ferruh, > > I don't think the submission system will allow your request of a single > patch with both a code change and document change since they are in > different directories. I must say I'm confused by your request. In the > current v3 which is not your preference, we split up the new device into > the 0001 and the doc on the new device in the 0002. > Hi Shepard, We are accepting doc and code changes in a single patch, indeed this is preferred to have them together (although they are in different folders) The logic is if someone looks the git history of specific document update she can find relevant code change, or vice versa. If they are separate and user finds a document that mentions a feature is enabled, it can be challenging to find when/where that feature is added in the code. > Your current ask of "Can you please add new device related documentation > to patch that adds new device?" was what we did back on v2. Guessing you > don't like the mention of any other devices in the FX2 addition? > > It feels crazy to have to have three different patches to essentially > add a one-liner to our PCIe device alowlist! Am I making this way more > complicated than it needs to be? > I have no intention to make more complicated, but that one line change is adding a new device support, so it is important change to have its own patch. It may even require a release notes update and web page update later. Your initial version was doing documentation update, and one of that update was documenting a device as supported although it is not in the code. You think it is not a bit deal to document unsupported devices as supported, but I disagree. My ask is simple, do the code update to support new device and relevant doc update for new device in one patch, and rest of the documentation updates in another. Please reach out to me from slack/IRC if it is still confusing. > We will produce the sequence of three patches in the morning.  > > Would a cover letter help explain when we are doing with this patch? > If there are elements that are not clear, let me know and we will work > to clarify it. > > Thank you for your efforts in this and countless other DPDK pushes! > > best, Shep > > > > > On Fri, Feb 10, 2023 at 9:13 PM Ferruh Yigit > wrote: > > On 2/11/2023 1:26 AM, Shepard Siegel wrote: > > Update net/ark guide for clarity. > > Include list of FX0, FX1 and FX2 PCIe devices. > > > > 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] > > Can you please add new device related documentation to patch that adds > new device? > At least above line is related to it, but if any other updates in this > document is related to this new device that part also can go to > other patch. > > Or if it make more sense you can first introduce the document update > patch for old devices, and later add new device and new device related > documentation, like: > > First patch adds: >   +* ARK-FX0 - 256-bit 32B datapath (PCIe Gen3, Gen4) >   +* ARK-FX1 - 512-bit 64B datapath (PCIe Gen3, Gen4, Gen5) > > Second patch adds new device and appends following: >   +* ARK-FX2 - 1024-bit 128B datapath (PCIe Gen5x16 Only) > > > > + > > +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 >