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 <vipin.vargh...@intel.com> Acked-by: Nikhil Rao <nikhil....@intel.com> --- Changes in v2: rewording for the second comment - 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 834eb53..307b2b5 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.7.4