[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211004191446.2127522-1-kuba@kernel.org>
Date: Mon, 4 Oct 2021 12:14:42 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, tariqt@...dia.com, yishaih@...dia.com,
linux-rdma@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: [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(-)
--
2.31.1
Powered by blists - more mailing lists