From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id C579A2A1A for ; Thu, 18 Dec 2014 23:03:06 +0100 (CET) Received: by mail-wi0-f175.google.com with SMTP id l15so69253wiw.14 for ; Thu, 18 Dec 2014 14:03:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=oOBHiYPrTLxn+LAlmMl/7Vzf/OmCEOajYLoi4AhYlYI=; b=aiHMRPj+olQEeq+YSS0nbHlIQeLXgoS+lARhg2V6F3fLDymF/HrxQtBpsvKdgjq4Fz fo1yvP2XhxzA6HoJ09B90mfkMELqsIm3x5qHJHHH94EhW9f7vgEIQaMp5V3uCNjOwV5/ skE5lgd3lHaAAim7bjGBHumU1kGrhPgUhuHLZqcK5Tvm4YN10mKNsan2Xmv/dqXrKcXZ b9ZWj93WGIIH1Z1D+u3KYr9zfWbjFxvTwcB5qE8gq33bgowkFRC8uix4HTnZtUujdgNN F4K/j9/zRgFAb9n2tZjkeVFwofpWRO9R0XjlRda2/r3NrU6ClxqVmsonvggrJn2u6Q0G iGVw== X-Gm-Message-State: ALoCoQk7SWs3QZy0B9Pw6G/m57KLBkDyXoOU/urCMh8JtQIqFwvHZTE/Zi2FeBQQS12hGLG+qg3n X-Received: by 10.180.206.229 with SMTP id lr5mr28063525wic.74.1418940186544; Thu, 18 Dec 2014 14:03:06 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id cg8sm8372379wjc.1.2014.12.18.14.03.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 14:03:05 -0800 (PST) From: Thomas Monjalon To: ciara.loftus@intel.com Date: Thu, 18 Dec 2014 23:02:38 +0100 Message-ID: <1522038.HipDzNB9IE@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418926027-19794-1-git-send-email-ciara.loftus@intel.com> References: <1418926027-19794-1-git-send-email-ciara.loftus@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Anthony Fee Subject: Re: [dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net struct X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 22:03:07 -0000 2014-12-18 18:07, ciara.loftus@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 packets to the correct device. > This patch introduces an 'ifname' member to the virtio-net structure > which is populated with the tap device name when QEMU is brought up > with a vhost device. > > Signed-off-by: Ciara Loftus > Signed-off-by: Anthony Fee > Acked-by: Huawei Xie Seems important to make this new library working in a common scenario. Applied Thanks -- Thomas