numam-dpdk/lib
Pablo de Lara fbde27f19a ethdev: get default Rx/Tx configuration from dev info
Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf
structures. This patch allows the user to get a default optimal RX/TX configuration
through rte_eth_dev_info get, and still any parameters may be tweaked as wished,
before setting up queues.

Besides, if a NULL pointer is passed to rte_eth_rx_queue_setup or
rte_eth_tx_queue_setup, these functions get internally the default RX/TX
configuration for the user.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
[Thomas: split patch]
2014-10-10 12:47:05 +02: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 mbuf: remove the rte_pktmbuf structure 2014-09-17 11:27:51 +02:00
librte_eal eal/bsd: fix core detection 2014-10-09 17:52:06 +02:00
librte_ether ethdev: get default Rx/Tx configuration from dev info 2014-10-10 12:47:05 +02:00
librte_hash hash: make tailq fully local 2014-07-22 19:42:23 +02:00
librte_ip_frag mbuf: replace data pointer by an offset 2014-09-17 18:53:40 +02:00
librte_ivshmem eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
librte_kni eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02: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 mbuf: comment for ctrl mbuf flag 2014-10-08 14:45:36 +02:00
librte_mempool mempool: fix build with debug enabled and clang 2014-10-09 20:02:34 +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: move param parsing in configure step 2014-09-29 11:56:19 +02:00
librte_pmd_e1000 igb: fix i211 support 2014-09-24 19:33:36 +02:00
librte_pmd_i40e i40e: fix Tx descriptors reset 2014-10-09 20:02:34 +02:00
librte_pmd_ixgbe ixgbe: fix build with bypass enabled 2014-10-09 20:02:34 +02: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: fix crash if VIRTIO_NET_F_CTRL_VQ is not negotiated 2014-10-01 11:47:56 +02: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
Makefile bond: new link bonding library 2014-07-01 16:25:12 +02:00