app/testpmd: block xstats for hidden ports
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 1 Nov 2019 20:12:55 +0000 (13:12 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commitbd67b6772492cdd9f7249bdff7163e9698bdcc16
treee237b2591a932ac6c3db49910d75c65d9424a92d
parentc19beb3f38cd8463f87f01e1f5941a2a821b8ac6
app/testpmd: block xstats for hidden ports

All the other testpmd commands block access to devices that
are owned. Looks like xstat got overlooked.

Fixes: bfd5051b43b5 ("app/testpmd: new command to get extended statistics")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/config.c