lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <438e8df7-3deb-485a-8872-3e3b6974005f@nvidia.com>
Date: Wed, 28 Feb 2024 21:26:46 -0800
From: William Tu <witu@...dia.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, jiri@...dia.com, bodong@...dia.com,
 tariqt@...dia.com, yossiku@...dia.com, kuba@...nel.org
Subject: Re: [PATCH RFC iproute2] devlink: Add eswitch attr option for shared
 descriptors



On 2/28/24 8:33 AM, Stephen Hemminger wrote:
> External email: Use caution opening links or attachments
>
>
> On Wed, 28 Feb 2024 17:25:48 +0200
> William Tu <witu@...dia.com> wrote:
>
>> Add two eswitch attrs: shrdesc_mode and shrdesc_count.
>> shrdesc_mode: to enable a sharing memory buffer for
>> representor's rx buffer, and shrdesc_count: to control the
>> number of buffers in this shared memory pool.
>>
>> An example use case:
>>    $ devlink dev eswitch show pci/0000:08:00.0
>>      pci/0000:08:00.0: mode legacy inline-mode none encap-mode basic \
>>      shrdesc-mode none shrdesc-count 0
>>    $ devlink dev eswitch set pci/0000:08:00.0 mode switchdev \
>>      shrdesc-mode basic shrdesc-count 1024
>>    $ devlink dev eswitch show pci/0000:08:00.0
>>      pci/0000:08:00.0: mode switchdev inline-mode none encap-mode basic \
>>      shrdesc-mode basic shrdesc-count 1024
>>
>> Signed-off-by: William Tu <witu@...dia.com>
> This needs to target iproute2-next.
>
> Please update man page for devlink as well.
Hi Stephen,
Will fix it, thanks!
William

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ