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 3AA282BDF for ; Thu, 26 May 2016 11:38:03 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP; 26 May 2016 02:38:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,367,1459839600"; d="scan'208";a="110826680" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.104]) by fmsmga004.fm.intel.com with SMTP; 26 May 2016 02:38:01 -0700 Received: by (sSMTP sendmail emulation); Thu, 26 May 2016 10:38:00 +0025 Date: Thu, 26 May 2016 10:38:00 +0100 From: Bruce Richardson To: Stephen Hurd Cc: dev@dpdk.org Message-ID: <20160526093800.GC11928@bricha3-MOBL3> References: <1463179589-82681-1-git-send-email-stephen.hurd@broadcom.com> <1463179589-82681-8-git-send-email-stephen.hurd@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463179589-82681-8-git-send-email-stephen.hurd@broadcom.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2 08/40] bnxt: add completion ring support 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: Thu, 26 May 2016 09:38:04 -0000 On Fri, May 13, 2016 at 03:45:57PM -0700, Stephen Hurd wrote: > Structures, macros, and functions for working with completion rings > in the driver. > > Signed-off-by: Stephen Hurd > Reviewed-by: Ajit Kumar Khaparde > --- > drivers/net/bnxt/Makefile | 1 + > drivers/net/bnxt/bnxt.h | 6 + > drivers/net/bnxt/bnxt_cpr.c | 139 +++++++++++++++++++ > drivers/net/bnxt/bnxt_cpr.h | 88 ++++++++++++ > drivers/net/bnxt/bnxt_hwrm.c | 18 +++ > drivers/net/bnxt/bnxt_hwrm.h | 2 + > drivers/net/bnxt/hsi_struct_def_dpdk.h | 239 ++++++++++++++++++++++++++++++++- > 7 files changed, 487 insertions(+), 6 deletions(-) > create mode 100644 drivers/net/bnxt/bnxt_cpr.c > create mode 100644 drivers/net/bnxt/bnxt_cpr.h > > diff --git a/drivers/net/bnxt/Makefile b/drivers/net/bnxt/Makefile > index 757ea62..afd1690 100644 > --- a/drivers/net/bnxt/Makefile > +++ b/drivers/net/bnxt/Makefile > @@ -48,6 +48,7 @@ EXPORT_MAP := rte_pmd_bnxt_version.map > # > # all source are stored in SRCS-y > # > +SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_cpr.c > SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_ethdev.c > SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_hwrm.c > SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_ring.c > diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net/bnxt/bnxt.h > index 846972e..4e0b514 100644 > --- a/drivers/net/bnxt/bnxt.h > +++ b/drivers/net/bnxt/bnxt.h > @@ -42,6 +42,9 @@ > #include > #include > > +/* TODO make bnxt.def_cp_ring a pointer to avoid this... */ > +#include "bnxt_cpr.h" > + I see this TODO is fixed a couple of patches later. Can we get the fix included in this patch so that the TODO never appears? /Bruce