X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fexception_path%2Fmain.c;h=73d50b69213b4f52f6e827c24c31017773cae088;hb=425781ff5afe08b77c58ec5e4d5cf56b9ac19e02;hp=bec980403cc66b37aa138aa302351783b536989c;hpb=09419f235e099ecb265a590778fe64a685a2a241;p=dpdk.git diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index bec980403c..73d50b6921 100644 --- a/examples/exception_path/main.c +++ b/examples/exception_path/main.c @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include @@ -350,8 +349,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++;