Skip to content

mlx4: prep for constant dev->dev_addr

Jakub Kicinski linux-rdma netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()drivers/infiniband/hw/mlx4/main.c drivers/infiniband/hw/mlx4/qp.c drivers/net/ethernet/mellanox/mlx4/cmd.c +3 more+12 -241 replyApplied
2/4mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()drivers/net/ethernet/mellanox/mlx4/cmd.c include/linux/mlx4/driver.h+1 -111 replyApplied
3/4mlx4: remove custom dev_addr clearingdrivers/net/ethernet/mellanox/mlx4/en_netdev.c+6 -81 replyApplied
4/4mlx4: constify args for const dev_addrdrivers/net/ethernet/mellanox/mlx4/en_netdev.c drivers/net/ethernet/mellanox/mlx4/mcg.c include/linux/mlx4/device.h+7 -51 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTariq Toukan
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.31.1