Re: [dpdk-dev] [PATCH v6] app/test: add tests for atomic exchanges

2019-11-07 Thread David Marchand
On Wed, Nov 6, 2019 at 10:18 PM David Christensen wrote: > > The test works by creating a token comprised of random data > and a CRC8 value, using the rte_atomicXX_exchange to exchange > the new token for a previously generated token, and then > verifying that the exchanged data is intact (i.e. th

[dpdk-dev] [PATCH v6] app/test: add tests for atomic exchanges

2019-11-06 Thread David Christensen
The test works by creating a token comprised of random data and a CRC8 value, using the rte_atomicXX_exchange to exchange the new token for a previously generated token, and then verifying that the exchanged data is intact (i.e. the CRC8 is still correct for the data). Signed-off-by: David Christe