From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v5 1/8] net/mvneta: add neta PMD skeleton Date: Mon, 24 Sep 2018 10:38:58 +0100 Message-ID: <2163b301-a8e1-14cc-c248-d700370460a8@intel.com> References: <1537369294-17099-1-git-send-email-amo@semihalf.com> <1537434339-22570-1-git-send-email-amo@semihalf.com> <1537434339-22570-2-git-send-email-amo@semihalf.com> <7bb2d295-11dc-fabe-c982-e27688db1327@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: mw@semihalf.com, zr@semihalf.com, tdu@semihalf.com, nadavh@marvell.com To: Andrzej Ostruszka , dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4B0F81AFF for ; Mon, 24 Sep 2018 11:39:01 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/24/2018 10:35 AM, Ferruh Yigit wrote: > On 9/24/2018 10:21 AM, Ferruh Yigit wrote: >> On 9/20/2018 10:05 AM, Andrzej Ostruszka wrote: >>> From: Zyta Szpak >>> >>> Add neta pmd driver skeleton providing base for the further >>> development. >>> >>> Signed-off-by: Natalie Samsonov >>> Signed-off-by: Yelena Krivosheev >>> Signed-off-by: Dmitri Epshtein >>> Signed-off-by: Zyta Szpak >>> Signed-off-by: Andrzej Ostruszka >> >> <...> >> >>> @@ -0,0 +1,75 @@ >>> +/* SPDX-License-Identifier: BSD-3-Clause >>> + * Copyright(c) 2018 Marvell International Ltd. >>> + * Copyright(c) 2018 Semihalf. >>> + * All rights reserved. >>> + */ >>> + >>> +#ifndef _MVNETA_ETHDEV_H_ >>> +#define _MVNETA_ETHDEV_H_ >>> + >>> +/* >>> + * container_of is defined by both DPDK and MUSDK, >>> + * we'll declare only one version. >>> + * >>> + * Note that it is not used in this PMD anyway. >>> + */ >>> +#ifdef container_of >>> +#undef container_of >>> +#endif >>> + >>> +#include >>> +#include >> >> Can't find mv_neta.h in $(LIBMUSDK_PATH)/include [1] >> >> There is a "mv_neta.h" in "./src/include/drivers/mv_neta.h" but not in the >> installed path. >> /usr/local/include/drivers. >> >> Is there a specific build param required for musdk for neta support? > > I found it: --enable-bpool-dma=64 --enable-pp2=no --enable-neta, btw, getting "configure: WARNING: unrecognized options: --enable-bpool-dma" FYI > > But this means I need different musdk builds for mvpp2 and mvneta! > Can't it possible to use single musdk build for both libraries? > >> >> [1] >> .../drivers/net/mvneta/mvneta_ethdev.h:24:10: fatal error: 'drivers/mv_neta.h' >> file not found >> #include >> >> ^~~~~~~~~~~~~~~~~~~ >> >