> From: Jason Wang <jasow...@redhat.com> > Sent: Monday, June 17, 2024 7:18 AM > > On Wed, Jun 12, 2024 at 2:30 PM Jiri Pirko <j...@resnulli.us> wrote: > > > > Wed, Jun 12, 2024 at 03:58:10AM CEST, k...@kernel.org wrote: > > >On Tue, 11 Jun 2024 13:32:32 +0800 Cindy Lu wrote: > > >> Add new UAPI to support the mac address from vdpa tool Function > > >> vdpa_nl_cmd_dev_config_set_doit() will get the MAC address from the > > >> vdpa tool and then set it to the device. > > >> > > >> The usage is: vdpa dev set name vdpa_name mac **:**:**:**:**:** > > > > > >Why don't you use devlink? > > > > Fair question. Why does vdpa-specific uapi even exist? To have > > driver-specific uapi Does not make any sense to me :/ > > It came with devlink first actually, but switched to a dedicated uAPI. > > Parav(cced) may explain more here. > Devlink configures function level mac that applies to all protocol devices (vdpa, rdma, netdev) etc. Additionally, vdpa device level mac can be different (an additional one) to apply to only vdpa traffic. Hence dedicated uAPI was added.
- [PATCH 2/2] vdpa_sim_net: Add the support of set mac ad... Cindy Lu
- Re: [PATCH 1/2] vdpa: support set mac address from vdpa... Jakub Kicinski
- Re: [PATCH 1/2] vdpa: support set mac address from... Jiri Pirko
- Re: [PATCH 1/2] vdpa: support set mac address ... Michael S. Tsirkin
- Re: [PATCH 1/2] vdpa: support set mac addr... Jiri Pirko
- Re: [PATCH 1/2] vdpa: support set mac ... Michael S. Tsirkin
- Re: [PATCH 1/2] vdpa: support set... Jiri Pirko
- Re: [PATCH 1/2] vdpa: support... Michael S. Tsirkin
- Re: [PATCH 1/2] vdpa: support... Jiri Pirko
- Re: [PATCH 1/2] vdpa: support set mac address ... Jason Wang
- RE: [PATCH 1/2] vdpa: support set mac addr... Parav Pandit
- Re: [PATCH 1/2] vdpa: support set mac ... Jiri Pirko
- RE: [PATCH 1/2] vdpa: support set... Parav Pandit
- Re: [PATCH 1/2] vdpa: support... Jiri Pirko
- RE: [PATCH 1/2] vdpa: support... Parav Pandit
- Re: [PATCH 1/2] vdpa: support... Jiri Pirko
- Re: [PATCH 1/2] vdpa: support... Michael S. Tsirkin
- Re: [PATCH 1/2] vdpa: support... Jakub Kicinski
- Re: [PATCH 1/2] vdpa: support... Michael S. Tsirkin
- Re: [PATCH 1/2] vdpa: support... Jakub Kicinski
- Re: [PATCH 1/2] vdpa: support... Michael S. Tsirkin