eventdev: add eth Rx adapter implementation
The adapter implementation uses eventdev PMDs to configure the packet transfer if HW support is available and if not, it uses an EAL service function that reads packets from ethernet Rx queues and injects these as events into the event device. Signed-off-by: Gage Eads <gage.eads@intel.com> Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
This commit is contained in:
parent
06ac00686e
commit
9c38b704d2
@ -51,7 +51,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev
|
||||
DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf
|
||||
DEPDIRS-librte_cryptodev += librte_kvargs
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev
|
||||
DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ether
|
||||
DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ether librte_hash
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
|
||||
DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ether
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
|
||||
|
@ -43,6 +43,7 @@ CFLAGS += $(WERROR_FLAGS)
|
||||
# library source files
|
||||
SRCS-y += rte_eventdev.c
|
||||
SRCS-y += rte_event_ring.c
|
||||
SRCS-y += rte_event_eth_rx_adapter.c
|
||||
|
||||
# export include files
|
||||
SYMLINK-y-include += rte_eventdev.h
|
||||
|
1240
lib/librte_eventdev/rte_event_eth_rx_adapter.c
Normal file
1240
lib/librte_eventdev/rte_event_eth_rx_adapter.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -55,5 +55,14 @@ DPDK_17.11 {
|
||||
rte_event_queue_attr_get;
|
||||
|
||||
rte_event_eth_rx_adapter_caps_get;
|
||||
rte_event_eth_rx_adapter_create;
|
||||
rte_event_eth_rx_adapter_create_ext;
|
||||
rte_event_eth_rx_adapter_free;
|
||||
rte_event_eth_rx_adapter_queue_add;
|
||||
rte_event_eth_rx_adapter_queue_del;
|
||||
rte_event_eth_rx_adapter_start;
|
||||
rte_event_eth_rx_adapter_stop;
|
||||
rte_event_eth_rx_adapter_stats_get;
|
||||
rte_event_eth_rx_adapter_stats_reset;
|
||||
|
||||
} DPDK_17.08;
|
||||
|
Loading…
Reference in New Issue
Block a user