From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 30/39] bnxt: add start/stop/link update operations Date: Wed, 8 Jun 2016 11:02:08 +0100 Message-ID: <20160608100208.GA11724@bricha3-MOBL3> References: <1465250923-78695-1-git-send-email-stephen.hurd@broadcom.com> <1465250923-78695-30-git-send-email-stephen.hurd@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ajit.khaparde@broadcom.com To: Stephen Hurd Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AF1BC9AF6 for ; Wed, 8 Jun 2016 12:02:12 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1465250923-78695-30-git-send-email-stephen.hurd@broadcom.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jun 06, 2016 at 03:08:34PM -0700, Stephen Hurd wrote: > From: Ajit Khaparde >=20 > This patch adds code to add the start, stop and link update dev_ops. > The BNXT driver will now minimally pass traffic with testpmd. >=20 > v4: > - Fix issues pointed out by checkpatch. > - Shorten the string passed for reserving memzone > when default completion ring is created. >=20 > Signed-off-by: Ajit Khaparde > Reviewed-by: David Christensen > Signed-off-by: Stephen Hurd > --- > drivers/net/bnxt/bnxt_ethdev.c | 269 +++++++++++++++++++++++++++++++++= ++++++++ > 1 file changed, 269 insertions(+) >=20 I get compilation errors after applying this patch: =3D=3D Build drivers/net/bnxt CC bnxt_ethdev.o /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c: In fun= ction =E2=80=98bnxt_init_chip=E2=80=99: /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c:135:7: = error: implicit declaration of function =E2=80=98bnxt_alloc_hwrm_rings=E2= =80=99 [-Werror=3Dimplicit-function-declaration] rc =3D bnxt_alloc_hwrm_rings(bp); ^ /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c:135:2: = error: nested extern declaration of =E2=80=98bnxt_alloc_hwrm_rings=E2=80=99= [-Werror=3Dnested-externs] rc =3D bnxt_alloc_hwrm_rings(bp); ^ /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c: In fun= ction =E2=80=98bnxt_init_nic=E2=80=99: /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c:233:2: = error: implicit declaration of function =E2=80=98bnxt_init_ring_grps=E2=80= =99 [-Werror=3Dimplicit-function-declaration] bnxt_init_ring_grps(bp); ^ /home/bruce/next-net/dpdk-next-net/drivers/net/bnxt/bnxt_ethdev.c:233:2: = error: nested extern declaration of =E2=80=98bnxt_init_ring_grps=E2=80=99= [-Werror=3Dnested-externs] cc1: all warnings being treated as errors /home/bruce/next-net/dpdk-next-net/mk/internal/rte.compile-pre.mk:126: re= cipe for target 'bnxt_ethdev.o' failed make[5]: *** [bnxt_ethdev.o] Error 1