app/testpmd: remove ixgbe check for bypass
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Mon, 11 Jul 2016 08:29:18 +0000 (16:29 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 13:16:27 +0000 (15:16 +0200)
commiteeb431d0aaaeab015e94c3bcbace2a8b5d4ae446
treee6a826cce78ff2d7bee8bd956edcb55bdd8d4454
parent2bf4c835554a382f22a58194180ebacc2e9a5399
app/testpmd: remove ixgbe check for bypass

In testpmd code, device id is used directly to check if bypass
is supported. But APP should not know the details of HW, the NIC
specific info should not be exposed here.
As every bypass API does know if it's supported, no need to check
that at first. So, this patch removes the *bypass_is_supported*.

Suggested-by: Jingjing Wu <jingjing.wu@intel.com>
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c