From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A49BFA04B5; Fri, 11 Sep 2020 11:41:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C62C1BFCD; Fri, 11 Sep 2020 11:41:02 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 46CEF1BF90 for ; Fri, 11 Sep 2020 11:41:01 +0200 (CEST) IronPort-SDR: ylOliknZTSv9Ew9/opXHKDgLLc0Gc9Q6ITBFK1EzIEa3uTJJ5sJ+o2e6z+r9FogvFNFErnO+Bu IjdzCbzYeHRw== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="156126119" X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="156126119" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 02:41:00 -0700 IronPort-SDR: 6Ta2s2vhYqnTEBruzRczL+yxNf+ShM3u6iL0xtXwuUBzvgkw3oS4FRZwVaf819fjdo3B2Ffd/c qy60lM8qsHgg== X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="481265925" Received: from bricha3-mobl.ger.corp.intel.com ([10.251.81.59]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 11 Sep 2020 02:40:58 -0700 Date: Fri, 11 Sep 2020 10:40:54 +0100 From: Bruce Richardson To: "Yang, SteveX" Cc: David Marchand , dev , "Lu, Wenzhuo" , "Xing, Beilei" , "Yang, Qiming" , Kevin Traynor , Luca Boccassi Message-ID: <20200911094054.GB732@bricha3-MOBL.ger.corp.intel.com> References: <20200910015525.59124-1-stevex.yang@intel.com> <20200911055811.16474-1-stevex.yang@intel.com> <20200911083638.GA732@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Sep 11, 2020 at 10:16:08AM +0100, Yang, SteveX wrote: > Hi Bruce, > > > -----Original Message----- > > From: Bruce Richardson > > Sent: Friday, September 11, 2020 4:37 PM > > To: David Marchand > > Cc: Yang, SteveX ; dev ; Lu, > > Wenzhuo ; Xing, Beilei ; > > Yang, Qiming ; Kevin Traynor > > ; Luca Boccassi > > Subject: Re: [dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed > > when enabled pmd_bonded > > > > On Fri, Sep 11, 2020 at 09:43:37AM +0200, David Marchand wrote: > > > On Fri, Sep 11, 2020 at 8:15 AM SteveX Yang > > wrote: > > > > > > > > The depended pmd bond is missing for test-pmd. Add the pmd_bond to > > > > deps, and replace the relative MACRO name with new > > RTE_LIBRTE_BOND_PMD. > > > > > > meson changed the name of the driver define (when compared to make). > > > We can't backport this patch. > > > > > > How/who will fix this in stable branches? > > > > > For backports, would it be good to add into config/rte_config.h a > > compatibility macro something like: > > > > #if defined RTE_LIBRTE_BOND_PMD && !defined RTE_LIBRTE_PMD_BOND > > #define RTE_LIBRTE_PMD_BOND 1 #endif > > Should I add above MACRO definition into config/rte_config.h with this fix patch? > Or somebody else will fix it with another patch? This would be a separate patch for backporting, rather than something that is necessarily needed in your patch. However, if you want to add it for backward compatibility of other external applications that may use the old macro, feel free to do so. If you can do it, probably the simplest solution is to do two separate patches in a set - this patch for 20.11 only, and a second to add the compatibility macro which can apply to 20.11 and be backported too. /Bruce