[dpdk-dev] [PATCH v2 09/62] net/cnxk: add build infra and common probe

Jerin Jacob jerinjacobk at gmail.com
Mon Jun 14 05:52:10 CEST 2021


On Mon, Jun 7, 2021 at 11:34 PM Nithin Dabilpuram
<ndabilpuram at marvell.com> wrote:
>
> Add build infrastructure and common probe and remove for cnxk driver
> which is used by both CN10K and CN9K SoC.
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>
> ---
>  MAINTAINERS                           |   3 +
>  doc/guides/nics/cnxk.rst              |  29 +++++
>  doc/guides/nics/features/cnxk.ini     |   9 ++
>  doc/guides/nics/features/cnxk_vec.ini |   9 ++
>  doc/guides/nics/features/cnxk_vf.ini  |   9 ++
>  doc/guides/nics/index.rst             |   1 +
>  doc/guides/platform/cnxk.rst          |   3 +
>  drivers/net/cnxk/cnxk_ethdev.c        | 219 ++++++++++++++++++++++++++++++++++
>  drivers/net/cnxk/cnxk_ethdev.h        |  57 +++++++++
>  drivers/net/cnxk/meson.build          |  21 ++++
>  drivers/net/cnxk/version.map          |   3 +
>  drivers/net/meson.build               |   1 +
>  12 files changed, 364 insertions(+)
>  create mode 100644 doc/guides/nics/cnxk.rst
>  create mode 100644 doc/guides/nics/features/cnxk.ini
>  create mode 100644 doc/guides/nics/features/cnxk_vec.ini
>  create mode 100644 doc/guides/nics/features/cnxk_vf.ini
>  create mode 100644 drivers/net/cnxk/cnxk_ethdev.c
>  create mode 100644 drivers/net/cnxk/cnxk_ethdev.h
>  create mode 100644 drivers/net/cnxk/meson.build
>  create mode 100644 drivers/net/cnxk/version.map


21.08 release note update also can be done in this patch.


>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 5877a16..2be220e 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -746,6 +746,9 @@ M: Sunil Kumar Kori <skori at marvell.com>
>  M: Satha Rao <skoteshwar at marvell.com>
>  T: git://dpdk.org/next/dpdk-next-net-mrvl
>  F: drivers/common/cnxk/
> +F: drivers/net/cnxk/
> +F: doc/guides/nics/cnxk.rst
> +F: doc/guides/nics/features/cnxk*.ini
>  F: doc/guides/platform/cnxk.rst

Sort this in alphabetical order.

> +
> +extra_flags = ['-flax-vector-conversions', '-Wno-strict-aliasing']

Move this to patch where this actually required and have one line
comment on need.


> +foreach flag: extra_flags
> +       if cc.has_argument(flag)
> +               cflags += flag
> +       endif
> +endforeach


More information about the dev mailing list