examples/multi_process: fix received message length
authorXueming Li <xuemingl@mellanox.com>
Thu, 26 Oct 2017 08:29:23 +0000 (16:29 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Oct 2017 23:23:48 +0000 (01:23 +0200)
commit0acd8ed3330a629658e3864d78a6bd4b78de321e
tree61df7a8110493c0fc0d3b16212879fedaa12c869
parentc018dbf5e0e01198049dc80e7ce35790dcde3278
examples/multi_process: fix received message length

Simple_mp example receives message size less than 64 chars while send
side accepts chars less than 128, this leads to different result when
sending text length larger than 64.
This patch uses same buffer length on both message pool and command
line.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
examples/multi_process/simple_mp/main.c
examples/multi_process/simple_mp/mp_commands.c
examples/multi_process/simple_mp/mp_commands.h