Skip to content

Mass conversion to light mlx5 command interface

Leon Romanovsky linux-rdma netdev 1 version Applied

Status from this message: Thanks, applied to mlx5-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/24net/mlx5: Update vport.c to new cmd interfacedrivers/infiniband/hw/mlx5/ib_virt.c drivers/infiniband/hw/mlx5/mad.c drivers/net/ethernet/mellanox/mlx5/core/vport.c +1 more+71 -800 replies
2/24net/mlx5: Update cq.c to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/cq.c drivers/net/ethernet/mellanox/mlx5/core/debugfs.c drivers/net/ethernet/mellanox/mlx5/core/en/health.c +1 more+12 -183 replies
3/24net/mlx5: Update debugfs.c to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/debugfs.c+4 -110 replies
4/24net/mlx5: Update ecpf.c to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/ecpf.c+6 -240 replies
5/24net/mlx5: Update eq.c to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/eq.c+2 -30 replies
6/24net/mlx5: Update statistics to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c drivers/net/ethernet/mellanox/mlx5/core/en_stats.c+19 -440 replies
7/24net/mlx5: Update eswitch to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/eswitch.c drivers/net/ethernet/mellanox/mlx5/core/eswitch.h drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+20 -420 replies
8/24net/mlx5: Update FPGA to new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c+13 -150 replies
9/24net/mlx5: Update fs_core new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c+31 -490 replies
10/24net/mlx5: Update fw.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/fw.c+13 -200 replies
11/24net/mlx5: Update lag.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/lag.c+17 -350 replies
12/24net/mlx5: Update gid.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/lib/gid.c+2 -30 replies
13/24net/mlx5: Update mpfs.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c+4 -60 replies
14/24net/mlx5: Update vxlan.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c+4 -60 replies
15/24net/mlx5: Update main.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/main.c+13 -220 replies
16/24net/mlx5: Update mcg.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/mcg.c+4 -60 replies
17/24net/mlx5: Update mr.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/mr.c+9 -110 replies
18/24net/mlx5: Update pagealloc.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/pagealloc.c+6 -70 replies
19/24net/mlx5: Update pd.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/pd.c+5 -60 replies
20/24net/mlx5: Update uar.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/uar.c+5 -60 replies
21/24net/mlx5: Update rl.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/rl.c+9 -120 replies
22/24net/mlx5: Update port.c new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/port.c+5 -60 replies
23/24net/mlx5: Update SW steering new cmd interfacedrivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c+14 -190 replies
24/24net/mlx5: Update transobj.c new cmd interfacedrivers/infiniband/hw/mlx5/qp.c drivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_common.c +6 more+85 -1310 replies

Reviews trailers per patch

20 of 24 patches have a Reviewed-by or Acked-by.

PatchMoshe Shemesh
1/24
2/24R-b
3/24R-b
4/24R-b
5/24R-b
6/24R-b
7/24
8/24R-b
9/24R-b
10/24R-b
11/24R-b
12/24R-b
13/24R-b
14/24R-b
15/24R-b
16/24R-b
17/24R-b
18/24R-b
19/24R-b
20/24R-b
21/24R-b
22/24R-b
23/24
24/24

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 mlx5-next 00/24] Mass conversion to light mlx5 command interface

From: Leon Romanovsky <[email protected]>

Hi,

This is a followup to "net/mlx5: Provide simplified command interfaces" [1] patch with conversion of everything in mlx5_core.

The patch separation is done by file to simplify bisection and they are all similar, but of course, I can squash it to one mega patch if it is necessary.

Thanks

[1] https://lore.kernel.org/linux-rdma/[email protected]

Leon Romanovsky (24):
net/mlx5: Update vport.c to new cmd interface net/mlx5: Update cq.c to new cmd interface net/mlx5: Update debugfs.c to new cmd interface net/mlx5: Update ecpf.c to new cmd interface net/mlx5: Update eq.c to new cmd interface net/mlx5: Update statistics to new cmd interface net/mlx5: Update eswitch to new cmd interface net/mlx5: Update FPGA to new cmd interface net/mlx5: Update fs_core new cmd interface net/mlx5: Update fw.c new cmd interface net/mlx5: Update lag.c new cmd interface net/mlx5: Update gid.c new cmd interface net/mlx5: Update mpfs.c new cmd interface net/mlx5: Update vxlan.c new cmd interface net/mlx5: Update main.c new cmd interface net/mlx5: Update mcg.c new cmd interface net/mlx5: Update mr.c new cmd interface net/mlx5: Update pagealloc.c new cmd interface net/mlx5: Update pd.c new cmd interface net/mlx5: Update uar.c new cmd interface net/mlx5: Update rl.c new cmd interface net/mlx5: Update port.c new cmd interface net/mlx5: Update SW steering new cmd interface net/mlx5: Update transobj.c new cmd interface

 drivers/infiniband/hw/mlx5/ib_virt.c          |   2 +-
 drivers/infiniband/hw/mlx5/mad.c              |   4 +-
 drivers/infiniband/hw/mlx5/qp.c               |  32 ++--
 drivers/net/ethernet/mellanox/mlx5/core/cq.c  |  24 ++-
 .../net/ethernet/mellanox/mlx5/core/debugfs.c |  17 +--
 .../net/ethernet/mellanox/mlx5/core/ecpf.c    |  30 +---
 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   6 +-
 .../ethernet/mellanox/mlx5/core/en/health.c   |   2 +-
 .../mellanox/mlx5/core/en/monitor_stats.c     |  46 ++----
 .../ethernet/mellanox/mlx5/core/en_common.c   |   7 +-
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  |   2 +-
 .../mellanox/mlx5/core/en_fs_ethtool.c        |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  29 ++--
 .../ethernet/mellanox/mlx5/core/en_stats.c    |  17 +--
 .../net/ethernet/mellanox/mlx5/core/en_tc.c   |   6 +-
 drivers/net/ethernet/mellanox/mlx5/core/eq.c  |   5 +-
 .../net/ethernet/mellanox/mlx5/core/eswitch.c |  38 ++---
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |   6 +-
 .../mellanox/mlx5/core/eswitch_offloads.c     |  18 +--
 .../ethernet/mellanox/mlx5/core/fpga/cmd.c    |  28 ++--
 .../net/ethernet/mellanox/mlx5/core/fs_cmd.c  |  80 ++++------
 drivers/net/ethernet/mellanox/mlx5/core/fw.c  |  33 ++--
 drivers/net/ethernet/mellanox/mlx5/core/lag.c |  52 +++----
 .../net/ethernet/mellanox/mlx5/core/lib/gid.c |   5 +-
 .../ethernet/mellanox/mlx5/core/lib/mpfs.c    |  10 +-
 .../ethernet/mellanox/mlx5/core/lib/vxlan.c   |  10 +-
 .../net/ethernet/mellanox/mlx5/core/main.c    |  35 ++---
 drivers/net/ethernet/mellanox/mlx5/core/mcg.c |  10 +-
 drivers/net/ethernet/mellanox/mlx5/core/mr.c  |  20 ++-
 .../ethernet/mellanox/mlx5/core/pagealloc.c   |  13 +-
 drivers/net/ethernet/mellanox/mlx5/core/pd.c  |  11 +-
 .../net/ethernet/mellanox/mlx5/core/port.c    |  11 +-
 drivers/net/ethernet/mellanox/mlx5/core/rl.c  |  21 ++-
 .../mellanox/mlx5/core/steering/dr_cmd.c      |  33 ++--
 .../ethernet/mellanox/mlx5/core/transobj.c    | 113 +++++---------
 drivers/net/ethernet/mellanox/mlx5/core/uar.c |  11 +-
 .../net/ethernet/mellanox/mlx5/core/vport.c   | 142 +++++++++---------
 include/linux/mlx5/cq.h                       |   2 +-
 include/linux/mlx5/transobj.h                 |  19 +--
 include/linux/mlx5/vport.h                    |   3 +-
 40 files changed, 373 insertions(+), 582 deletions(-)

--
2.25.2