numam-dpdk/lib
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
..
librte_acl acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
librte_cfgfile eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_cmdline fix unix permissions for source files 2014-08-28 17:04:01 +02:00
librte_distributor distributor: add comments 2014-11-07 15:04:59 +01:00
librte_eal kni: fix build 2014-11-10 10:28:46 +01:00
librte_ether ethdev: fix Rx/Tx return in debug mode 2014-11-13 00:48:16 +01:00
librte_hash hash: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_ip_frag ip_frag: disable ip fragmentation if mbuf refcnt is disabled 2014-10-30 00:51:10 +01:00
librte_ivshmem eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_kni kni: add build-time checks for mbuf mapping 2014-11-10 10:28:46 +01:00
librte_kvargs kvargs: fix build with gcc 4.5.1 2014-06-17 19:01:59 +02:00
librte_lpm lpm: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_malloc eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_mbuf fix VXLAN acronym 2014-10-27 16:11:04 +01:00
librte_mempool mempool: remove useless variable 2014-10-10 17:49:09 +02:00
librte_meter remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_net remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_pipeline eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_pmd_bond bond: disable broadcast mode if mbuf refcnt is disabled 2014-10-22 15:47:18 +02:00
librte_pmd_e1000 igb: VMDQ Rx mode 2014-11-12 00:10:17 +01:00
librte_pmd_i40e i40e: fix build with icc 2014-11-07 00:08:27 +01:00
librte_pmd_ixgbe ixgbe: VMDQ Rx mode 2014-11-12 00:10:23 +01:00
librte_pmd_pcap pcap: fix double stop error 2014-10-09 20:02:35 +02:00
librte_pmd_ring ring: remove extra devices creation with --vdev option 2014-07-22 16:43:04 +02:00
librte_pmd_virtio virtio: support promiscuous and allmulticast 2014-11-12 00:10:23 +01:00
librte_pmd_vmxnet3 mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_pmd_xenvirt mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_port doc: apply one comment to all members of a group 2014-09-29 16:34:58 +02:00
librte_power eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_ring ring: make tailq fully local 2014-07-22 19:42:18 +02:00
librte_sched mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
librte_table eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_timer fix unix permissions for source files 2014-08-28 17:04:01 +02:00
librte_vhost vhost: enable promiscuous and multicast 2014-11-12 00:10:23 +01:00
Makefile vhost: add makefile 2014-10-13 19:16:54 +02:00