mbox series

[net-next,0/4] mlx4: prep for constant dev->dev_addr

Message ID 20211004191446.2127522-1-kuba@kernel.org (mailing list archive)
Headers show
Series mlx4: prep for constant dev->dev_addr | expand

Message

Jakub Kicinski Oct. 4, 2021, 7:14 p.m. UTC
This patch converts mlx4 for dev->dev_addr being const. It converts
to use of common helpers but also removes some seemingly unnecessary
idiosyncrasies.

Please review.

Jakub Kicinski (4):
  mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()
  mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()
  mlx4: remove custom dev_addr clearing
  mlx4: constify args for const dev_addr

 drivers/infiniband/hw/mlx4/main.c             |  2 +-
 drivers/infiniband/hw/mlx4/qp.c               |  2 +-
 drivers/net/ethernet/mellanox/mlx4/cmd.c      |  4 +-
 .../net/ethernet/mellanox/mlx4/en_netdev.c    | 37 +++++++------------
 drivers/net/ethernet/mellanox/mlx4/fw.c       |  2 +-
 drivers/net/ethernet/mellanox/mlx4/mcg.c      |  2 +-
 include/linux/mlx4/device.h                   |  2 +-
 include/linux/mlx4/driver.h                   | 22 -----------
 8 files changed, 21 insertions(+), 52 deletions(-)

Comments

Tariq Toukan Oct. 5, 2021, 10:28 a.m. UTC | #1
On 10/4/2021 10:14 PM, Jakub Kicinski wrote:
> This patch converts mlx4 for dev->dev_addr being const. It converts
> to use of common helpers but also removes some seemingly unnecessary
> idiosyncrasies.
> 
> Please review.

Thanks for your series.
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>

> 
> Jakub Kicinski (4):
>    mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()
>    mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()
>    mlx4: remove custom dev_addr clearing
>    mlx4: constify args for const dev_addr
> 
>   drivers/infiniband/hw/mlx4/main.c             |  2 +-
>   drivers/infiniband/hw/mlx4/qp.c               |  2 +-
>   drivers/net/ethernet/mellanox/mlx4/cmd.c      |  4 +-
>   .../net/ethernet/mellanox/mlx4/en_netdev.c    | 37 +++++++------------
>   drivers/net/ethernet/mellanox/mlx4/fw.c       |  2 +-
>   drivers/net/ethernet/mellanox/mlx4/mcg.c      |  2 +-
>   include/linux/mlx4/device.h                   |  2 +-
>   include/linux/mlx4/driver.h                   | 22 -----------
>   8 files changed, 21 insertions(+), 52 deletions(-)
>
patchwork-bot+netdevbpf@kernel.org Oct. 5, 2021, 12:30 p.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Mon,  4 Oct 2021 12:14:42 -0700 you wrote:
> This patch converts mlx4 for dev->dev_addr being const. It converts
> to use of common helpers but also removes some seemingly unnecessary
> idiosyncrasies.
> 
> Please review.
> 
> Jakub Kicinski (4):
>   mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()
>   mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()
>   mlx4: remove custom dev_addr clearing
>   mlx4: constify args for const dev_addr
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()
    https://git.kernel.org/netdev/net-next/c/ded6e16b37e4
  - [net-next,2/4] mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()
    https://git.kernel.org/netdev/net-next/c/1bb96a07f9a8
  - [net-next,3/4] mlx4: remove custom dev_addr clearing
    https://git.kernel.org/netdev/net-next/c/e04ffd120f3c
  - [net-next,4/4] mlx4: constify args for const dev_addr
    https://git.kernel.org/netdev/net-next/c/ebb1fdb589bd

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html