[dpdk-dev] [PATCH v2] app/testpmd: bypass code cleanup

2016-07-11 Thread Wenzhuo Lu
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

[dpdk-dev] [PATCH v2] app/testpmd: bypass code cleanup

2016-07-11 Thread Thomas Monjalon
2016-07-11 16:29, Wenzhuo Lu: > 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,