X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fexception_path%2Fmain.c;h=e5eedcc163c96c64518f7ba045963c70901b8830;hb=80ceb374e23a993b43628ab8437fce8d720f52fb;hp=bec980403cc66b37aa138aa302351783b536989c;hpb=09419f235e099ecb265a590778fe64a685a2a241;p=dpdk.git diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index bec980403c..e5eedcc163 100644 --- a/examples/exception_path/main.c +++ b/examples/exception_path/main.c @@ -350,8 +350,7 @@ setup_port_lcore_affinities(void) } port_ids[i] = rx_port++; - } - else if (output_cores_mask & (1ULL << i)) { + } else if (output_cores_mask & (1ULL << (i & 0x3f))) { /* Skip ports that are not enabled */ while ((ports_mask & (1 << tx_port)) == 0) { tx_port++;