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 4B0F81AFF for ; Mon, 24 Sep 2018 11:39:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 02:39:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="91377718" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.39]) ([10.237.221.39]) by fmsmga004.fm.intel.com with ESMTP; 24 Sep 2018 02:38:58 -0700 From: Ferruh Yigit To: Andrzej Ostruszka , dev@dpdk.org Cc: mw@semihalf.com, zr@semihalf.com, tdu@semihalf.com, nadavh@marvell.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> Openpgp: preference=signencrypt Message-ID: <2163b301-a8e1-14cc-c248-d700370460a8@intel.com> Date: Mon, 24 Sep 2018 10:38:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 1/8] net/mvneta: add neta PMD skeleton 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: , X-List-Received-Date: Mon, 24 Sep 2018 09:39:02 -0000 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 >> >> ^~~~~~~~~~~~~~~~~~~ >> >