From 811a76c903293bef6ef1bba587aba32af8192f5d Mon Sep 17 00:00:00 2001 From: Vipin Varghese Date: Mon, 21 May 2018 15:59:00 +0530 Subject: [PATCH] eventdev: add note in Rx adapter API doc rte_event_eth_rx_adapter_create allocates eth_devices for currently available eth devices. For newly created eth devices a new instance for rx adapter has to be created. Signed-off-by: Vipin Varghese Acked-by: Nikhil Rao --- lib/librte_eventdev/rte_event_eth_rx_adapter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.h b/lib/librte_eventdev/rte_event_eth_rx_adapter.h index 834eb5341f..307b2b5081 100644 --- a/lib/librte_eventdev/rte_event_eth_rx_adapter.h +++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.h @@ -63,7 +63,10 @@ * rte_event_eth_rx_adapter_service_id_get() function can be used to retrieve * the service function ID of the adapter in this case. * - * Note: Interrupt driven receive queues are currently unimplemented. + * Note: + * 1) Interrupt driven receive queues are currently unimplemented. + * 2) Devices created after an instance of rte_event_eth_rx_adapter_create + * should be added to a new instance of the rx adapter. */ #ifdef __cplusplus -- 2.20.1