mbox series

[net-next,0/7] devlink: Move devlink dev code to a separate file

Message ID 1675349226-284034-1-git-send-email-moshe@nvidia.com (mailing list archive)
Headers show
Series devlink: Move devlink dev code to a separate file | expand

Message

Moshe Shemesh Feb. 2, 2023, 2:46 p.m. UTC
This patchset is moving code from the file leftover.c to new file dev.c.
About 1.3K lines are moved by this patchset covering most of the devlink
dev object callbacks and functionality: reload, eswitch, info, flash and
selftest.

Moshe Shemesh (7):
  devlink: Split out dev get and dump code
  devlink: Move devlink dev reload code to dev
  devlink: Move devlink dev eswitch code to dev
  devlink: Move devlink dev info code to dev
  devlink: Move devlink dev flash code to dev
  devlink: Move devlink_info_req struct to be local
  devlink: Move devlink dev selftest code to dev

 net/devlink/Makefile        |    2 +-
 net/devlink/dev.c           | 1343 ++++++++++++++++++++++++++++++++
 net/devlink/devl_internal.h |   30 +
 net/devlink/leftover.c      | 1470 ++---------------------------------
 4 files changed, 1435 insertions(+), 1410 deletions(-)
 create mode 100644 net/devlink/dev.c

Comments

Jiri Pirko Feb. 2, 2023, 3:44 p.m. UTC | #1
Thu, Feb 02, 2023 at 03:46:59PM CET, moshe@nvidia.com wrote:
>This patchset is moving code from the file leftover.c to new file dev.c.
>About 1.3K lines are moved by this patchset covering most of the devlink
>dev object callbacks and functionality: reload, eswitch, info, flash and
>selftest.
>
>Moshe Shemesh (7):
>  devlink: Split out dev get and dump code
>  devlink: Move devlink dev reload code to dev
>  devlink: Move devlink dev eswitch code to dev
>  devlink: Move devlink dev info code to dev
>  devlink: Move devlink dev flash code to dev
>  devlink: Move devlink_info_req struct to be local
>  devlink: Move devlink dev selftest code to dev
>
> net/devlink/Makefile        |    2 +-
> net/devlink/dev.c           | 1343 ++++++++++++++++++++++++++++++++
> net/devlink/devl_internal.h |   30 +
> net/devlink/leftover.c      | 1470 ++---------------------------------
> 4 files changed, 1435 insertions(+), 1410 deletions(-)
> create mode 100644 net/devlink/dev.c

Looks fine to me.

Thanks Moshe!

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
patchwork-bot+netdevbpf@kernel.org Feb. 4, 2023, 3:30 a.m. UTC | #2
Hello:

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

On Thu, 2 Feb 2023 16:46:59 +0200 you wrote:
> This patchset is moving code from the file leftover.c to new file dev.c.
> About 1.3K lines are moved by this patchset covering most of the devlink
> dev object callbacks and functionality: reload, eswitch, info, flash and
> selftest.
> 
> Moshe Shemesh (7):
>   devlink: Split out dev get and dump code
>   devlink: Move devlink dev reload code to dev
>   devlink: Move devlink dev eswitch code to dev
>   devlink: Move devlink dev info code to dev
>   devlink: Move devlink dev flash code to dev
>   devlink: Move devlink_info_req struct to be local
>   devlink: Move devlink dev selftest code to dev
> 
> [...]

Here is the summary with links:
  - [net-next,1/7] devlink: Split out dev get and dump code
    https://git.kernel.org/netdev/net-next/c/dbeeca81bd93
  - [net-next,2/7] devlink: Move devlink dev reload code to dev
    https://git.kernel.org/netdev/net-next/c/c6ed7d6ef929
  - [net-next,3/7] devlink: Move devlink dev eswitch code to dev
    https://git.kernel.org/netdev/net-next/c/af2f8c1f8229
  - [net-next,4/7] devlink: Move devlink dev info code to dev
    https://git.kernel.org/netdev/net-next/c/d60191c46ec9
  - [net-next,5/7] devlink: Move devlink dev flash code to dev
    https://git.kernel.org/netdev/net-next/c/a13aab66cbe0
  - [net-next,6/7] devlink: Move devlink_info_req struct to be local
    https://git.kernel.org/netdev/net-next/c/ec4a0ce92e0c
  - [net-next,7/7] devlink: Move devlink dev selftest code to dev
    https://git.kernel.org/netdev/net-next/c/7c976c7cfc70

You are awesome, thank you!