[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <748d403f-f7ca-4477-82fa-3d0addabab7d@nvidia.com>
Date: Wed, 31 Jan 2024 10:47:29 -0800
From: William Tu <witu@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: bodong@...dia.com, jiri@...dia.com, netdev@...r.kernel.org,
saeedm@...dia.com
Subject: Re: [RFC PATCH v3 net-next] Documentation: devlink: Add devlink-sd
On 1/30/24 5:07 PM, Jakub Kicinski wrote:
> External email: Use caution opening links or attachments
>
>
> On Thu, 25 Jan 2024 14:36:17 -0800 William Tu wrote:
>> Add devlink-sd, shared descriptor, documentation. The devlink-sd
>> mechanism is targeted for configuration of the shared rx descriptors
>> that server as a descriptor pool for ethernet reprsentors (reps)
>> to better utilize memory.
> Do you only need this API to configure representors?
Hi Jakub,
Thanks for taking a look. Yes, for our use case we only need this API.
And there is one additional add to devlink eswitch, mentioned in the RFC
+ * devlink dev eswitch set DEV mode switchdev - enable or disable default
+ port-pool mapping scheme
+
+ - DEV: the devlink device that supports shared descriptor pool.
+ - shared-descs { enable | disable }: enable/disable default port-pool
+ mapping scheme. See details below.
use case
+ # Enable switchdev mode with additional*shared-descs* option
+ * devlink dev eswitch set pci/0000:08:00.0 mode switchdev \
+ shared-descs enable
William
Powered by blists - more mailing lists