DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/5] some bbdev cleanups
@ 2019-10-04 17:19 Bruce Richardson
  2019-10-04 17:19 ` [dpdk-dev] [PATCH 1/5] drivers/baseband: align meson defines with make Bruce Richardson
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Bruce Richardson @ 2019-10-04 17:19 UTC (permalink / raw)
  To: dev, Nicolas Chautru; +Cc: Akhil Goyal, Andrzej Ostruszka, Bruce Richardson

As pointed out in the discussion of the patchset for building shared and
static libraries separately [1], the test_bbdev_perf.c file explicitly
disables some code for shared library builds. This is due to functions
not being properly exported from one of the baseband drivers.

While fixing this and looking to remove the #ifdef for shared libraries,
it was discovered that the per-driver macro used in that file was
incorrect for use in the meson build due to inconsistencies of naming
between the two builds.

Therefore, this set adjusts the macros and names of the drivers so that
they are consistent across drivers, and between both meson and make.
Thereafter the missing function for the fpga_lte_fec driver is exported
and the #ifdef removed from the code.

After these patches are replied, the only instance of the
RTE_BUILD_SHARED_LIB macro used in .c/.h file is in rte_compat.h for
function versioning support.

[1] http://patches.dpdk.org/project/dpdk/list/?series=6596

Bruce Richardson (5):
  drivers/baseband: align meson defines with make
  baseband/fpga_lte_fec: align naming to other bbdevs
  drivers/baseband: remove override of driver names
  baseband/fpga_lte_fec: add public API to map file
  app/test-bbdev: enable fpga_lte_fec support in shared builds

 app/test-bbdev/Makefile                                   | 3 +++
 app/test-bbdev/meson.build                                | 6 +++---
 app/test-bbdev/test_bbdev_perf.c                          | 8 +++-----
 config/common_base                                        | 2 +-
 doc/guides/bbdevs/fpga_lte_fec.rst                        | 2 +-
 drivers/baseband/Makefile                                 | 2 +-
 drivers/baseband/fpga_lte_fec/Makefile                    | 6 +++---
 drivers/baseband/fpga_lte_fec/fpga_lte_fec.h              | 1 +
 drivers/baseband/fpga_lte_fec/meson.build                 | 1 -
 .../fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map   | 4 ++++
 drivers/baseband/meson.build                              | 4 ++--
 drivers/baseband/null/meson.build                         | 1 -
 drivers/baseband/turbo_sw/meson.build                     | 1 -
 mk/rte.app.mk                                             | 2 +-
 14 files changed, 23 insertions(+), 20 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-09  9:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 17:19 [dpdk-dev] [PATCH 0/5] some bbdev cleanups Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 1/5] drivers/baseband: align meson defines with make Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 2/5] baseband/fpga_lte_fec: align naming to other bbdevs Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 3/5] drivers/baseband: remove override of driver names Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 4/5] baseband/fpga_lte_fec: add public API to map file Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 5/5] app/test-bbdev: enable fpga_lte_fec support in shared builds Bruce Richardson
2019-10-07 18:29   ` Chautru, Nicolas
2019-10-09  9:28 ` [dpdk-dev] [PATCH 0/5] some bbdev cleanups Akhil Goyal

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).