On Fri, Sep 11, 2020 at 10:16:08AM +0100, Yang, SteveX wrote: > Hi Bruce, > > > -----Original Message----- > > From: Bruce Richardson <[email protected]> > > Sent: Friday, September 11, 2020 4:37 PM > > To: David Marchand <[email protected]> > > Cc: Yang, SteveX <[email protected]>; dev <[email protected]>; Lu, > > Wenzhuo <[email protected]>; Xing, Beilei <[email protected]>; > > Yang, Qiming <[email protected]>; Kevin Traynor > > <[email protected]>; Luca Boccassi <[email protected]> > > 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 <[email protected]> > > 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

