From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 915DA804A for ; Thu, 18 Dec 2014 17:20:38 +0100 (CET) Received: by mail-pd0-f172.google.com with SMTP id y13so1695268pdi.31 for ; Thu, 18 Dec 2014 08:20:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=+J58fwiaODO6T+hCZHky6SD1+imwTzo0AXLmXtQzMDs=; b=h4sgXTxV2uOACVjqcLTzWXJSr4sifJGO9piibj3rXlw0LrI3QBVScJzFICapFPVZW2 /W4aBVQCELYYK7K2FvvwyTebbgMaBLyoeb++A+/iLMWydn+6FBoHwziSJ3C4DDH5gMpi /mPGo/WC3H5Hg67VBxjGjUhXYdgWIoD0ONtwc7e4O6tA0+tMK3qh46UNNwPonLIgo2MQ ejPWL2m8ae3eOAprpMRcuz2smF/jDotg0WICsDIcVkY2jLtYQkmE1Jl4WDquj0tMrkHb DyVDKigvcm7XGa1ws4BOoa37LcS9lC5K4S/npKdgEHboQKfDbDHGAh17HN0OKH29JU8I CgKg== X-Gm-Message-State: ALoCoQm67N/w2JF3sAaVgRrDMU6QYltXavlGEa1G7QHpc+wVFXbZsnQw5U6byM6a2JvmR8HRGf5U X-Received: by 10.66.120.129 with SMTP id lc1mr4916712pab.86.1418919637815; Thu, 18 Dec 2014 08:20:37 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id bx13sm7251870pdb.19.2014.12.18.08.20.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 08:20:37 -0800 (PST) Date: Thu, 18 Dec 2014 08:20:26 -0800 From: Stephen Hemminger To: ciara.loftus@intel.com Message-ID: <20141218082026.75614069@urahara> In-Reply-To: <1418914523-24530-1-git-send-email-ciara.loftus@intel.com> References: <1418914523-24530-1-git-send-email-ciara.loftus@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Anthony Fee Subject: Re: [dpdk-dev] [PATCH] 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 16:20:39 -0000 On Thu, 18 Dec 2014 14:55:23 +0000 ciara.loftus@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 virtio_net { > uint64_t features; /**< Negotiated feature set. */ > uint64_t device_fh; /**< device identifier. */ > uint32_t flags; /**< Device flags. Only used to check if device is running on data core. */ > + char ifname[32]; /** Name of the tap device **/ Linux and BSD the maximum network device name size is 16