Multiple PMDs have dummy/noop Rx/Tx packet burst functions. These dummy functions are very simple, introduce a common function in the ethdev and update drivers to use it instead of each driver having its own functions. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
41 lines
850 B
Meson
41 lines
850 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
sources = files(
|
|
'ethdev_driver.c',
|
|
'ethdev_private.c',
|
|
'ethdev_profile.c',
|
|
'ethdev_trace_points.c',
|
|
'rte_class_eth.c',
|
|
'rte_ethdev.c',
|
|
'rte_flow.c',
|
|
'rte_mtr.c',
|
|
'rte_tm.c',
|
|
)
|
|
|
|
headers = files(
|
|
'rte_ethdev.h',
|
|
'rte_ethdev_trace.h',
|
|
'rte_ethdev_trace_fp.h',
|
|
'rte_dev_info.h',
|
|
'rte_flow.h',
|
|
'rte_flow_driver.h',
|
|
'rte_mtr.h',
|
|
'rte_mtr_driver.h',
|
|
'rte_tm.h',
|
|
'rte_tm_driver.h',
|
|
)
|
|
|
|
indirect_headers += files(
|
|
'rte_ethdev_core.h',
|
|
'rte_eth_ctrl.h',
|
|
)
|
|
|
|
driver_sdk_headers += files(
|
|
'ethdev_driver.h',
|
|
'ethdev_pci.h',
|
|
'ethdev_vdev.h',
|
|
)
|
|
|
|
deps += ['net', 'kvargs', 'meter', 'telemetry']
|