Skip to content

Commit

Permalink
drivers/raw: remove rawdev from directory names
Browse files Browse the repository at this point in the history
The ifpga and skeleton rawdev drivers included "rawdev" in their directory
names, which was superfluous given that they were in the drivers/raw
directory. Shorten the names via this patch.

For meson builds, this will rename the final library .so/.a files
produced, but those will be renamed again later via a patch to
standardize rawdev names.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
  • Loading branch information
bruce-richardson authored and tmonjalo committed Jul 30, 2019
1 parent 6420da3 commit 473c88f
Show file tree
Hide file tree
Showing 56 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ Raw device API - EXPERIMENTAL
M: Shreyansh Jain <shreyansh.jain@nxp.com>
M: Hemant Agrawal <hemant.agrawal@nxp.com>
F: lib/librte_rawdev/
F: drivers/raw/skeleton_rawdev/
F: drivers/raw/skeleton/
F: app/test/test_rawdev.c
F: doc/guides/prog_guide/rawdev.rst

Expand Down Expand Up @@ -1103,13 +1103,13 @@ Rawdev Drivers
Intel FPGA
M: Rosen Xu <rosen.xu@intel.com>
M: Tianfei zhang <tianfei.zhang@intel.com>
F: drivers/raw/ifpga_rawdev/
F: doc/guides/rawdevs/ifpga_rawdev.rst
F: drivers/raw/ifpga/
F: doc/guides/rawdevs/ifpga.rst

IOAT Rawdev
M: Bruce Richardson <bruce.richardson@intel.com>
F: drivers/raw/ioat/
F: doc/guides/rawdevs/ioat_rawdev.rst
F: doc/guides/rawdevs/ioat.rst

NXP DPAA2 QDMA
M: Nipun Gupta <nipun.gupta@nxp.com>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions doc/guides/rawdevs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ application through rawdev API.

dpaa2_cmdif
dpaa2_qdma
ifpga_rawdev
ioat_rawdev
ifpga
ioat
ntb
octeontx2_dma
File renamed without changes.
4 changes: 2 additions & 2 deletions drivers/raw/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
include $(RTE_SDK)/mk/rte.vars.mk

# DIRS-$(<configuration>) += <directory>
DIRS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV) += skeleton_rawdev
DIRS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_RAWDEV) += skeleton
ifeq ($(CONFIG_RTE_EAL_VFIO)$(CONFIG_RTE_LIBRTE_FSLMC_BUS),yy)
DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV) += dpaa2_cmdif
DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV) += dpaa2_qdma
endif
DIRS-$(CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV) += ifpga_rawdev
DIRS-$(CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV) += ifpga
DIRS-$(CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV) += ioat
DIRS-$(CONFIG_RTE_LIBRTE_PMD_NTB_RAWDEV) += ntb
DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += octeontx2_dma
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ LDLIBS += -lrte_kvargs
LDLIBS += -lrte_bus_pci
LDLIBS += -lrte_bus_ifpga

EXPORT_MAP := rte_pmd_ifpga_rawdev_version.map
EXPORT_MAP := rte_pmd_ifpga_version.map

LIBABIVER := 1

VPATH += $(SRCDIR)/base

include $(RTE_SDK)/drivers/raw/ifpga_rawdev/base/Makefile
include $(RTE_SDK)/drivers/raw/ifpga/base/Makefile

#
# all source are stored in SRCS-y
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions drivers/raw/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Copyright 2018 NXP

drivers = ['dpaa2_cmdif', 'dpaa2_qdma',
'ifpga_rawdev', 'ioat', 'ntb',
'ifpga', 'ioat', 'ntb',
'octeontx2_dma',
'skeleton_rawdev']
'skeleton']
std_deps = ['rawdev']
config_flag_fmt = 'RTE_LIBRTE_PMD_@0@_RAWDEV'
driver_name_fmt = 'rte_pmd_@0@'
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LDLIBS += -lrte_rawdev
LDLIBS += -lrte_bus_vdev
LDLIBS += -lrte_kvargs

EXPORT_MAP := rte_pmd_skeleton_rawdev_version.map
EXPORT_MAP := rte_pmd_skeleton_version.map

LIBABIVER := 1

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 473c88f

Please sign in to comment.