> It provides unit test to measure cycles/packet in NIC loopback mode. > It simply gives the average cycles of IO used per packet without test > equipment. > When doing the test, make sure the link is UP.
Tested-by: Zhaochen Zhan <zhaochen.zhan at intel.com> This patch has been verified on ixgbe and it is ready to be integrated to dpdk.org. For e1000 and i40e, lacking loopback supporting, this patch can't support them for now.