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 CE97841C8D; Mon, 13 Feb 2023 23:58:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5833D40A8A; Mon, 13 Feb 2023 23:58:41 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2073.outbound.protection.outlook.com [40.107.237.73]) by mails.dpdk.org (Postfix) with ESMTP id 14FF940A81 for ; Mon, 13 Feb 2023 23:58:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+RuRLPInEOxkPMF4YwcXNIBNz/vNmRLgK606uLFbATgPQeAGk37ZcXeXd6EjgL9E7fV/AqhikxjWcv09Dy34UShwS57Yu/NWFVi4TUD5eHMt2nVblPQlC4wPVCmJYSIvA2wjaXq+8Uu+mI6O7g4sxHMJMFTuSvNuC02d52ed4cjtv5yxGudylTDPMAdKkEwZoLJOkwALYyRut+0l3/faQPvwRg32yb/okqvgatWwiz2D+VVJteLXleMQAGsmqrEkFjwcEcGlgnUxYdPQ0GTdDVdTTRMGos74Xypktvew2quww04EAo32dOn9+lm2yAG3arGTtQkgAVltweX9BHc8g== 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=uY2qFCap8c/VmgQspo5x3J0y06e7AoumaLOIfbzqdv8=; b=WXrCMmw2CJhRG/Eiw96Ua/e1aftRKsgHp7CgrQsqtI3wGpjgB7hSXUNHPiV8XwKUZ1IAiU8T+m4xQ+d5UfDmWZQWfEMyhyP5/9qosio00Cmym4T7EK0Pkcc4pws47e4y5fVkJjLEOiJlbs3LVzNz+ZXI/jFjlkJP6hByJQwaSiAhxut2HARSKfGgHHvljJ7aDNUgRIMfs6PSevd3Lc+Z5bTX0vIXPZuu4GdMc3ulwFxgnZ6G7lueD0V+16qbWrQx3etiOWAtqvNsW+ZzZLFKmBBM3JN5KFhVLN7dKwy8VuN0R9oAe4N3J0qUkjiTWAuCrBHNIFnqIUKdGFTZRgT20Q== 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=uY2qFCap8c/VmgQspo5x3J0y06e7AoumaLOIfbzqdv8=; b=SDo75r55zHq3XuHxdB2v6Lz8PmUn5oDYcYnhra5FLAnXZHHXyRdAVcTCXGm3oAim7RwDdX0o26MYh91WDWjUTZ7G2LVV0O3SP8PE5O8jS/FccaWQnmGIO4rTqFt8lNQl7ke7n/1qHWqz4mEt1NFmcOlhuXOMySTzw6Q/fvvUvoE= 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 DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) 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 22:58:38 +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 22:58:38 +0000 Message-ID: <4e5f2100-9c5e-ee9b-0c45-5a4351461b0a@amd.com> Date: Mon, 13 Feb 2023 22:58:32 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US To: Shepard Siegel Cc: ed.czeck@atomicrules.com, dev@dpdk.org References: <20230211141459.2857045-1-shepard.siegel@atomicrules.com> <20230213145824.2886910-1-shepard.siegel@atomicrules.com> <72b463ec-e7c1-a751-adac-6896b7f992d4@amd.com> From: Ferruh Yigit Subject: Re: [PATCH 1/4] doc: clarify the existing net/ark guide In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB5167:EE_ X-MS-Office365-Filtering-Correlation-Id: fc5aabb5-31a0-4d50-338e-08db0e15d781 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: m91NZcT+eZ58vG1sUM2gCnBS/teORRb3PIhdQ9UuxN5s+LAcMc8BVaQpjJVRWTaH5C7hDimnhEPaK1QhOISktkoE8bVR6LBTWel9C8i4Vbb+Y/2lrR9gJl9wRDfG332f0roulbXYp+VIj3lJkaM7xTEIGTWEcWK389ZSEubbXn+6DlTWpTGgVlQ/Ylbv2aJ81wDM4ZuxqP4nv/0TeCBiB2n3kCXV9Zd2BTgZWoSgtIot8lMQNX+kTGcALO7+0Y4Sx9sMwiP2QPjGGRb+QsunJhMTCkR2/Rj/zT7K2EQWRP9oxRzyx9sDWCFtH7Vy0b0LH2Bdhc0xl1oO+e1QKDIPCbOoVlOhmgd4SC4K64Hb4miIUtxzLmvuG/ClgjfVYXdZxKoUpN7bs9pwGkRHoHKhO/UtyqoT0HAcJj+9pz29SZZitKHAiHroynBQ4KYGqpnUkwmxoxEyGgscjmRo7FNmjvUoRUJCoj1gTvjb7sQxqAuYMVOqQ3SKU/PF9RC2copI0CwC2clsDrmHuiuaAVQQcAp8LZrW1UP9InUxpbf98he/+H3nOy2g+d/DgvoSEdW1vG6+2Kt/jnN7i9StULntpJm0/pdxBCCjSkl1j878FpwVh7KVAm6weareLiH8Wygnn07l0qjtnKondjhGFrmMYg3QJBGVSsyNiiXQZSlZF8ot6D/QAhEZlG1sn41bAXPLbHtahVIinNSIGTJ7M4VfpVTVCRL1UBN8KkF9CzBC9no= 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)(346002)(376002)(396003)(136003)(39860400002)(366004)(451199018)(4326008)(6916009)(8676002)(31686004)(316002)(36756003)(41300700001)(38100700002)(5660300002)(2616005)(66476007)(66556008)(66946007)(31696002)(478600001)(2906002)(8936002)(44832011)(6486002)(6666004)(53546011)(6506007)(6512007)(186003)(86362001)(26005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Qkw0WUhXamg1Z2I3eXpZRzdQTW9jZlk1M0NtQk5YTDVTUWxlZGQzRzJ5cmh2?= =?utf-8?B?bk9rSmlYRDJEUU9yZFAyQjNlWGk4Q1VaZkxPYm9UUEZ1MnZrVXZaYmtqKzdE?= =?utf-8?B?cFVPVXhDU21yQkNMeUhiWmMrbWVYK1VyWkZVSS9wdnpMT21DL2gvVStIcUkz?= =?utf-8?B?QStXNE1RdFZUVDVxc0ZRb3FJbGtuV2hjWTUvcHl5REpBbFVHbWZjZGh5dFFu?= =?utf-8?B?WWdUNkNEdHNNel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ZESTM0UXovVEpUZ0JaSW1KdjczMUs1?= =?utf-8?B?MFg3Z0Q1dGtLUEdCaEZDbmxSaEk0WXBRdlNXSERpTlBXbTYyK1pvS0JnK3lv?= =?utf-8?Q?/rp7Mtu1OTfptyt+OZfBfL5oz?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc5aabb5-31a0-4d50-338e-08db0e15d781 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2023 22:58:38.0277 (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: keVX4EXtQB8GRXDjyvRew5kwJJVGawMBszvW3pKrWQA4omcdGeu4bkjv+9PRIG7u X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5167 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/13/2023 5:31 PM, Shepard Siegel wrote: > Yes, what is different here is that the MBUF size is communicated > from the PMD to the hardware which *changes its behavior* of data motion > to optimize throughput and latency as a function of that setting. And it > does that per-queue. And can be done at runtime (that's the > dynamic part). ... To the best our knowledge, other PMDs use this as a > host-software setting only - and their DPDK naive DMA engines just use > the same fixed settings (respecting PCIe, of course). > > Hope that helps. If it is contentious in any way, we are fine with > removing that line. We added it as users have remarked it is a unique > capability they think we should point out. > Just trying to clarify the feature you are referring, this helps to your users too. I was thinking this feature is already granted and if there is more details in the documented feature, but it is not granted and OK to keep as it is. > -Shep > > > On Mon, Feb 13, 2023 at 12:23 PM Ferruh Yigit > wrote: > > On 2/13/2023 5:09 PM, Shepard Siegel wrote: > > Hi Ferruh, > > > > Yes, there will probably be next versions in the future. If you don't > > mind making the marker length adjustment, that would be great. > > > > Regarding MBUF (re)sizing  - Arkville supports the ability to > configure > > or reconfigure the MBUF size used on a per-queue basis. This > feature is > > useful when the are conflicting motivations for using smaller/larger > > MBUF sizes. For example, user can switch a queue to use a size > best for > > that queue's application workload. > > > > Application can allocate multiple mempool with different sizes and set > these to specific queues, this is same for all PMDs, is ark PMD doing > something specific here? Or are you referring to something else? > > And what does 'dynamic' emphasis means here? > > > > -Shep > > > > > > On Mon, Feb 13, 2023 at 10:46 AM Ferruh Yigit > > > >> wrote: > > > >     On 2/13/2023 2:58 PM, Shepard Siegel wrote: > >     > Add detail for the existing Arkville configurations FX0 and FX1. > >     > Corrected minor errors of omission. > >     > > >     > Signed-off-by: Shepard Siegel > > >      >> > >     > --- > >     >  doc/guides/nics/ark.rst | 18 ++++++++++++++++++ > >     >  1 file changed, 18 insertions(+) > >     > > >     > diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst > >     > index ba00f14e80..edaa02dc96 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 > >     > @@ -303,6 +307,18 @@ ARK PMD supports the following Arkville RTL > >     PCIe instances including: > >     >  * ``1d6c:101e`` - AR-ARKA-FX1 [Arkville 64B DPDK Data Mover for > >     Agilex R-Tile] > >     >  * ``1d6c:101f`` - AR-TK242 [2x100GbE Packet Capture Device] > >     >  > >     > +Arkville RTL Core Configurations > >     > +------------------------------------- > >     > + > > > >     The title marker length (-) should be same as title length, > can you > >     please fix if there will be next version, if not I can fix while > >     merging. > > > > > >     > +Arkville's RTL core may be configured by the user with > different > >     > +datapath widths to balance throughput against FPGA logic area. > >     The ARK PMD > >     > +has introspection on the RTL core configuration and acts > accordingly. > >     > +All Arkville 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) > >     > + > >     >  DPDK and Arkville Firmware Versioning > >     >  ------------------------------------- > >     >  > >     > @@ -334,6 +350,8 @@ Supported Features > >     >  ------------------ > >     >  > >     >  * Dynamic ARK PMD extensions > >     > +* Dynamic per-queue MBUF (re)sizing up to 32KB > > > >     What is this feature? What does it mean to size/resize mbuf > dynamically? > > > >     > +* SR-IOV, VF-based queue-segregation > >     >  * Multiple receive and transmit queues > >     >  * Jumbo frames up to 9K > >     >  * Hardware Statistics > > >