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 33F97A04B5; Fri, 11 Sep 2020 09:23:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B36C1C0B9; Fri, 11 Sep 2020 09:23:25 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8A05F8F96 for ; Fri, 11 Sep 2020 09:23:23 +0200 (CEST) IronPort-SDR: QZA1Wg40ySFcKooyCoplvfVAou3YF8C3oXD5FXRcRLJVZdXhAoBD6W0oSH4UsEaREixpwrqAV+ NAnfnWSXruig== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="157993941" X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="157993941" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 00:23:22 -0700 IronPort-SDR: SBCQ4kIUaALgvR0KgkIHibqYeKHZ5xHrZof/T0CBlvj5zMp44tC6jp8v4EqejGgFOZCEPpCUCy t2zn5QBVmhrQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,414,1592895600"; d="scan'208";a="334432205" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga008.jf.intel.com with ESMTP; 11 Sep 2020 00:23:21 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 11 Sep 2020 00:23:21 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 11 Sep 2020 00:23:20 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 11 Sep 2020 00:23:20 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 11 Sep 2020 00:23:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mlqhQYNpX2t6QLl6gnzFtKdbGNpzVOkJCXVf2gONRbOyd6YpwJWYlkL1wtxz2gzarqfhhFYWGEsHT2U8QDsstjppQl94iKHl/3ikHuBHWK2DgedZ5aRBA9FIkEfrmh4MZTfXSntvLsLV9WPf+rzx461+AY1tCWp4Gqn7ml+2K6ZX6DGi/SJI22xFx9wHV9x1iCAFG6ltsHPD7tGV9GJWIQyiBg1aKRGK50wX8sKKv2Zfplzg5pJBgepRWsYmmyddpowlDcuAsYR6pEgPDpONveWtR1DuemVPUD/Az8pIo+lQdZKHEnNiALSuFaT/9GQxSczk9lM8ZL/NnAa+JKAAzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fHuWGDrdITNO/vyxDm1tc2ggXeaV58mrL/kUuyEagw4=; b=aa4tmBJ33Vb7OEpck7bWNTcI/2NaVS8g33hPpapbnbMkZycAEJUIBhiBVQRBUVHgzZv3HmCWT3yZc+UUtTqbJBkeTRrFpITY4/4z/qQ6RD4maa9xvkSgb9Yi1zAfFC8dWrpv7wj1eK0l/kl37akUDR8BAZ+EbJDCbujdcKFLuqzM9exnKPq/dNWbk6JmD0veDEcJQj6+zfmsqR0Ws//q1ksTi5riB0bCTWuNhRd9KAB7Oq9jgR87+lkhvFUt6yHIPyYD8FIOEEiG1xXlGjW09ULyyRAGj8SFxluJ0y/oYpj9OX0Ji27Qe2OdZ2EHLIvGmtg7a7Y5eSylacJEcodL7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fHuWGDrdITNO/vyxDm1tc2ggXeaV58mrL/kUuyEagw4=; b=MWIQtU81QAL5UaD7qLfukrbtbBgCbzTLnNYN+WXmoRytCk9qv7XlXcDqVzI7kfxo8REHG/bEkAnQFcP2RcXaxhvxwtV/xkKVnszlsL4m8K0BqpBcirO7czYLDpee1sQI7kDoYN30Db/3ZxxT+D4ZSjIkzxqmw4MWheuwNPr8AqE= Received: from BN6PR11MB0017.namprd11.prod.outlook.com (2603:10b6:405:6c::34) by BN6PR11MB4178.namprd11.prod.outlook.com (2603:10b6:405:84::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16; Fri, 11 Sep 2020 07:23:06 +0000 Received: from BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::e41f:999f:5492:5175]) by BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::e41f:999f:5492:5175%6]) with mapi id 15.20.3305.026; Fri, 11 Sep 2020 07:23:06 +0000 From: "Yang, Qiming" To: "Yang, SteveX" , "dev@dpdk.org" CC: "Richardson, Bruce" , "Lu, Wenzhuo" , "Xing, Beilei" Thread-Topic: [PATCH v2] app/test-pmd: fix meson build failed when enabled pmd_bonded Thread-Index: AQHWiALvRIH+gMKRmkClYJFinDJhq6ljB8zQ Date: Fri, 11 Sep 2020 07:23:06 +0000 Message-ID: References: <20200910015525.59124-1-stevex.yang@intel.com> <20200911055811.16474-1-stevex.yang@intel.com> In-Reply-To: <20200911055811.16474-1-stevex.yang@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02addecc-ae16-4796-1c83-08d856238702 x-ms-traffictypediagnostic: BN6PR11MB4178: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h9m/ES7osaW00iqLwGRKk54ut3hHAdxzio3OAsR+HtlaXYqobtr1rps4NSuA7+qVGzikEjcdYvm7UYTQgz5lfvs+kQsgGD72mc89W2apl7Kjd5lJ62319SxlRlTkOwFQh55qzpnkOAc57V6BoAcZIOAhKRK0QR6S+l/yodSAoLB8s7U2i2m5jMG6QSLLDcpITZC2iNjCRlLLBvhgzTe4UJx/+nehWPNgg8UgH8fkQAfNzWUBl0+7dNhl3itok8wrpNPaJDaxLq9NWyPAWOV6DhTKzSosgB5Xv7KR0JyKpdXckdAmQdgnFukoFPSLwzwu/24dLib0qBnokZM+djx1fw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB0017.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(396003)(376002)(346002)(39860400002)(110136005)(4326008)(26005)(55016002)(8936002)(7696005)(6506007)(5660300002)(66556008)(9686003)(66476007)(186003)(71200400001)(66446008)(66946007)(86362001)(64756008)(53546011)(76116006)(83380400001)(107886003)(478600001)(54906003)(2906002)(33656002)(316002)(8676002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: qed7YE9AcuI1h5bLcl05/hQsflXuyE6aqBlTRSrrDSc8yBdeGBpnanc4rnQiET8H/UHjx7Ly4citEQUwy1BobXN3QoQLPhBzosJOIp6sIcX1fzDsGXP139gPbofCe+AO26apFPUnCnMCMk8r6z7Ksg2sVRLtgHIaspGSrETsC+7rTX4J6hmGVtKWdZoCFi738nCJlxK+Iv9A5JW/3gIUYTOPTOpogDyfXP50IqrnvP48I3T5eHzXDCOzJXKE+32IwJ65AtohMnsE8TfSLuuILvWkiZBDd9cU/XI2BdcY51Fk7vttFNAg/mlrVf/hI6cLEMrWk1cuXNjAow7eOKAO1WQZU0LIJDcH+XdE/GQ3S05S1rtHkTAH7oAeNgOorSkHX8HXQj782AdGceJ1/aUbxgemUTdBNBhbGOsn6zrYSHW4WWFof9+jSOuc16T6sfrLKXCBqVCWW1SDdJIZinj+JdOymZPUmzTVIWdX4UmVSAyfSFMrxGxlROl1WL/mIZHh6LqFV7zRqknImyrXwNb2e+Khfr9hFs7NtuObgYAixHHfQ3jf/6P2Hb8M+00dg/S1EyVJEXnmTMtYYh30axOFRth4A9RlGuDc0OxPAVtKRtKUkQmbAjVrd5TISKz8XqueyzYVNE6zRnY2jwLBDkQsgg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB0017.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02addecc-ae16-4796-1c83-08d856238702 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2020 07:23:06.1262 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mS7d0tEeVdQ3/sv9SYxNGd98nDV98JgK+tvfb3eix9sojggBeWLlCjlWEZ0GaxxKGGvrwvXofIRZz0sqL5egTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4178 X-OriginatorOrg: intel.com 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" > -----Original Message----- > From: Yang, SteveX > Sent: Friday, September 11, 2020 13:58 > To: dev@dpdk.org > Cc: Richardson, Bruce ; Lu, Wenzhuo > ; Xing, Beilei ; Yang, Qimin= g > ; Yang, SteveX > Subject: [PATCH v2] app/test-pmd: fix meson build failed when enabled > pmd_bonded >=20 > 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. >=20 > Signed-off-by: SteveX Yang Fix line miss > --- > v1->v2: > * replaced the bond pmd MACRO with the new one; > * removed header paths cflags of bond pmd; > --- > app/test-pmd/cmdline.c | 10 +++++----- > app/test-pmd/meson.build | 3 +++ > app/test-pmd/parameters.c | 2 +- > 3 files changed, 9 insertions(+), 6 deletions(-) >=20 > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index > 0f33948e8..4ddc557af 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -50,7 +50,7 @@ > #include > #include > #include > -#ifdef RTE_LIBRTE_PMD_BOND > +#ifdef RTE_LIBRTE_BOND_PMD > #include > #include > #endif > @@ -603,7 +603,7 @@ static void cmd_help_long_parsed(void > *parsed_result, > " Show the bypass configuration for a bypass > enabled NIC" > " using the lowest port on the NIC.\n\n" >=20 > -#ifdef RTE_LIBRTE_PMD_BOND > +#ifdef RTE_LIBRTE_BOND_PMD > "create bonded device (mode) (socket)\n" > " Create a new bonded device with specific > bonding mode and socket.\n\n" >=20 > @@ -5738,7 +5738,7 @@ cmdline_parse_inst_t cmd_show_bypass_config =3D > { > }, > }; >=20 > -#ifdef RTE_LIBRTE_PMD_BOND > +#ifdef RTE_LIBRTE_BOND_PMD > /* *** SET BONDING MODE *** */ > struct cmd_set_bonding_mode_result { > cmdline_fixed_string_t set; > @@ -6508,7 +6508,7 @@ cmdline_parse_inst_t > cmd_set_bonding_agg_mode_policy =3D { }; >=20 >=20 > -#endif /* RTE_LIBRTE_PMD_BOND */ > +#endif /* RTE_LIBRTE_BOND_PMD */ >=20 > /* *** SET FORWARDING MODE *** */ > struct cmd_set_fwd_mode_result { > @@ -19520,7 +19520,7 @@ cmdline_parse_ctx_t main_ctx[] =3D { > (cmdline_parse_inst_t *)&cmd_set_bypass_event, > (cmdline_parse_inst_t *)&cmd_set_bypass_timeout, > (cmdline_parse_inst_t *)&cmd_show_bypass_config, -#ifdef > RTE_LIBRTE_PMD_BOND > +#ifdef RTE_LIBRTE_BOND_PMD > (cmdline_parse_inst_t *) &cmd_set_bonding_mode, > (cmdline_parse_inst_t *) &cmd_show_bonding_config, > (cmdline_parse_inst_t *) &cmd_set_bonding_primary, diff --git > a/app/test-pmd/meson.build b/app/test-pmd/meson.build index > ea56e547b..7ad87d010 100644 > --- a/app/test-pmd/meson.build > +++ b/app/test-pmd/meson.build > @@ -25,6 +25,9 @@ sources =3D files('5tswap.c', > 'util.c') >=20 > deps +=3D ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_p= ci'] > +if dpdk_conf.has('RTE_LIBRTE_BOND_PMD') > + deps +=3D 'pmd_bond' > +endif > if dpdk_conf.has('RTE_LIBRTE_PDUMP') > deps +=3D 'pdump' > endif > diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index > 784515314..6402c9c12 100644 > --- a/app/test-pmd/parameters.c > +++ b/app/test-pmd/parameters.c > @@ -39,7 +39,7 @@ > #include > #include > #include > -#ifdef RTE_LIBRTE_PMD_BOND > +#ifdef RTE_LIBRTE_BOND_PMD > #include > #endif > #include > -- > 2.17.1