[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Loftus, Ciara
SIZ in v2 of the patch. Thanks, Ciara -Original Message- From: Ananyev, Konstantin Sent: Thursday, December 18, 2014 5:03 PM To: Loftus, Ciara; dev at dpdk.org Cc: Anthony Fee Subject: RE: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct > -Original Message

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Vincent JARDIN
>> +charifname[32]; /** Name of the tap device **/ > > Linux and BSD the maximum network device name size is 16 > In any case, please, use IF_NAMESIZE or IFNAMSIZ see: http://fxr.watson.org/fxr/ident?v=FREEBSD51;im=bigexcerpts;i=IF_NAMESIZE

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Czesnowicz, Przemyslaw
> Hi Thomas, > > A basic vHost use case will work, for example a single Virtual Machine with a > vHost port. However normal vSwitching use cases will require the use of > multiple > vHost ports and multiple VMs. With that in mind, it is essential that the > vSwitch > has some way of knowing whi

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Loftus, Ciara > Sent: Thursday, December 18, 2014 10:02 AM > To: Thomas Monjalon > Cc: dev at dpdk.org; Anthony Fee > Subject: Re: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net str

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ciara.loftus at > intel.com > Sent: Thursday, December 18, 2014 2:55 PM > To: dev at dpdk.org > Cc: Anthony Fee > Subject: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net st

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Loftus, Ciara
-Original Message- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: Thursday, December 18, 2014 3:33 PM To: Loftus, Ciara Cc: dev at dpdk.org; Anthony Fee Subject: Re: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct 2014-12-18 14:55, ciara.loftus at intel.com

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Thomas Monjalon
2014-12-18 14:55, ciara.loftus at intel.com: > This patch fixes the issue whereby when using userspace vhost ports > in the context of vSwitching, the name provided to the hypervisor/QEMU > of the vhost tap device needs to be exposed in the library, in order > for the vSwitch to be able to direct p

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread ciara.lof...@intel.com
From: Ciara Loftus This patch fixes the issue whereby when using userspace vhost ports in the context of vSwitching, the name provided to the hypervisor/QEMU of the vhost tap device needs to be exposed in the library, in order for the vSwitch to be able to direct packets to the correct device. Th

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Stephen Hemminger
On Thu, 18 Dec 2014 14:55:23 + ciara.loftus at intel.com wrote: > diff --git a/lib/librte_vhost/rte_virtio_net.h > b/lib/librte_vhost/rte_virtio_net.h > index 00b1328..aebb4b5 100644 > --- a/lib/librte_vhost/rte_virtio_net.h > +++ b/lib/librte_vhost/rte_virtio_net.h > @@ -96,6 +96,7 @@ struct