From: Thomas Monjalon <thomas@monjalon.net>
To: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com,
santosh.shukla@caviumnetworks.com, anatoly.burakov@intel.com,
lironh@marvell.com, bruce.richardson@intel.com,
fiona.trahe@intel.com, shreyansh.jain@nxp.com,
hemant.agrawal@nxp.com
Subject: Re: [PATCH v3 2/2] octeontx: move mbox to common folder
Date: Tue, 27 Mar 2018 18:15:56 +0200 [thread overview]
Message-ID: <1810472.xOB8M7Gf6E@xps> (raw)
In-Reply-To: <20180326075344.2209-2-pbhagavatula@caviumnetworks.com>
Hi,
26/03/2018 09:53, Pavan Nikhilesh:
> Move commonly used functions across mempool, event and net devices to a
> common folder in drivers.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
> ---
> drivers/common/Makefile | 4 ++
> drivers/common/meson.build | 1 +
> drivers/common/octeontx/Makefile | 24 ++++++++
> drivers/common/octeontx/meson.build | 6 ++
> .../{mempool => common}/octeontx/octeontx_mbox.c | 65 +++++++++++++++++-----
> .../{mempool => common}/octeontx/octeontx_mbox.h | 14 +++++
> .../octeontx/rte_common_octeontx_version.map | 9 +++
> drivers/event/octeontx/Makefile | 4 +-
> drivers/event/octeontx/meson.build | 5 +-
> .../{mempool => event}/octeontx/octeontx_ssovf.c | 20 ++++++-
> drivers/mempool/octeontx/Makefile | 5 +-
> drivers/mempool/octeontx/meson.build | 6 +-
> drivers/mempool/octeontx/octeontx_fpavf.c | 4 --
> drivers/mempool/octeontx/octeontx_pool_logs.h | 9 ---
> .../octeontx/rte_mempool_octeontx_version.map | 6 --
> drivers/net/octeontx/Makefile | 3 +-
You need to update MAINTAINERS for this new directory.
> --- a/mk/rte.app.mk
> +++ b/mk/rte.app.mk
> @@ -217,6 +217,10 @@ endif # CONFIG_RTE_LIBRTE_DPAA_BUS
>
> endif # CONFIG_RTE_LIBRTE_CRYPTODEV
>
> +ifeq ($(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF)$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL),yy)
> +_LDLIBS-y += -lrte_common_octeontx
> +endif
> +
> ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
> _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV) += -lrte_pmd_skeleton_event
> _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += -lrte_pmd_sw_event
It is strange to insert common lib in the middle of PMDs after crypto
and before eventdev, in the "static-only" section.
I think it should be just after bus libs.
Please test static and shared library compilation.
Thanks
next prev parent reply other threads:[~2018-03-27 16:15 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 9:27 [PATCH 1/2] drivers: add common folder Pavan Nikhilesh
2018-03-19 9:27 ` [PATCH 2/2] octeontx: move mbox to " Pavan Nikhilesh
2018-03-19 10:35 ` [PATCH 1/2] drivers: add " Shreyansh Jain
2018-03-20 14:38 ` Pavan Nikhilesh
2018-03-20 14:40 ` [PATCH v2 " Pavan Nikhilesh
2018-03-20 14:40 ` [PATCH v2 2/2] octeontx: move mbox to " Pavan Nikhilesh
2018-03-20 15:01 ` Hemant Agrawal
2018-03-20 16:00 ` Pavan Nikhilesh
2018-03-20 15:45 ` [PATCH v2 1/2] drivers: add " Thomas Monjalon
2018-03-20 16:06 ` Pavan Nikhilesh
2018-03-20 17:01 ` Bruce Richardson
2018-03-20 17:27 ` Thomas Monjalon
2018-03-20 19:25 ` Trahe, Fiona
2018-03-26 7:53 ` [PATCH v3 " Pavan Nikhilesh
2018-03-26 7:53 ` [PATCH v3 2/2] octeontx: move mbox to " Pavan Nikhilesh
2018-03-27 16:15 ` Thomas Monjalon [this message]
2018-03-30 17:23 ` Pavan Nikhilesh
2018-03-27 16:11 ` [PATCH v3 1/2] drivers: add " Thomas Monjalon
2018-04-02 9:09 ` [PATCH v4 " Pavan Nikhilesh
2018-04-02 9:10 ` [PATCH v4 2/2] octeontx: move mbox to " Pavan Nikhilesh
2018-04-04 3:29 ` Jerin Jacob
2018-04-04 5:06 ` santosh
2018-04-04 9:23 ` Thomas Monjalon
2018-04-03 6:57 ` [PATCH v4 1/2] drivers: add " Hemant Agrawal
2018-04-04 3:08 ` Jerin Jacob
2018-04-04 5:01 ` santosh
2018-04-04 14:30 ` [PATCH v5 " Pavan Nikhilesh
2018-04-04 14:30 ` [PATCH v5 2/2] octeontx: move mbox to " Pavan Nikhilesh
2018-04-04 14:37 ` Thomas Monjalon
2018-04-04 21:20 ` Thomas Monjalon
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=1810472.xOB8M7Gf6E@xps \
--to=thomas@monjalon.net \
--cc=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=fiona.trahe@intel.com \
--cc=hemant.agrawal@nxp.com \
--cc=jerin.jacob@caviumnetworks.com \
--cc=lironh@marvell.com \
--cc=pbhagavatula@caviumnetworks.com \
--cc=santosh.shukla@caviumnetworks.com \
--cc=shreyansh.jain@nxp.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.