]> git.droids-corp.org - dpdk.git/commit
app/testpmd: remove atomic operations for port status
authorJoyce Kong <joyce.kong@arm.com>
Wed, 17 Nov 2021 08:21:58 +0000 (08:21 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 17 Nov 2021 10:07:06 +0000 (11:07 +0100)
commiteac341d38756a8201979d5594a291fbbd09ee480
treee0c93ede4b30be31d3596ed3a446736bfc6e9305
parent510948720587d8295ba1849cbba05f7f36cd5d7f
app/testpmd: remove atomic operations for port status

The port_status changes do not need to be handled
atomically, as they are modified during initialization
or through the testpmd prompt instead of multiple
threads.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
app/test-pmd/testpmd.c