app/testpmd: verify MTU with device provided limits
authorIan Stokes <ian.stokes@intel.com>
Fri, 29 Mar 2019 17:52:19 +0000 (17:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 18:00:52 +0000 (19:00 +0100)
commit0c85cab92f3a9a5ebb81d7ceadd3f775f2d5c6ff
treeee2b9ecfa2593818483259546591213782817973
parentae35fd61fce131989a5441eb7fc7272a15762be1
app/testpmd: verify MTU with device provided limits

This commit uses the MTU fields populated in rte_eth_dev_info_get()
to validate the MTU value being passed in port_mtu_set().

Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/config.c