]> git.droids-corp.org - dpdk.git/blobdiff - examples/service_cores/main.c
doc: add tested platforms with NXP SoCs
[dpdk.git] / examples / service_cores / main.c
index 83915b9a5350fabbebd2c32298eb60eec7544096..9f520822546b71bd89e8d7d0cc3dd001755c6945 100644 (file)
@@ -118,7 +118,7 @@ apply_profile(int profile_id)
        struct profile *p = &profiles[profile_id];
        const uint8_t core_off = 1;
 
-       if (p->num_cores > rte_lcore_count() + 1) {
+       if (p->num_cores > rte_lcore_count() - 1) {
                printf("insufficent cores to run (%s)",
                        p->name);
                return;