[dpdk-dev] [PATCH] net/virtio-user: specify MAC address for tap port

2017-12-14 Thread Ning Li
When use virtio_user as exception path, we need to specify a MAC address for the tap port. Signed-off-by: Ning Li --- drivers/net/virtio/virtio_user/vhost_kernel.c | 3 ++- drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 8 drivers/net/virtio/virtio_user/vhost_kernel_tap.h

Re: [dpdk-dev] [PATCH] net/virtio-user: specify MAC address for tap port

2017-12-19 Thread Ning Li
Hi Tiwei, > Hi Ning, > > On Thu, Dec 14, 2017 at 07:38:14PM +0800, Ning Li wrote: > > When use virtio_user as exception path, we need to specify a MAC > > address for the tap port. > > Is this a fix? Did you meet any issue? If so, please describe > the issue and a

Re: [dpdk-dev] [PATCH] net/virtio-user: specify MAC address for tap port

2017-12-19 Thread Ning Li
Hi Tiwei, > Hi Ning, > > On Thu, Dec 14, 2017 at 07:38:14PM +0800, Ning Li wrote: > > When use virtio_user as exception path, we need to specify a MAC > > address for the tap port. > > Is this a fix? Did you meet any issue? If so, please describe > the issue and a

Re: [dpdk-dev] [PATCH] net/virtio-user: specify MAC address for tap port

2017-12-28 Thread Ning Li
HI Tiwei, Thanks for the reply! > Hi Ning, > > On Tue, Dec 19, 2017 at 06:08:10PM +0800, Ning Li wrote: > > Hi Tiwei, > > > > > Hi Ning, > > > > > > On Thu, Dec 14, 2017 at 07:38:14PM +0800, Ning Li wrote: > > > > When use virtio_user

[dpdk-dev] [PATCH] net/virtio-user: specify the MAC of the tap

2017-12-28 Thread Ning Li
When using virtio-user with vhost-kernel to exchange packet with kernel networking stack, application can set the MAC of the tap interface via parameter. Signed-off-by: Ning Li --- drivers/net/virtio/virtio_user/vhost_kernel.c | 3 ++- drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 14