app/testpmd: fix identifier size for port attach
authorWisam Jaddo <wisamm@mellanox.com>
Wed, 19 Feb 2020 16:47:30 +0000 (18:47 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Feb 2020 10:41:20 +0000 (11:41 +0100)
commitf1cfa5687f2c7641e89cba60d1c2fb774e591cc7
tree03ed42eb92986157bafaeba8d635986d998d7911
parentc696cc659337c682f1055e646600ab3dca733b0e
app/testpmd: fix identifier size for port attach

Identifier for new port may contain white list options,
and white list options will not fit into 128 from STR_TOKEN_SIZE,
instead having 4096 char from STR_MULTI_TOKEN_SIZE will provide
better and more options

Fixes: edab33b1c01d ("app/testpmd: support port hotplug")
Cc: stable@dpdk.org
Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c