From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F285B8AEF for ; Sat, 11 Oct 2014 10:23:49 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 11 Oct 2014 01:31:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,697,1406617200"; d="scan'208";a="603793089" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 11 Oct 2014 01:31:18 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sat, 11 Oct 2014 01:31:18 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sat, 11 Oct 2014 01:31:18 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.230]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.190]) with mapi id 14.03.0195.001; Sat, 11 Oct 2014 16:31:16 +0800 From: "Wu, Jingjing" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] i40e: warnings should include i40e in some example applications Thread-Index: AQHPlpQ2B53pX04bzkqKI/UWhSse65wrLdnA Date: Sat, 11 Oct 2014 08:31:16 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8B07D44@SHSMSX104.ccr.corp.intel.com> References: <1404374093-29710-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1404374093-29710-1-git-send-email-helin.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: warnings should include i40e in some example applications X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2014 08:23:50 -0000 Acked-by: Jingjing Wu > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Helin Zhang > Sent: Thursday, July 3, 2014 3:55 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] i40e: warnings should include i40e in some ex= ample applications >=20 > As i40e introduced recently in DPDK, the warnings should include > i40e when no supported NIC port found during initialization at > least in below example applications. > * app/testpmd > * exception_path > * kni >=20 > Signed-off-by: Helin Zhang > --- > app/test-pmd/testpmd.c | 3 ++- > examples/exception_path/main.c | 5 +++-- > examples/kni/main.c | 5 +++-- > 3 files changed, 8 insertions(+), 5 deletions(-) >=20 > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index e8a4b45..0c0ac77 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -1859,7 +1859,8 @@ main(int argc, char** argv) > "check that " > "CONFIG_RTE_LIBRTE_IGB_PMD=3Dy and that " > "CONFIG_RTE_LIBRTE_EM_PMD=3Dy and that " > - "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy in your " > + "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy and that " > + "CONFIG_RTE_LIBRTE_I40E_PMD=3Dy in your " > "configuration file\n"); >=20 > set_def_fwd_config(); > diff --git a/examples/exception_path/main.c b/examples/exception_path/mai= n.c > index 0204116..c4245a3 100644 > --- a/examples/exception_path/main.c > +++ b/examples/exception_path/main.c > @@ -575,8 +575,9 @@ main(int argc, char** argv) > nb_sys_ports =3D rte_eth_dev_count(); > if (nb_sys_ports =3D=3D 0) > FATAL_ERROR("No supported Ethernet devices found - check that " > - "CONFIG_RTE_LIBRTE_IGB_PMD=3Dy and/or " > - "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy in the config file"); > + "CONFIG_RTE_LIBRTE_IGB_PMD=3Dy, " > + "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy and/or " > + "CONFIG_RTE_LIBRTE_I40E_PMD=3Dy in the config file"); > /* Find highest port set in portmask */ > for (high_port =3D (sizeof(ports_mask) * 8) - 1; > (high_port !=3D 0) && !(ports_mask & (1 << high_port)); > diff --git a/examples/kni/main.c b/examples/kni/main.c > index 7df1b36..f3666e2 100644 > --- a/examples/kni/main.c > +++ b/examples/kni/main.c > @@ -898,8 +898,9 @@ main(int argc, char** argv) > nb_sys_ports =3D rte_eth_dev_count(); > if (nb_sys_ports =3D=3D 0) > rte_exit(EXIT_FAILURE, "No supported Ethernet devices found - " > - "check that CONFIG_RTE_LIBRTE_IGB_PMD=3Dy and/or " > - "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy in the config file\n"); > + "check that CONFIG_RTE_LIBRTE_IGB_PMD=3Dy, " > + "CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy and/or " > + "CONFIG_RTE_LIBRTE_I40E_PMD=3Dy in the config file\n"); >=20 > /* Check if the configured port ID is valid */ > for (i =3D 0; i < RTE_MAX_ETHPORTS; i++) > -- > 1.8.1.4