Re: [dpdk-dev] [PATCH v3 4/7] net/virtio_user: abstract virtio user backend ops

2017-01-03 Thread Yuanhan Liu
On Wed, Jan 04, 2017 at 03:59:23AM +, Jianfeng Tan wrote: > +struct virtio_user_backend_ops ops_user; Better to qualify it with "extern const" ... --yliu

[dpdk-dev] [PATCH v3 4/7] net/virtio_user: abstract virtio user backend ops

2017-01-03 Thread Jianfeng Tan
Add a struct virtio_user_backend_ops to abstract three kinds of backend operations: - setup, create the unix socket connection; - send_request, sync messages with backend; - enable_qp, enable some queue pair. Signed-off-by: Jianfeng Tan --- drivers/net/virtio/virtio_user/vhost.h