[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22bf5a02-7bb7-438e-98ce-25e3bf805b2c@suse.com>
Date: Wed, 6 Mar 2024 18:21:11 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Breno Leitao <leitao@...ian.org>, Oliver Neukum <oneukum@...e.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, horms@...nel.org,
dsahern@...nel.org,
"open list:USB NETWORKING DRIVERS" <linux-usb@...r.kernel.org>
Subject: Re: [PATCH net-next 1/2] net: usbnet: Leverage core stats allocator
On 06.03.24 15:26, Breno Leitao wrote:
> With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and
> convert veth & vrf"), stats allocation could be done on net core
> instead of in this driver.
>
> With this new approach, the driver doesn't have to bother with error
> handling (allocation failure checking, making sure free happens in the
> right spot, etc). This is core responsibility now.
>
> Remove the allocation in the usbnet driver and leverage the network
> core allocation instead.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Acked-by: Oliver Neukum <oneukum@...e.com>
Powered by blists - more mailing lists