From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 464EC952 for ; Wed, 8 Mar 2017 18:44:48 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2017 09:44:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,265,1486454400"; d="scan'208";a="74328278" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.254.185.68]) ([10.254.185.68]) by fmsmga006.fm.intel.com with ESMTP; 08 Mar 2017 09:44:38 -0800 To: "Wiles, Keith" References: <64e79c8c7398e0af093168d614c0ca62dc28377e.1488808159.git.pascal.mazon@6wind.com> <3C5605DE-671B-4159-B344-788BB4E46C70@intel.com> <2792819a-c95e-d9ca-1222-9fa5f343bc46@intel.com> Cc: Pascal Mazon , "dev@dpdk.org" From: Ferruh Yigit Message-ID: <38819f17-9180-28e0-2fb4-de8c85077136@intel.com> Date: Wed, 8 Mar 2017 17:44:35 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] net/tap: fix dev name look-up X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 17:44:48 -0000 On 3/6/2017 4:14 PM, Wiles, Keith wrote: > >> On Mar 6, 2017, at 10:03 AM, Yigit, Ferruh wrote: >> >> On 3/6/2017 3:42 PM, Ferruh Yigit wrote: >>> On 3/6/2017 3:16 PM, Wiles, Keith wrote: >>>> >>>>> On Mar 6, 2017, at 9:13 AM, Pascal Mazon wrote: >>>>> >>>>> Store the device name in dev->data->name, to have symmetrical behavior >>>>> between rte_pmd_tap_probe(name) and rte_pmd_tap_remove(name). >>>>> >>>>> The netdevice name (linux interface name) is stored in the name field of >>>>> struct pmd_internals. >>>>> >>>>> snprintf(data->name) has been moved closer to the rte_ethdev_allocate() >>>>> as it should use the same name. >>>>> >>>>> Signed-off-by: Pascal Mazon > Acked-by: Keith Wiles Applied to dpdk-next-net/master, thanks.