Re: [dpdk-dev] [PATCH 3/3] net/virtio: add MAC device config getter and setter

2021-06-16 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, June 8, 2021 10:14 PM > To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH 3/3] net/virtio: add MAC device config getter and setter > > This pat

[dpdk-dev] [PATCH 3/3] net/virtio: add MAC device config getter and setter

2021-06-08 Thread Maxime Coquelin
This patch uses the new device config ops to get and set the MAC address if supported. If a valid MAC address is passed as devarg of the Virtio-user PMD, the driver will try to store it in the device config space. Otherwise the one provided in the device config space will be used, if available. S