X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl2fwd-event%2Fl2fwd_poll.c;h=f7d8945a129beee0dfcc00e0364aa0b7c70c2bac;hb=fdadccfa3fb97acf06641a5fa823b05de1cca0bb;hp=a3a3835582d23239f2fedceed2b499611e7ae695;hpb=66cb1916f654a8ffe09130d1e09f16c97268d0c3;p=dpdk.git diff --git a/examples/l2fwd-event/l2fwd_poll.c b/examples/l2fwd-event/l2fwd_poll.c index a3a3835582..f7d8945a12 100644 --- a/examples/l2fwd-event/l2fwd_poll.c +++ b/examples/l2fwd-event/l2fwd_poll.c @@ -116,6 +116,7 @@ l2fwd_poll_lcore_config(struct l2fwd_resources *rsrc) /* get the lcore_id for this port */ while (rte_lcore_is_enabled(rx_lcore_id) == 0 || + rx_lcore_id == rte_get_main_lcore() || poll_rsrc->lcore_queue_conf[rx_lcore_id].n_rx_port == rsrc->rx_queue_per_lcore) { rx_lcore_id++;