public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] vdpa/mlx5: Fix MAC address update via vdpa-tool
@ 2026-01-26  9:45 Cindy Lu
  2026-01-26  9:45 ` [PATCH v4 1/3] vdpa/mlx5: update mlx_features with driver state check Cindy Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cindy Lu @ 2026-01-26  9:45 UTC (permalink / raw)
  To: lulu, dtatulea, mst, jasowang, netdev, virtualization,
	linux-kernel, kvm

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(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-26  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26  9:45 [PATCH v4 0/3] vdpa/mlx5: Fix MAC address update via vdpa-tool Cindy Lu
2026-01-26  9:45 ` [PATCH v4 1/3] vdpa/mlx5: update mlx_features with driver state check Cindy Lu
2026-01-26  9:45 ` [PATCH v4 2/3] vdpa/mlx5: reuse common function for MAC address updates Cindy Lu
2026-01-26  9:45 ` [PATCH v4 3/3] vdpa/mlx5: update MAC address handling in mlx5_vdpa_set_attr() Cindy Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox