From: "Wiles, Keith" Subject: Re: [PATCH] net/tap: add support for fixed mac addresses Date: Tue, 11 Apr 2017 13:41:13 +0000 Message-ID: <51DB254E-F1A8-419F-B616-EBA1419CDD3B@intel.com> References: <20170410181850.44845-1-keith.wiles@intel.com> <20170411091851.62ab28ad@paques.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: Pascal Mazon , "dev@dpdk.org" To: "Yigit, Ferruh" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 999BB2986 for ; Tue, 11 Apr 2017 15:41:15 +0200 (CEST) In-Reply-To: Content-Language: en-US Content-ID: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > On Apr 11, 2017, at 8:39 AM, Yigit, Ferruh wrote= : >=20 > On 4/11/2017 2:23 PM, Wiles, Keith wrote: >>=20 >>> On Apr 11, 2017, at 2:18 AM, Pascal Mazon wrot= e: >>>=20 >>> Hi Keith, >>>=20 >>> I have a few comments on your patch, see inline. >>>=20 >>> On Mon, 10 Apr 2017 13:18:50 -0500 >>> Keith Wiles wrote: >>>=20 >>>> Support for a fixed MAC address for testing with the last octet >>>> incrementing by one for each interface defined with the new 'mac=3Dfix= ed' >>>> string on the --vdev option. The default option is still to randomize >>>> the MAC address for each tap interface. >>>>=20 >>>> Signed-off-by: Keith Wiles >=20 > <...> >=20 >>>> + >>>> +#ifdef IFF_MULTI_QUEUE >>>> +#define RTE_PMD_TAP_MAX_QUEUES 16 >>>> +#else >>>> +#define RTE_PMD_TAP_MAX_QUEUES 1 >>>> +#endif >>>=20 >>> Remove this IFF_MULTI_QUEUE definition as it is done in rte_eth_tap.h n= ow (needed for pmd_internals). >>=20 >> This should have been removed in your patch=20 >=20 > That is already done, and patch is in main repo: > Fixes: 947d949de7de ("net/tap: fix max queues redefinition") >=20 >> and now that Ferruh wants you to submit a patch for the string at the bo= ttom of the PMD, can you remove it? >=20 > Pascal already send the patch and it is in next-net now: > Fixes: f0e5085f4677 ("net/tap: update driver param string") >=20 >>=20 >> I can do both in my patch, but Ferruh and you need to agree before I can= submit my patch. >=20 > There is no more updated expected, using latest next-net should be OK to > submit your patch. OK >=20 > Thanks, > ferruh Regards, Keith