From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Alejandro.Lucero" <alejandro.lucero@netronome.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v6 1/7] nfp: basic initialization
Date: Thu, 19 Nov 2015 16:02:19 +0100 [thread overview]
Message-ID: <3447806.02PGEySCAP@xps13> (raw)
In-Reply-To: <1446720201-16386-2-git-send-email-alejandro.lucero@netronome.com>
Hi,
2015-11-05 10:43, Alejandro.Lucero:
> +# Add extra flags for base driver files (also known as shared code)
> +# to disable warnings
> +#
> +ifeq ($(CC), icc)
> +CFLAGS_BASE_DRIVER = -wd593
> +else ifeq ($(CC), clang)
> +CFLAGS_BASE_DRIVER += -Wno-sign-compare
> +CFLAGS_BASE_DRIVER += -Wno-unused-value
> +CFLAGS_BASE_DRIVER += -Wno-unused-parameter
> +CFLAGS_BASE_DRIVER += -Wno-strict-aliasing
> +CFLAGS_BASE_DRIVER += -Wno-format
> +CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers
> +CFLAGS_BASE_DRIVER += -Wno-pointer-to-int-cast
> +CFLAGS_BASE_DRIVER += -Wno-format-nonliteral
> +else
> +CFLAGS_BASE_DRIVER = -Wno-sign-compare
> +CFLAGS_BASE_DRIVER += -Wno-unused-value
> +CFLAGS_BASE_DRIVER += -Wno-unused-parameter
> +CFLAGS_BASE_DRIVER += -Wno-strict-aliasing
> +CFLAGS_BASE_DRIVER += -Wno-format
> +CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers
> +CFLAGS_BASE_DRIVER += -Wno-pointer-to-int-cast
> +CFLAGS_BASE_DRIVER += -Wno-format-nonliteral
> +CFLAGS_BASE_DRIVER += -Wno-format-security
> +
> +ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1)
> +CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
> +endif
> +
> +endif
> +OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(RTE_SDK)/lib/librte_pmd_nfp/*.c)))
> +$(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
These flags were copied from another PMD and should apply only to base drivers
which we have some restricted updates.
> --- a/mk/rte.app.mk
> +++ b/mk/rte.app.mk
> @@ -142,6 +142,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe
> _LDLIBS-$(CONFIG_RTE_LIBRTE_E1000_PMD) += -lrte_pmd_e1000
> _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += -lrte_pmd_mlx4
> _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5
> +_LDLIBS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += -lrte_pmd_nfp
> _LDLIBS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += -lrte_pmd_mpipe -lgxio
> _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_RING) += -lrte_pmd_ring
> _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_PCAP) += -lrte_pmd_pcap
It is not too far of being alphabetically sorted.
next prev parent reply other threads:[~2015-11-19 15:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 10:43 [dpdk-dev] [PATCH v6 0/7] support for netronome nfp-6xxx card Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 1/7] nfp: basic initialization Alejandro.Lucero
2015-11-19 15:02 ` Thomas Monjalon [this message]
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 2/7] nfp: adding rx/tx functionality Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 3/7] nfp: adding rss Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 4/7] nfp: adding stats Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 5/7] nfp: adding link functionality Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 6/7] nfp: adding extra functionality Alejandro.Lucero
2015-11-05 10:43 ` [dpdk-dev] [PATCH v6 7/7] nfp: adding nic guide Alejandro.Lucero
2015-11-05 10:59 ` [dpdk-dev] [PATCH v6 0/7] support for netronome nfp-6xxx card Vincent JARDIN
2015-11-05 11:12 ` Alejandro Lucero
2015-11-05 23:42 ` Stephen Hemminger
2015-11-06 8:26 ` Alejandro Lucero
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=3447806.02PGEySCAP@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=alejandro.lucero@netronome.com \
--cc=dev@dpdk.org \
/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).