> -Original Message-
> From: Pavan Nikhilesh Bhagavatula
> [mailto:pbhagavat...@caviumnetworks.com]
> Sent: Tuesday, December 12, 2017 2:18 AM
> To: Eads, Gage ;
> jerin.jacobkollanukka...@cavium.com; Van Haaren, Harry
> ; Rao, Nikhil ;
> hemant.agra...@nxp.com; Ma, Liang J
> Cc: dev@dpd
On Mon, Dec 11, 2017 at 04:15:41PM +, Eads, Gage wrote:
> Hi Pavan,
>
>
>
> > static inline void
> > schedule_devices(unsigned int lcore_id) {
> > if (fdata->rx_core[lcore_id] && (fdata->rx_single ||
> > rte_atomic32_cmpset(&(fdata->rx_lock), 0, 1))) {
> > - producer()
Hi Pavan,
> static inline void
> schedule_devices(unsigned int lcore_id) {
> if (fdata->rx_core[lcore_id] && (fdata->rx_single ||
> rte_atomic32_cmpset(&(fdata->rx_lock), 0, 1))) {
> - producer();
> + rte_service_run_iter_on_app_lcore(fdata->rxadptr_ser
Use event Rx adapter for packets Rx instead of explicit producer logic.
Use service run iter function for granular control instead of using
dedicated service lcore.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline_sw_pmd/main.c | 149 +--
1 file changed,
4 matches
Mail list logo