Re: [dpdk-dev] [PATCH] vhost: add virtio configuration space access socket messages

2019-02-25 Thread Stojaczyk, Dariusz
> -Original Message- > From: Liu, Changpeng > Sent: Monday, February 25, 2019 8:52 AM > To: dev@dpdk.org > Cc: Liu, Changpeng ; Stojaczyk, Dariusz > ; maxime.coque...@redhat.com; Bie, Tiwei > ; Wang, Zhihong > Subject: [PATCH] vhost: add virtio configuration space access socket > messages

Re: [dpdk-dev] [PATCH] vhost: add virtio configuration space access socket messages

2019-02-25 Thread Stojaczyk, Dariusz
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, February 25, 2019 8:49 AM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Stojaczyk, Dariusz ; > maxime.coque...@redhat.com; Bie, Tiwei ; Wang, > Zhihong > Subject: Re: [dpdk-dev] [

Re: [dpdk-dev] [PATCH] vhost: add virtio configuration space access socket messages

2019-02-24 Thread Jason Wang
On 2019/2/25 下午3:51, Changpeng Liu wrote: This patch adds new vhost user messages GET_CONFIG and SET_CONFIG used to get/set virtio device's PCI configuration space. I think it's better to describe the reason for doing this. I believe vhost is transport independent. Thanks Signed-off-b

[dpdk-dev] [PATCH] vhost: add virtio configuration space access socket messages

2019-02-24 Thread Changpeng Liu
This patch adds new vhost user messages GET_CONFIG and SET_CONFIG used to get/set virtio device's PCI configuration space. Signed-off-by: Changpeng Liu --- lib/librte_vhost/rte_vhost.h | 8 lib/librte_vhost/vhost_user.c | 44 +++ lib/librte_vhos