app/testpmd: allow to query any RETA size
authorYuanhan Liu <yliu@fridaylinux.org>
Fri, 7 Jul 2017 06:02:12 +0000 (14:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:57 +0000 (01:36 +0100)
commitc07b3f046fcb2828e158e9ac4bf74a768f690d3d
tree285013ca6cd264851dd6be20ee9a4c2d16b4674e
parentf6010c7655ccb1a4ba198796477f0cbb7a5ec5b2
app/testpmd: allow to query any RETA size

Currently, testpmd just allows to query the RETA info only when the
required size equals to configured RETA size.

This patch allows to query any RETA size <= the configured size. This
helps when the RETA size is big (say 512) and when I just want to peak
few RETA entries.

Signed-off-by: Yuanhan Liu <yliu@fridaylinux.org>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/cmdline.c