[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ef12108a-6355-de79-d20e-4576561197f6@6wind.com>
Date: Tue, 30 Nov 2021 09:04:18 +0100
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Jakub Kicinski <kuba@...nel.org>, David Ahern <dsahern@...il.com>
Cc: Lahav Schlesinger <lschlesinger@...venets.com>,
Leon Romanovsky <leon@...nel.org>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3] rtnetlink: Support fine-grained netdevice
bulk deletion
Le 29/11/2021 à 19:10, Jakub Kicinski a écrit :
> On Mon, 29 Nov 2021 08:30:16 -0700 David Ahern wrote:
>> On 11/29/21 6:53 AM, Lahav Schlesinger wrote:
>>> Hi David, while I also don't have any strong preference here, my
>>> reasoning for failing the whole request if one device can't be deleted
>>> was so it will share the behaviour we currently have with group deletion.
>>> If you're okay with this asymmetry I'll send a V4.
>>
>> good point - new features should be consistent with existing code.
>>
>> You can add another attribute to the request to say 'Skip devices that
>> can not be deleted'.
>
> The patch is good as is then? I can resurrect it from 'Changes
> Requested' and apply.
>
> Any opinion on wrapping the ifindices into separate attrs, Dave?
> I don't think the 32k vs 64k max distinction matters all that much,
I agree.
> user can send multiple messages, and we could point the extack at
> the correct ifindex's attribute.
>
Good point, it would be clearer from an API POV.
Powered by blists - more mailing lists