examples: use factorized default Rx/Tx configuration
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 1 Oct 2014 09:49:05 +0000 (10:49 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 10 Oct 2014 11:01:49 +0000 (13:01 +0200)
commit81f7ecd934372fc9f592d1322f8eff86350fa4f5
tree25697a6664d0a28ad10e04a3027a6a4a6f107de9
parent27b31ee33fa5e7cc9a086c690b98ed8e1a153c6a
examples: use factorized default Rx/Tx configuration

For apps that were using default rte_eth_rxconf and rte_eth_txconf
structures, these have been removed and now they are obtained by
calling rte_eth_dev_info_get, just before setting up RX/TX queues.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
25 files changed:
examples/dpdk_qat/main.c
examples/exception_path/main.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-ivshmem/host/host.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/load_balancer/init.c
examples/multi_process/client_server_mp/mp_server/init.c
examples/multi_process/l2fwd_fork/main.c
examples/multi_process/symmetric_mp/main.c
examples/netmap_compat/bridge/bridge.c
examples/netmap_compat/lib/compat_netmap.c
examples/netmap_compat/lib/compat_netmap.h
examples/qos_meter/main.c
examples/quota_watermark/qw/init.c
examples/vhost_xen/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c