Re: [dpdk-dev] [PATCH v3 5/5] net/virtio-user: add lsc support

2017-03-31 Thread Yuanhan Liu
On Fri, Mar 31, 2017 at 07:44:58PM +, Jianfeng Tan wrote: > +static void virtio_user_delayed_handler(void *param) Coding style issue. ... > > if (offset == offsetof(struct virtio_net_config, max_virtqueue_pairs)) > *(uint16_t *)dst = dev->max_queue_pairs; > @@ -319,7 +36

[dpdk-dev] [PATCH v3 5/5] net/virtio-user: add lsc support

2017-03-31 Thread Jianfeng Tan
So far, virtio-user with vhost-user as the backend can only support client mode. So when vhost user backend is down, i.e., unix socket connection is broken, the connection cannot be re-connected. We will forcely set the link state to be down. Note: virtio-user with vhost-kernel as the backend stil