[dpdk-dev] [PATCH 04/14] test/hash: fix off-by-one check on core count

Wang, Yipeng1 yipeng1.wang at intel.com
Wed Jun 5 22:02:08 CEST 2019


>-----Original Message-----
>From: David Marchand [mailto:david.marchand at redhat.com]
>Sent: Tuesday, June 4, 2019 2:00 AM
>To: dev at dpdk.org
>Cc: thomas at monjalon.net; aconole at redhat.com; msantana at redhat.com; stable at dpdk.org; Wang, Yipeng1
><yipeng1.wang at intel.com>; Gobriel, Sameh <sameh.gobriel at intel.com>; Richardson, Bruce <bruce.richardson at intel.com>; De Lara
>Guarch, Pablo <pablo.de.lara.guarch at intel.com>
>Subject: [PATCH 04/14] test/hash: fix off-by-one check on core count
>
>This subtest wants to start rwc_core_cnt[n] reader threads, while the
>master core is waiting for them to report.
>
[Wang, Yipeng] May add a sentence to make the commit message more explicit:
The code does not consider the master core in the core
count calculation. This commit fixes this issue.


>Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency")
>Cc: stable at dpdk.org
>
>Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Yipeng Wang <yipeng1.wang at intel.com>


More information about the dev mailing list