RE: [PATCH v2] vhost: enable CONFIG feature for vdpa

2022-11-02 Thread Xia, Chenbo
> -Original Message- > From: Hao Chen > Sent: Tuesday, October 11, 2022 10:55 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; ho...@yusur.tech; z...@yusur.tech > Subject: [PATCH v2] vhost: enable CONFIG feature for vdpa > > Enable this fea

[PATCH v2] vhost: enable CONFIG feature for vdpa

2022-10-10 Thread Hao Chen
Enable this feature, so that libvirt or qemu can call vdpa vendor driver's ops '.get_config' through 'vhost_net_get_config' to get the mac address of the vdpa hardware without manual configuration. v1->v2: Move VHOST_USER_PROTOCOL_F_CONFIG from VHOST_USER_PROTOCOL_FEATURES to function 'rte_vhost_d