[dpdk-dev] [PATCH v2 04/11] examples/l3fwd: add ethdev setup based on eventdev

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Thu Jan 2 07:21:48 CET 2020


>> >&local_port_conf);
>> >> +		if (ret < 0)
>> >> +			rte_exit(EXIT_FAILURE,
>> >> +				 "Cannot configure device: err=%d,
>> >> port=%d\n",
>> >> +				 ret, port_id);
>> >> +
>> >
>> >We should be using number of RX queues as per the config option
>> >provided in the arguments.
>> >L3fwd is supposed to support multiple queue. Right?
>>
>> The entire premise of using event device is to showcase packet
>scheduling to
>> cores
>> without the need for splitting packets across multiple queues.
>>
>> Queue config is ignored when event mode is selected.
>
>For atomic queues, we have single queue providing packets to a single
>core at a time till processing on that core is completed, irrespective of
>the flows on that hardware queue.
>And multiple queues are required to distribute separate packets on
>separate cores, with these atomic queues maintaining the ordering and
>not scheduling on other core, until processing core has completed its
>job.
>To have this solution generic, we should also take config parameter -
>(port, number of queues) to enable multiple ethernet RX queues.
>

Not sure I follow we connect Rx queue to an event queue which is then linked to multiple event ports which are polled on 
by respective cores.
How would increasing Rx queues help? Distributing flows from single event queue to multiple event ports is the responsibility
of Event device as per spec.
Does DPAA/2 function differently? 

Regards,
Pavan.

>Regards,
>Nipun
>
>>
>> >
>> >Regards,
>> >Nipun
>> >
>>
>> Regards,
>> Pavan.


More information about the dev mailing list