app/testpmd: print message if queue start/stop is not supported
authorNicolás Pernas Maradei <nico@emutex.com>
Sat, 4 Oct 2014 19:19:51 +0000 (20:19 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 9 Oct 2014 18:02:35 +0000 (20:02 +0200)
commit0069e277db09ca5309ded496756a998f88f75892
tree48f55a7dd94e3aa3682c2dcb3f98cf3360862aa1
parenta0fce1193ce13a50c00624cb36605ebef7a3e60b
app/testpmd: print message if queue start/stop is not supported

Print an error message to the user when trying to start/stop a rx/tx queue and
this function is not supported by the PMD driver. The patch does not check if
the return value is -EINVAL because testpmd is already validating the port and
queue id.

Signed-off-by: Nicolás Pernas Maradei <nico@emutex.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
app/test-pmd/cmdline.c