214. vhost 1024 ethports test plan

This test plan test function of launch vhost with 1024 ethports.

214.1. Test Case1: Basic test for launch vhost with 1024 ethports

  1. SW preparation: change “CONFIG_RTE_MAX_ETHPORTS” to 1024 in DPDK configure file:

    vi ./config/common_base
  2. Launch vhost with 1024 vdev:

    ./testpmd -c 0x3000 -n 4 --file-prefix=vhost --vdev 'eth_vhost0,iface=vhost-net,queues=1' \
    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' ... -- -i # only list two vdev, here ommit other 1022 vdevs, from eth_vhost2 to eth_vhost1023
  3. Change “CONFIG_RTE_MAX_ETHPORTS” back to 32 in DPDK configure file:

    vi ./config/common_base