mbox series

[rdma-next,0/3] rdma: prepare for const netdev->dev_addr

Message ID 20211019182604.1441387-1-kuba@kernel.org (mailing list archive)
Headers show
Series rdma: prepare for const netdev->dev_addr | expand

Message

Jakub Kicinski Oct. 19, 2021, 6:26 p.m. UTC
Hi!

These are RDMA changes needed to make netdev->dev_addr const.
These can go via rdma-next.

Jakub Kicinski (3):
  ipoib: use dev_addr_mod()
  mlx5: use dev_addr_mod()
  RDMA: constify netdev->dev_addr accesses

 drivers/infiniband/hw/bnxt_re/qplib_res.c       |  2 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.h       |  2 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.c        |  6 +++---
 drivers/infiniband/hw/bnxt_re/qplib_sp.h        |  5 +++--
 drivers/infiniband/hw/hfi1/ipoib_main.c         |  2 +-
 drivers/infiniband/hw/hns/hns_roce_device.h     |  3 ++-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c      | 10 +++++-----
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c      |  6 +++---
 drivers/infiniband/hw/hns/hns_roce_main.c       |  3 ++-
 drivers/infiniband/hw/irdma/cm.h                |  4 ++--
 drivers/infiniband/hw/irdma/hw.c                |  7 ++++---
 drivers/infiniband/hw/irdma/main.h              |  5 +++--
 drivers/infiniband/hw/irdma/trace_cm.h          |  8 +++++---
 drivers/infiniband/hw/irdma/utils.c             |  4 ++--
 drivers/infiniband/hw/irdma/verbs.c             |  2 +-
 drivers/infiniband/hw/usnic/usnic_fwd.c         |  2 +-
 drivers/infiniband/hw/usnic/usnic_fwd.h         |  2 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c         |  4 +++-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c         |  9 ++++-----
 drivers/infiniband/ulp/ipoib/ipoib_main.c       | 17 +++++++++--------
 .../ethernet/mellanox/mlx5/core/ipoib/ipoib.c   |  8 +++++---
 21 files changed, 61 insertions(+), 50 deletions(-)

Comments

Jason Gunthorpe Oct. 25, 2021, 5:36 p.m. UTC | #1
On Tue, Oct 19, 2021 at 11:26:01AM -0700, Jakub Kicinski wrote:
> Hi!
> 
> These are RDMA changes needed to make netdev->dev_addr const.
> These can go via rdma-next.
> 
> Jakub Kicinski (3):
>   ipoib: use dev_addr_mod()
>   mlx5: use dev_addr_mod()
>   RDMA: constify netdev->dev_addr accesses

Applied to for-next, thanks

Jason