Skip to content

vdpa/mlx5: Fix MAC address update via vdpa-tool

Cindy Lu kvm lkml netdev virtualization 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 of 3 patches0 repliesSuperseded

Changes in v4 from the cover letter

Replace memcpy with ether_addr_copy in mlx5_vdpa_change_mac

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vdpa/mlx5: update mlx_features with driver state checkdrivers/vdpa/mlx5/net/mlx5_vnet.c+11 -20 replies
2/3vdpa/mlx5: reuse common function for MAC address updatesdrivers/vdpa/mlx5/net/mlx5_vnet.c+71 -600 replies
3/3vdpa/mlx5: update MAC address handling in mlx5_vdpa_set_attr()drivers/vdpa/mlx5/net/mlx5_vnet.c+3 -60 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDragos Tatulea
1/3R-b
2/3R-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] vdpa/mlx5: Fix MAC address update via vdpa-tool

This series hardens the mlx5 vDPA MAC plumbing by ensuring new addresses replace old entries cleanly, reusing shared update logic to keep flow tables consistent, and only advertising the MAC feature when the device is not yet DRIVER_OK

Changes in v2
Factor out the MAC address update logic and reuse it from handle_ctrl_mac(). Address review comments.
Changes in v3

 rename mlx5_vdpa_change_new_mac to mlx5_vdpa_change_mac

Address review comments.
Changes in v4
Replace memcpy with ether_addr_copy in mlx5_vdpa_change_mac

Cindy Lu (3):
vdpa/mlx5: update mlx_features with driver state check vdpa/mlx5: reuse common function for MAC address updates vdpa/mlx5: update MAC address handling in mlx5_vdpa_set_attr()

 drivers/vdpa/mlx5/net/mlx5_vnet.c | 149 +++++++++++++++++-------------
 1 file changed, 83 insertions(+), 66 deletions(-)
Signature · 1 line
2.51.0