[dpdk-dev] [PATCH v2 0/2] Get default RX/TX configuration

Pablo de Lara pablo.de.lara.guarch at intel.com
Wed Oct 1 10:00:56 CEST 2014


These patches modified the dev info structure to include optimal values
for the RX/TX configuration structures (rte_eth_rxconf and rte_eth_txconf),
so users can get these configurations and modify or use them directly,
to set up RX/TX queues. Besides, most of the apps that were modifying little
or none of the default values of the structures, have been modified to get
these values to simplify the code and avoid duplication.

Pablo de Lara (2):
  pmd: Modified dev_info structure to include default RX/TX
    configuration
  app: Used default RX/TX configuration got from dev info in apps

 examples/dpdk_qat/main.c                           |   44 ++------------
 examples/exception_path/main.c                     |   30 +---------
 examples/ip_fragmentation/main.c                   |   47 +++------------
 examples/ip_reassembly/main.c                      |   50 +++-------------
 examples/ipv4_multicast/main.c                     |   48 +++------------
 examples/kni/main.c                                |   34 +----------
 examples/l2fwd-ivshmem/host/host.c                 |   43 +------------
 examples/l2fwd/main.c                              |   48 +--------------
 examples/l3fwd-acl/main.c                          |   50 +++-------------
 examples/l3fwd-power/main.c                        |   51 +++-------------
 examples/l3fwd-vf/main.c                           |   36 +++--------
 examples/l3fwd/main.c                              |   58 ++++---------------
 examples/link_status_interrupt/main.c              |   43 +------------
 examples/load_balancer/init.c                      |   24 +-------
 .../client_server_mp/mp_server/init.c              |   41 +------------
 examples/multi_process/l2fwd_fork/main.c           |   44 +-------------
 examples/multi_process/symmetric_mp/main.c         |   36 +----------
 examples/netmap_compat/bridge/bridge.c             |   25 --------
 examples/netmap_compat/lib/compat_netmap.c         |    6 +-
 examples/netmap_compat/lib/compat_netmap.h         |    2 -
 examples/qos_meter/main.c                          |   36 ++++--------
 examples/quota_watermark/qw/init.c                 |   26 ++-------
 examples/vhost_xen/main.c                          |   34 ++---------
 examples/vmdq/main.c                               |   62 +++-----------------
 examples/vmdq_dcb/main.c                           |   36 +----------
 lib/librte_ether/rte_ethdev.c                      |   28 +++++++--
 lib/librte_ether/rte_ethdev.h                      |    2 +
 lib/librte_pmd_e1000/igb_ethdev.c                  |   32 ++++++++++-
 lib/librte_pmd_i40e/i40e_ethdev.c                  |   33 ++++++++++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c                |   36 +++++++++++
 30 files changed, 265 insertions(+), 820 deletions(-)

-- 
1.7.7.6



More information about the dev mailing list