numam-dpdk/lib/librte_ether
Cunming Liang 5e8ae7fc91 ethdev: fix Rx/Tx return in debug mode
Per definition, rte_eth_rx_burst/rte_eth_tx_burst/rte_eth_rx_queue_count
returns the packet number.
When RTE_LIBRTE_ETHDEV_DEBUG turns on, retval of FUNC_PTR_OR_ERR_RTE was
set to -ENOTSUP. It makes confusing.
The patch always return 0 no matter no packet or there's error.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2014-11-13 00:48:16 +01:00
..
Makefile ethdev: introduce generic filter control 2014-10-20 23:51:05 +02:00
rte_eth_ctrl.h ethdev: fix mac vlan filter type 2014-10-31 10:18:40 +01:00
rte_ethdev.c ethdev: fix Rx/Tx return in debug mode 2014-11-13 00:48:16 +01:00
rte_ethdev.h ethdev: VMDQ Rx mode 2014-11-12 00:10:12 +01:00
rte_ether.h ether: new function to format mac address 2014-11-13 00:48:16 +01:00