examples/multi_process: do not dereference global config struct
authorDavid Marchand <david.marchand@redhat.com>
Wed, 15 May 2019 07:54:21 +0000 (09:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 29 May 2019 22:29:16 +0000 (00:29 +0200)
commit200bc52e5aa0d72e70464c9cd22b55cf536ed13c
treea83d3f50df40a41b0cf7e314384ea84039dacffe
parent9c6b199354fa7773ef2e65ce51a94342925eb5ea
examples/multi_process: do not dereference global config struct

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/multi_process/symmetric_mp/main.c