All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Added functions to get RX/TX default configuration
@ 2014-09-26 14:19 Pablo de Lara
       [not found] ` <1411741159-6671-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 24+ messages in thread
From: Pablo de Lara @ 2014-09-26 14:19 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

These patches add two new API functions to get an 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 use
these functions to simplify the code and avoid duplication.

Pablo de Lara (2):
  pmd: Added rte_eth_rxconf_defaults and rte_eth_txconf defaults
    functions
  app: Used rte_eth_rxconf_defaults and rte_eth_txconf_defaults in apps

 examples/dpdk_qat/main.c                           |   44 ++-----------
 examples/exception_path/main.c                     |   30 +--------
 examples/ip_fragmentation/main.c                   |   42 ++-----------
 examples/ip_reassembly/main.c                      |   44 ++-----------
 examples/ipv4_multicast/main.c                     |   44 ++-----------
 examples/kni/main.c                                |   34 +---------
 examples/l2fwd-ivshmem/host/host.c                 |   43 +-----------
 examples/l2fwd/main.c                              |   48 +-------------
 examples/l3fwd-acl/main.c                          |   46 ++------------
 examples/l3fwd-power/main.c                        |   46 ++-----------
 examples/l3fwd-vf/main.c                           |   31 ++-------
 examples/l3fwd/main.c                              |   54 +++-------------
 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                          |   31 ++-------
 examples/vmdq/main.c                               |   60 ++---------------
 examples/vmdq_dcb/main.c                           |   36 +---------
 lib/librte_ether/rte_ethdev.c                      |   68 ++++++++++++++++++++
 lib/librte_ether/rte_ethdev.h                      |   29 ++++++++
 lib/librte_pmd_e1000/igb_ethdev.c                  |   56 ++++++++++++++++-
 lib/librte_pmd_i40e/i40e_ethdev.c                  |   56 ++++++++++++++++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c                |   59 +++++++++++++++++
 30 files changed, 385 insertions(+), 799 deletions(-)

-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-10-10 12:48 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26 14:19 [PATCH 0/2] Added functions to get RX/TX default configuration Pablo de Lara
     [not found] ` <1411741159-6671-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-26 14:19   ` [PATCH 1/2] pmd: Added rte_eth_rxconf_defaults and rte_eth_txconf defaults functions Pablo de Lara
2014-09-26 14:19   ` [PATCH 2/2] app: Used rte_eth_rxconf_defaults and rte_eth_txconf_defaults in apps Pablo de Lara
2014-09-27 18:45   ` [PATCH 0/2] Added functions to get RX/TX default configuration David Marchand
     [not found]     ` <E115CCD9D858EF4F90C690B0DCB4D89722628264@IRSMSX108.ger.corp.intel.com>
     [not found]       ` <E115CCD9D858EF4F90C690B0DCB4D89722628264-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 14:02         ` De Lara Guarch, Pablo
     [not found]           ` <E115CCD9D858EF4F90C690B0DCB4D89722628293-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 14:40             ` David Marchand
2014-10-01  8:00   ` [PATCH v2 0/2] Get default RX/TX configuration Pablo de Lara
     [not found]     ` <1412150458-26213-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-01  8:00       ` [PATCH v2 1/2] pmd: Modified dev_info structure to include " Pablo de Lara
     [not found]         ` <1412150458-26213-2-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-01  8:38           ` Bruce Richardson
2014-10-01  8:42           ` Bruce Richardson
2014-10-01  8:45           ` David Marchand
2014-10-01  8:00       ` [PATCH v2 2/2] app: Used default RX/TX configuration got from dev info in apps Pablo de Lara
2014-10-01  9:49       ` [PATCH v3 0/3] Get default RX/TX configuration Pablo de Lara
     [not found]         ` <1412156945-6549-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-01  9:49           ` [PATCH v3 1/3] ether: Reset whole dev info structure Pablo de Lara
     [not found]             ` <1412156945-6549-2-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-10 11:08               ` Thomas Monjalon
2014-10-01  9:49           ` [PATCH v3 2/3] pmd: Modified dev_info structure to include default RX/TX configuration Pablo de Lara
     [not found]             ` <1412156945-6549-3-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-10 11:14               ` Thomas Monjalon
2014-10-10 12:05                 ` De Lara Guarch, Pablo
2014-10-01  9:49           ` [PATCH v3 3/3] app: Used default RX/TX configuration got from dev info in apps Pablo de Lara
     [not found]             ` <1412156945-6549-4-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-10 11:20               ` Thomas Monjalon
2014-10-10 12:07                 ` De Lara Guarch, Pablo
2014-10-01  9:54           ` [PATCH v3 0/3] Get default RX/TX configuration De Lara Guarch, Pablo
     [not found]             ` <E115CCD9D858EF4F90C690B0DCB4D89722628DE8-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-02 10:18               ` David Marchand
     [not found]                 ` <CALwxeUvST12ke8fUbne17C0mTnz62RPRpOhuKzYNbU82u1+mZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-10 12:48                   ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.