Re: [PATCH net-next v1 0/2] netmem: rename non-pp ref helpers to *_inc/dec_ref()
From: Mina Almasry
Date: Wed Oct 21 2026 - 13:20:18 EST
I should have said this in the cover letter, but this was intentional
Paolo. Jakub said that getting this rename in soon may be preferable
so that we don't cause churn for backports:
https://lore.kernel.org/netdev/20261020151352.794bf03b@xxxxxxxxxx/
--
Thanks,
Mina
On Wed, Oct 21, 2026 at 7:09 AM Paolo Abeni <pabeni@xxxxxxxxxx> wrote:
>
> On 10/21/26 03:55, Mina Almasry wrote:
> > Rename the net_iov and netmem non-page_pool reference helpers from
> > get/put_net_iov(), net_devmem_get/put_net_iov(), and get/put_netmem() to
> > net_iov_inc/dec_ref(), net_devmem_net_iov_inc/dec_ref(), and
> > netmem_inc/dec_ref() to follow the object_action() naming convention.
> >
> > Use *_inc_ref() and *_dec_ref() rather than netmem_ref() because
> > netmem_ref is already the typedef for the generic network memory handle.
> ## Form letter - net-next-closed
>
> The merge window for Linux v7.4 has begun, and the net-next
> tree is now closed for new drivers, features, code refactoring
> and optimizations. We are currently accepting bug fixes only.
>
> Please repost when net-next reopens. There is some uncertainty
> about how long this merge window will last, so please check
> https://netdev.bots.linux.dev/net-next.html
> before reposting. net-next _may_ reopen on Nov 2nd.
>
> See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
>
--
Thanks,
Mina