summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNikhil Rao <nikhil.rao@intel.com>2018-07-02 14:41:13 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2018-07-06 06:54:49 +0200
commit3810ae435783cae8feb96e90095f0ec84cc12d43 (patch)
treedddca6827680b07c474124158a873820f78c1a96 /config
parent6de3219c058877b87c5637096cd3f2025655ba39 (diff)
downloaddpdk-3810ae435783cae8feb96e90095f0ec84cc12d43.zip
dpdk-3810ae435783cae8feb96e90095f0ec84cc12d43.tar.gz
dpdk-3810ae435783cae8feb96e90095f0ec84cc12d43.tar.xz
eventdev: add interrupt driven queues to Rx adapter
Add support for interrupt driven queues when eth device is configured for rxq interrupts and servicing weight for the queue is configured to be zero. A interrupt driven packet received counter has been added to rte_event_eth_rx_adapter_stats. 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 e4241db..c305a77 100644
--- a/config/common_base
+++ b/config/common_base
@@ -575,6 +575,7 @@ CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
CONFIG_RTE_EVENT_MAX_DEVS=16
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
#
diff --git a/config/rte_config.h b/config/rte_config.h
index 8a3432a..28f04b4 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -64,6 +64,7 @@
#define RTE_EVENT_MAX_DEVS 16
#define RTE_EVENT_MAX_QUEUES_PER_DEV 64
#define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32
+#define RTE_EVENT_ETH_INTR_RING_SIZE 1024
#define RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE 32
/* rawdev defines */