examples/multi_process: fix buffer underrun
authorYongseok Koh <yskoh@mellanox.com>
Wed, 10 Apr 2019 19:41:54 +0000 (12:41 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 May 2019 23:33:57 +0000 (01:33 +0200)
commit7c22ccdd91bc91e60f1ee32a3c79192a172dc5ea
tree88f30584258c2f16f013a94d9c3774def9b1d913
parentf0a26885b3003c89d5680a41a5e3c7e59d7c1989
examples/multi_process: fix buffer underrun

For client_server_mp, the total number of buffers for the mbuf mempool
should be correctly calculated. Otherwise, having more clients will stop
traffic.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
examples/multi_process/client_server_mp/mp_server/init.c