mbox series

[net-next,v3,0/5] team: do some cleanups in team driver

Message ID 20230807012556.3146071-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series team: do some cleanups in team driver | expand

Message

shaozhengchao Aug. 7, 2023, 1:25 a.m. UTC
Do some cleanups in team driver.

---
v3: add header file back to team_mode_activebackup.c
v2: combine patch 5/6 and patch 6/6 into patch 5/5
---
Zhengchao Shao (5):
  team: add __exit modifier to team_nl_fini()
  team: remove unreferenced header in broadcast and roundrobin files
  team: change the init function in the team_option structure to void
  team: change the getter function in the team_option structure to void
  team: remove unused input parameters in lb_htpm_select_tx_port and
    lb_hash_select_tx_port

 drivers/net/team/team.c                   | 62 +++++++++--------------
 drivers/net/team/team_mode_activebackup.c |  8 ++-
 drivers/net/team/team_mode_broadcast.c    |  1 -
 drivers/net/team/team_mode_loadbalance.c  | 50 +++++++-----------
 drivers/net/team/team_mode_roundrobin.c   |  1 -
 include/linux/if_team.h                   |  4 +-
 6 files changed, 48 insertions(+), 78 deletions(-)

Comments

Hangbin Liu Aug. 7, 2023, 2:54 a.m. UTC | #1
On Mon, Aug 07, 2023 at 09:25:51AM +0800, Zhengchao Shao wrote:
> Do some cleanups in team driver.
> 

Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> v3: add header file back to team_mode_activebackup.c
> v2: combine patch 5/6 and patch 6/6 into patch 5/5
> ---
> Zhengchao Shao (5):
>   team: add __exit modifier to team_nl_fini()
>   team: remove unreferenced header in broadcast and roundrobin files
>   team: change the init function in the team_option structure to void
>   team: change the getter function in the team_option structure to void
>   team: remove unused input parameters in lb_htpm_select_tx_port and
>     lb_hash_select_tx_port
> 
>  drivers/net/team/team.c                   | 62 +++++++++--------------
>  drivers/net/team/team_mode_activebackup.c |  8 ++-
>  drivers/net/team/team_mode_broadcast.c    |  1 -
>  drivers/net/team/team_mode_loadbalance.c  | 50 +++++++-----------
>  drivers/net/team/team_mode_roundrobin.c   |  1 -
>  include/linux/if_team.h                   |  4 +-
>  6 files changed, 48 insertions(+), 78 deletions(-)
> 
> -- 
> 2.34.1
>
Jiri Pirko Aug. 7, 2023, 7:46 a.m. UTC | #2
Mon, Aug 07, 2023 at 03:25:51AM CEST, shaozhengchao@huawei.com wrote:
>Do some cleanups in team driver.
>
>---
>v3: add header file back to team_mode_activebackup.c
>v2: combine patch 5/6 and patch 6/6 into patch 5/5
>---

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
patchwork-bot+netdevbpf@kernel.org Aug. 8, 2023, 10:10 p.m. UTC | #3
Hello:

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

On Mon, 7 Aug 2023 09:25:51 +0800 you wrote:
> Do some cleanups in team driver.
> 
> ---
> v3: add header file back to team_mode_activebackup.c
> v2: combine patch 5/6 and patch 6/6 into patch 5/5
> ---
> Zhengchao Shao (5):
>   team: add __exit modifier to team_nl_fini()
>   team: remove unreferenced header in broadcast and roundrobin files
>   team: change the init function in the team_option structure to void
>   team: change the getter function in the team_option structure to void
>   team: remove unused input parameters in lb_htpm_select_tx_port and
>     lb_hash_select_tx_port
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/5] team: add __exit modifier to team_nl_fini()
    https://git.kernel.org/netdev/net-next/c/8958ef511a01
  - [net-next,v3,2/5] team: remove unreferenced header in broadcast and roundrobin files
    https://git.kernel.org/netdev/net-next/c/adac119421c3
  - [net-next,v3,3/5] team: change the init function in the team_option structure to void
    https://git.kernel.org/netdev/net-next/c/de3ecc4fd8bf
  - [net-next,v3,4/5] team: change the getter function in the team_option structure to void
    https://git.kernel.org/netdev/net-next/c/c3b41f4c7b7c
  - [net-next,v3,5/5] team: remove unused input parameters in lb_htpm_select_tx_port and lb_hash_select_tx_port
    https://git.kernel.org/netdev/net-next/c/7790eaeb688f

You are awesome, thank you!