mbox series

[net-next,v2,00/15] devlink: finish file split and get retire leftover.c

Message ID 20230828061657.300667-1-jiri@resnulli.us (mailing list archive)
Headers show
Series devlink: finish file split and get retire leftover.c | expand

Message

Jiri Pirko Aug. 28, 2023, 6:16 a.m. UTC
From: Jiri Pirko <jiri@nvidia.com>

This patchset finishes a move Jakub started and Moshe continued in the
past. I was planning to do this for a long time, so here it is, finally.

This patchset does not change any behaviour. It just splits leftover.c
into per-object files and do necessary changes, like declaring functions
used from other code, on the way.

The last 3 patches are pushing the rest of the code into appropriate
existing files.

---
v1->v2:
patch #2 rebased on top of recent net-next changes

Jiri Pirko (15):
  devlink: push object register/unregister notifications into separate
    helpers
  devlink: push port related code into separate file
  devlink: push shared buffer related code into separate file
  devlink: move and rename devlink_dpipe_send_and_alloc_skb() helper
  devlink: push dpipe related code into separate file
  devlink: push resource related code into separate file
  devlink: push param related code into separate file
  devlink: push region related code into separate file
  devlink: use tracepoint_enabled() helper
  devlink: push trap related code into separate file
  devlink: push rate related code into separate file
  devlink: push linecard related code into separate file
  devlink: move tracepoint definitions into core.c
  devlink: move small_ops definition into netlink.c
  devlink: move devlink_notify_register/unregister() to dev.c

 net/devlink/Makefile        |    3 +-
 net/devlink/core.c          |    6 +
 net/devlink/dev.c           |   28 +-
 net/devlink/devl_internal.h |   95 +-
 net/devlink/dpipe.c         |  917 ++++
 net/devlink/leftover.c      | 9531 -----------------------------------
 net/devlink/linecard.c      |  606 +++
 net/devlink/netlink.c       |  266 +
 net/devlink/param.c         |  865 ++++
 net/devlink/port.c          | 1515 ++++++
 net/devlink/rate.c          |  722 +++
 net/devlink/region.c        | 1260 +++++
 net/devlink/resource.c      |  579 +++
 net/devlink/sb.c            |  996 ++++
 net/devlink/trap.c          | 1861 +++++++
 15 files changed, 9710 insertions(+), 9540 deletions(-)
 create mode 100644 net/devlink/dpipe.c
 delete mode 100644 net/devlink/leftover.c
 create mode 100644 net/devlink/linecard.c
 create mode 100644 net/devlink/param.c
 create mode 100644 net/devlink/port.c
 create mode 100644 net/devlink/rate.c
 create mode 100644 net/devlink/region.c
 create mode 100644 net/devlink/resource.c
 create mode 100644 net/devlink/sb.c
 create mode 100644 net/devlink/trap.c

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 28, 2023, 3:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 28 Aug 2023 08:16:42 +0200 you wrote:
> From: Jiri Pirko <jiri@nvidia.com>
> 
> This patchset finishes a move Jakub started and Moshe continued in the
> past. I was planning to do this for a long time, so here it is, finally.
> 
> This patchset does not change any behaviour. It just splits leftover.c
> into per-object files and do necessary changes, like declaring functions
> used from other code, on the way.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/15] devlink: push object register/unregister notifications into separate helpers
    https://git.kernel.org/netdev/net-next/c/56e65312830e
  - [net-next,v2,02/15] devlink: push port related code into separate file
    https://git.kernel.org/netdev/net-next/c/eec1e5ea1d71
  - [net-next,v2,03/15] devlink: push shared buffer related code into separate file
    https://git.kernel.org/netdev/net-next/c/2b4d8bb08889
  - [net-next,v2,04/15] devlink: move and rename devlink_dpipe_send_and_alloc_skb() helper
    https://git.kernel.org/netdev/net-next/c/2475ed158c47
  - [net-next,v2,05/15] devlink: push dpipe related code into separate file
    https://git.kernel.org/netdev/net-next/c/a9fd44b15fc5
  - [net-next,v2,06/15] devlink: push resource related code into separate file
    https://git.kernel.org/netdev/net-next/c/a9f960074ecd
  - [net-next,v2,07/15] devlink: push param related code into separate file
    https://git.kernel.org/netdev/net-next/c/830c41e1e987
  - [net-next,v2,08/15] devlink: push region related code into separate file
    https://git.kernel.org/netdev/net-next/c/1aa47ca1f52e
  - [net-next,v2,09/15] devlink: use tracepoint_enabled() helper
    https://git.kernel.org/netdev/net-next/c/85facf94fd80
  - [net-next,v2,10/15] devlink: push trap related code into separate file
    https://git.kernel.org/netdev/net-next/c/4bbdec80ff27
  - [net-next,v2,11/15] devlink: push rate related code into separate file
    https://git.kernel.org/netdev/net-next/c/7cc7194e85ca
  - [net-next,v2,12/15] devlink: push linecard related code into separate file
    https://git.kernel.org/netdev/net-next/c/9edbe6f36c5f
  - [net-next,v2,13/15] devlink: move tracepoint definitions into core.c
    https://git.kernel.org/netdev/net-next/c/890c55667437
  - [net-next,v2,14/15] devlink: move small_ops definition into netlink.c
    https://git.kernel.org/netdev/net-next/c/29a390d17748
  - [net-next,v2,15/15] devlink: move devlink_notify_register/unregister() to dev.c
    https://git.kernel.org/netdev/net-next/c/71179ac5c211

You are awesome, thank you!