Skip to content

netmem: rename non-pp ref helpers to *_inc/dec_ref()

Mina Almasry lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2netmem: rename get/put_net_iov() to net_iov_inc/dec_ref()include/net/netmem.h net/core/devmem.c net/core/devmem.h +2 more+29 -290 repliesApplied
2/2netmem: rename get/put_netmem() to netmem_inc/dec_ref()drivers/net/veth.c include/linux/skbuff_ref.h include/net/netmem.h +4 more+22 -220 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next v1 0/2] netmem: rename non-pp ref helpers to *_inc/dec_ref()

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.

Mina Almasry (2):
netmem: rename get/put_net_iov() to net_iov_inc/dec_ref()
netmem: rename get/put_netmem() to netmem_inc/dec_ref()

 drivers/net/veth.c            |  2 +-
 include/linux/skbuff_ref.h    |  8 ++++----
 include/net/netmem.h          | 24 ++++++++++++------------
 net/core/datagram.c           |  2 +-
 net/core/devmem.c             |  4 ++--
 net/core/devmem.h             | 10 +++++-----
 net/core/net_test.c           | 24 ++++++++++++------------
 net/core/skbuff.c             | 20 ++++++++++----------
 net/tls/tls_device.c          |  2 +-
 net/tls/tls_device_fallback.c |  2 +-
 10 files changed, 49 insertions(+), 49 deletions(-)

base-commit: 3c9d71edf50ad153e892ef887e54496286774544

Signature · 1 line
2.56.0.212.g129ede20d9-goog