app/testpmd: fix bonding initialization
authorMichal Jastrzebski <michalx.k.jastrzebski@intel.com>
Thu, 13 Jul 2017 09:48:32 +0000 (11:48 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Jul 2017 06:36:15 +0000 (09:36 +0300)
commit59bcf8084f8974ec2e52d90fd98f4a70c0eecd10
tree0f64104539a03f503c197f7f6551b7f082b5b512
parentf31f7288835afc06171ae43164ffb6e43d263f52
app/testpmd: fix bonding initialization

when creating a bond device in testpmd, a name for a device must meet
the correct convention described in the documentation:
The device name must start with the net_bonding prefix
followed by numbers or letters.
Change for ALB mempool allocation - mem_name was too long.

Fixes: 9bf4901d1a11 ("bus/vdev: remove probe with driver name option")
Cc: stable@dpdk.org
Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
Reviewed-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/cmdline.c
drivers/net/bonding/rte_eth_bond_alb.c