netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] vdpa: support set mac address from vdpa tool
@ 2024-07-08  6:47 Cindy Lu
  2024-07-08  6:47 ` [PATCH v3 1/2] " Cindy Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Cindy Lu @ 2024-07-08  6:47 UTC (permalink / raw)
  To: lulu, dtatulea, mst, jasowang, parav, sgarzare, netdev,
	virtualization, linux-kernel, kvm

Add support for setting the MAC address using the VDPA tool.
This feature will allow setting the MAC address using the VDPA tool.
For example, in vdpa_sim_net, the implementation sets the MAC address
to the config space. However, for other drivers, they can implement their
own function, not limited to the config space.

Changelog v2
 - Changed the function name to prevent misunderstanding
 - Added check for blk device
 - Addressed the comments
Changelog v3
 - Split the function of the net device from vdpa_nl_cmd_dev_attr_set_doit
 - Add a lock for the network device's dev_set_attr operation
 - Address the comments

Cindy Lu (2):
  vdpa: support set mac address from vdpa tool
  vdpa_sim_net: Add the support of set mac address

 drivers/vdpa/vdpa.c                  | 81 ++++++++++++++++++++++++++++
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 19 ++++++-
 include/linux/vdpa.h                 |  9 ++++
 include/uapi/linux/vdpa.h            |  1 +
 4 files changed, 109 insertions(+), 1 deletion(-)

-- 
2.45.0


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

end of thread, other threads:[~2024-07-11  9:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-08  6:47 [PATCH v3 0/2] vdpa: support set mac address from vdpa tool Cindy Lu
2024-07-08  6:47 ` [PATCH v3 1/2] " Cindy Lu
2024-07-08  7:04   ` Jason Wang
2024-07-08  9:15   ` kernel test robot
2024-07-08  6:47 ` [PATCH v3 2/2] vdpa_sim_net: Add the support of set mac address Cindy Lu
2024-07-08  7:06   ` Jason Wang
2024-07-08  7:18     ` Cindy Lu
2024-07-08  8:01       ` Jason Wang
2024-07-09  3:59 ` [PATCH v3 0/2] vdpa: support set mac address from vdpa tool Parav Pandit
2024-07-09  6:19   ` Cindy Lu
2024-07-09 12:41     ` Michael S. Tsirkin
2024-07-10  3:05       ` Jason Wang
2024-07-10  3:44         ` Parav Pandit
2024-07-10  6:10         ` Michael S. Tsirkin
2024-07-10  9:46           ` Cindy Lu
2024-07-11  9:08             ` Leonardo Milleri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).