eventdev: make driver-only headers private

The rte_eventdev_pmd*.h files are for drivers only and should be private
to DPDK, and not installed for app use.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Bruce Richardson 2021-01-29 16:48:20 +00:00 committed by David Marchand
parent df96fd0d73
commit 2518704288
26 changed files with 35 additions and 32 deletions

View File

@ -157,6 +157,12 @@ Removed Items
``ethdev_vdev.h`` and ``ethdev_pci.h`` respectively in the source tree, to
reflect the fact that they are non-public headers.
* The internal header files ``rte_eventdev_pmd.h``, ``rte_eventdev_pmd_vdev.h``
and ``rte_eventdev_pmd_pci.h`` are no longer installed as part of the DPDK
``ninja install`` action and are renamed to ``eventdev_pmd.h``,
``eventdev_pmd_vdev.h`` and ``eventdev_pmd_pci.h`` respectively in the source
tree, to reflect the fact that they are non-public headers.
* Removed support for NetXtreme devices belonging to ``BCM573xx and
BCM5740x`` families. Specifically the support for the following Broadcom
PCI device IDs ``0x16c8, 0x16c9, 0x16ca, 0x16ce, 0x16cf, 0x16df, 0x16d0,``

View File

@ -31,7 +31,7 @@
#include <rte_string_fns.h>
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <eventdev_pmd.h>
#include "dlb_priv.h"
#include "dlb_iface.h"

View File

@ -10,8 +10,8 @@
#include <rte_bus_pci.h>
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <rte_eventdev_pmd_pci.h>
#include <eventdev_pmd.h>
#include <eventdev_pmd_pci.h>
#include <rte_pci.h>
#include "dlb_user.h"

View File

@ -3,7 +3,7 @@
*/
#include "rte_eventdev.h"
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_pmd_dlb.h"
#include "dlb_priv.h"
#include "dlb_inline_fns.h"

View File

@ -20,7 +20,7 @@
#include <rte_dev.h>
#include <rte_errno.h>
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <eventdev_pmd.h>
#include <rte_io.h>
#include <rte_kvargs.h>
#include <rte_log.h>

View File

@ -26,8 +26,8 @@
#include <rte_pci.h>
#include <rte_bus_pci.h>
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <rte_eventdev_pmd_pci.h>
#include <eventdev_pmd.h>
#include <eventdev_pmd_pci.h>
#include <rte_memory.h>
#include <rte_string_fns.h>

View File

@ -3,7 +3,7 @@
*/
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <eventdev_pmd.h>
#include "rte_pmd_dlb2.h"
#include "dlb2_priv.h"

View File

@ -24,7 +24,7 @@
#include <rte_memzone.h>
#include <rte_pci.h>
#include <rte_eventdev.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd_vdev.h>
#include <rte_ethdev.h>
#include <rte_event_eth_rx_adapter.h>
#include <rte_event_eth_tx_adapter.h>

View File

@ -5,8 +5,8 @@
#ifndef __DPAA_EVENTDEV_H__
#define __DPAA_EVENTDEV_H__
#include <rte_eventdev_pmd.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd.h>
#include <eventdev_pmd_vdev.h>
#include <rte_atomic.h>
#include <rte_per_lcore.h>

View File

@ -5,8 +5,8 @@
#ifndef __DPAA2_EVENTDEV_H__
#define __DPAA2_EVENTDEV_H__
#include <rte_eventdev_pmd.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd.h>
#include <eventdev_pmd_vdev.h>
#include <rte_atomic.h>
#include <mc/fsl_dpcon.h>
#include <mc/fsl_mc_sys.h>

View File

@ -5,8 +5,8 @@
#include <stdbool.h>
#include <rte_cycles.h>
#include <rte_eventdev_pmd.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd.h>
#include <eventdev_pmd_vdev.h>
#include <rte_random.h>
#include <rte_ring_elem.h>

View File

@ -6,7 +6,7 @@
#define __SSOVF_EVDEV_H__
#include <rte_event_eth_tx_adapter.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd_vdev.h>
#include <rte_io.h>
#include <octeontx_mbox.h>

View File

@ -7,7 +7,7 @@
#include <rte_bus_pci.h>
#include <rte_common.h>
#include <rte_eal.h>
#include <rte_eventdev_pmd_pci.h>
#include <eventdev_pmd_pci.h>
#include <rte_kvargs.h>
#include <rte_mbuf_pool_ops.h>
#include <rte_pci.h>

View File

@ -6,7 +6,7 @@
#define __OTX2_EVDEV_H__
#include <rte_eventdev.h>
#include <rte_eventdev_pmd.h>
#include <eventdev_pmd.h>
#include <rte_event_eth_rx_adapter.h>
#include <rte_event_eth_tx_adapter.h>

View File

@ -6,7 +6,7 @@
#define _OPDL_EVDEV_H_
#include <rte_eventdev.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd_vdev.h>
#include <rte_atomic.h>
#include "opdl_ring.h"

View File

@ -5,8 +5,8 @@
#ifndef __SKELETON_EVENTDEV_H__
#define __SKELETON_EVENTDEV_H__
#include <rte_eventdev_pmd_pci.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd_pci.h>
#include <eventdev_pmd_vdev.h>
#ifdef RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG
#define PMD_DRV_LOG(level, fmt, args...) \

View File

@ -7,7 +7,7 @@
#include "sw_evdev_log.h"
#include <rte_eventdev.h>
#include <rte_eventdev_pmd_vdev.h>
#include <eventdev_pmd_vdev.h>
#include <rte_atomic.h>
#define SW_DEFAULT_CREDIT_QUANTA 32

View File

@ -26,7 +26,7 @@ extern "C" {
#include <rte_pci.h>
#include <rte_bus_pci.h>
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
typedef int (*eventdev_pmd_pci_callback_t)(struct rte_eventdev *dev);

View File

@ -24,7 +24,7 @@ extern "C" {
#include <rte_eal.h>
#include <rte_bus_vdev.h>
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
/**
* @internal

View File

@ -15,9 +15,6 @@ sources = files('rte_eventdev.c',
'rte_event_crypto_adapter.c',
'rte_event_eth_tx_adapter.c')
headers = files('rte_eventdev.h',
'rte_eventdev_pmd.h',
'rte_eventdev_pmd_pci.h',
'rte_eventdev_pmd_vdev.h',
'rte_eventdev_trace.h',
'rte_eventdev_trace_fp.h',
'rte_event_ring.h',

View File

@ -15,7 +15,7 @@
#include <rte_service_component.h>
#include "rte_eventdev.h"
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_eventdev_trace.h"
#include "rte_event_crypto_adapter.h"

View File

@ -19,7 +19,7 @@
#include <rte_interrupts.h>
#include "rte_eventdev.h"
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_eventdev_trace.h"
#include "rte_event_eth_rx_adapter.h"

View File

@ -5,7 +5,7 @@
#include <rte_service_component.h>
#include <rte_ethdev.h>
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_eventdev_trace.h"
#include "rte_event_eth_tx_adapter.h"

View File

@ -21,7 +21,7 @@
#include <rte_cycles.h>
#include "rte_eventdev.h"
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_eventdev_trace.h"
#include "rte_event_timer_adapter.h"
#include "rte_event_timer_adapter_pmd.h"

View File

@ -35,7 +35,7 @@
#include <rte_telemetry.h>
#include "rte_eventdev.h"
#include "rte_eventdev_pmd.h"
#include "eventdev_pmd.h"
#include "rte_eventdev_trace.h"
static struct rte_eventdev rte_event_devices[RTE_EVENT_MAX_DEVS];