DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alfredo Cardigliano <cardigliano@ntop.org>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: Thomas Monjalon <thomas@monjalon.net>,
	John McNamara <john.mcnamara@intel.com>,
	Marko Kovacevic <marko.kovacevic@intel.com>,
	dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3 01/17] net/ionic: add skeleton
Date: Thu, 12 Dec 2019 13:01:52 +0100	[thread overview]
Message-ID: <917A33B2-883F-4585-843C-98C1BE8FBCA2@ntop.org> (raw)
In-Reply-To: <60a8f721-1241-52ca-6fa0-467c017e9102@intel.com>



> On 10 Dec 2019, at 19:48, Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> 
> On 12/9/2019 9:46 PM, Alfredo Cardigliano wrote:
>> Add makefile and config file options to compile the Pensando ionic PMD.
>> Add feature and version map file.
>> Update maintainers file.
>> 
>> Signed-off-by: Alfredo Cardigliano <cardigliano@ntop.org>
>> Reviewed-by: Shannon Nelson <snelson@pensando.io>
> 
> <...>
> 
>> @@ -277,6 +277,11 @@ CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n
>> CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n
>> CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n
>> 
>> +#
>> +# Compile Pensando IONIC PMD driver
>> +#
>> +CONFIG_RTE_LIBRTE_IONIC_PMD=y
>> +
> 
> Is the driver supported by BSD platform or i686, arm, PPC architectures? If not
> can you please disable the PMD on those config files?

I guess setting ’n’ in defconfig_* will override common_base settings.
Is there any documentation that I can check for this? Thank you.

> <...>
> 
>> diff --git a/doc/guides/nics/ionic.rst b/doc/guides/nics/ionic.rst
>> new file mode 100644
>> index 000000000..41eac0f6b
>> --- /dev/null
>> +++ b/doc/guides/nics/ionic.rst
>> @@ -0,0 +1,37 @@
>> +..  SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
>> +    Copyright(c) 2018-2019 Pensando Systems, Inc. All rights reserved.
>> +
>> +IONIC Driver
>> +============
>> +
>> +The ionic driver provides support for Pensando server adapters.
>> +Please visit https://pensando.io for more information about the
>> +adapters.
> 
> Thanks for providing the company link, that was useful. But also can you please
> provide a link that has the details of the device that 'ionic' driver is for.
> I can see some documentation related to Naples DSC-xx devices but I assume they
> are something else.
> Btw, related to the HW you are providing the driver for, is it publicly
> available now or are the documentation like specs/datasheets provided publicly?

The website is fairly new and more docs will be available soon from https://pensando.io/platform
Product briefs are available at the moment from the same page, is it fine to link them?
https://pensando.io/assets/documents/Naples_100_ProductBrief-10-2019.pdf
https://pensando.io/assets/documents/Naples-25_ProductBrief_10-2019.pdf

> <...>
> 
>> diff --git a/drivers/net/ionic/Makefile b/drivers/net/ionic/Makefile
>> new file mode 100644
>> index 000000000..d2c2b53b3
>> --- /dev/null
>> +++ b/drivers/net/ionic/Makefile
>> @@ -0,0 +1,38 @@
>> +# SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
>> +# Copyright(c) 2018-2019 Pensando Systems, Inc. All rights reserved.
>> +
>> +include $(RTE_SDK)/mk/rte.vars.mk
>> +
>> +#
>> +# library name
>> +#
>> +LIB = librte_pmd_ionic.a
>> +
>> +CFLAGS += -O3
>> +CFLAGS += $(WERROR_FLAGS)
>> +
>> +EXPORT_MAP := rte_pmd_ionic_version.map
>> +
>> +ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
>> +#
>> +# CFLAGS for icc
>> +#
>> +
>> +else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)
>> +#
>> +# CFLAGS for clang
>> +#
>> +
>> +else
>> +#
>> +# CFLAGS for gcc
>> +#
>> +
>> +endif
> 
> I would suggest only add these when you really have some CFLAGS to add.
> 
>> +
>> +#
>> +# all source are stored in SRCS-y
>> +#
>> +SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) +=
> 
> The SHARED library build is failing because of "undefined reference" to some
> internal libraries.
> You need to add "LDLIBS" as you use them in patches, same thing for meson.

Thank you
Alfredo



  reply	other threads:[~2019-12-12 12:01 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 21:46 [dpdk-dev] [PATCH v3 00/17] Introduces net/ionic PMD Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 01/17] net/ionic: add skeleton Alfredo Cardigliano
2019-12-10 18:48   ` Ferruh Yigit
2019-12-12 12:01     ` Alfredo Cardigliano [this message]
2019-12-12 12:39       ` Ferruh Yigit
2019-12-12 14:09         ` Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 02/17] net/ionic: add hardware structures definitions Alfredo Cardigliano
2019-12-10 18:48   ` Ferruh Yigit
2019-12-13 10:25     ` Hemant Agrawal
2019-12-17 19:46       ` Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 03/17] net/ionic: add log Alfredo Cardigliano
2019-12-10 18:49   ` Ferruh Yigit
2019-12-13 10:22     ` Hemant Agrawal
2019-12-10 18:49   ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 04/17] net/ionic: register and initialize the adapter Alfredo Cardigliano
2019-12-10 18:50   ` Ferruh Yigit
2019-12-12 12:04     ` Alfredo Cardigliano
2019-12-12 12:42       ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 05/17] net/ionic: add port management commands Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 06/17] net/ionic: add basic lif support Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 07/17] net/ionic: add doorbells Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 08/17] net/ionic: add adminq support Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 09/17] net/ionic: add notifyq support Alfredo Cardigliano
2019-12-10 18:53   ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 10/17] net/ionic: add basic port operations Alfredo Cardigliano
2019-12-10 18:50   ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 11/17] net/ionic: add RX filters support Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 12/17] net/ionic: add Flow Control support Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 13/17] net/ionic: add RX and TX handling Alfredo Cardigliano
2019-12-10 18:51   ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 14/17] net/ionic: add RSS support Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 15/17] net/ionic: add stats Alfredo Cardigliano
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 16/17] net/ionic: add TX checksum support Alfredo Cardigliano
2019-12-10 18:52   ` Ferruh Yigit
2019-12-09 21:46 ` [dpdk-dev] [PATCH v3 17/17] net/ionic: read fw version Alfredo Cardigliano
2019-12-10 18:57 ` [dpdk-dev] [PATCH v3 00/17] Introduces net/ionic PMD Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=917A33B2-883F-4585-843C-98C1BE8FBCA2@ntop.org \
    --to=cardigliano@ntop.org \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=john.mcnamara@intel.com \
    --cc=marko.kovacevic@intel.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).