summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNikhil Rao <nikhil.rao@intel.com>2018-09-20 23:11:14 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2018-10-01 16:51:13 +0200
commita3bbf2e09756071a1234a3de3df9b046c249e475 (patch)
treed09082f0d2ced7969a4102bbc564cc18956383d3 /config
parentc662a950f4422b209af454a2e98c6a30bfb99a04 (diff)
downloaddpdk-a3bbf2e09756071a1234a3de3df9b046c249e475.zip
dpdk-a3bbf2e09756071a1234a3de3df9b046c249e475.tar.gz
dpdk-a3bbf2e09756071a1234a3de3df9b046c249e475.tar.xz
eventdev: add eth Tx adapter implementation
This patch implements the Tx adapter APIs by invoking the corresponding eventdev PMD callbacks and also provides the common rte_service function based implementation when the eventdev PMD support is absent. Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base1
-rw-r--r--config/rte_config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 86e3833..acc5211 100644
--- a/config/common_base
+++ b/config/common_base
@@ -602,6 +602,7 @@ CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
CONFIG_RTE_EVENT_ETH_INTR_RING_SIZE=1024
CONFIG_RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE=32
+CONFIG_RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE=32
#
# Compile PMD for skeleton event device
diff --git a/config/rte_config.h b/config/rte_config.h
index 567051b..20c58df 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -69,6 +69,7 @@
#define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32
#define RTE_EVENT_ETH_INTR_RING_SIZE 1024
#define RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE 32
+#define RTE_EVENT_ETH_TX_ADAPTER_MAX_INSTANCE 32
/* rawdev defines */
#define RTE_RAWDEV_MAX_DEVS 10