From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent JARDIN Subject: Re: [PATCH] vhost: add interface name to virtio-net struct Date: Thu, 18 Dec 2014 17:26:12 +0100 Message-ID: <54930024.1020001@6wind.com> References: <1418914523-24530-1-git-send-email-ciara.loftus@intel.com> <20141218082026.75614069@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <20141218082026.75614069@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" >> + char ifname[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