dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: David Marchand <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v3 0/7] add mtu and flow control handlers
Date: Tue, 17 Jun 2014 20:09:25 +0200	[thread overview]
Message-ID: <1403028572-24794-1-git-send-email-david.marchand@6wind.com> (raw)

This patchset introduces 3 new ethdev operations: flow control parameters
retrieval and mtu get/set operations.

Changes since v1:
- compute min rx buffer size at ethdev level (to simplify pmd mtu checks)
- introduce enable_scatter rx mode so that we can advise pmd to configure
  scatter mode
- rework mtu get/set operations (based on Konstantin comments)
- pass checkpatch.pl checks

Changes since v2:
- rebase on top of master
- fix min_rx_buf_size computation (patch 3)
- fix frame size checks for ixgbe so that vlan and double vlan frames can be
  received (patch 5 and 6)
- add a new ETHER_MIN_MTU macro in rte_ether.h (patch 5 and 6)


-- 
David Marchand

David Marchand (3):
  ethdev: add autoneg parameter in flow ctrl accessors
  ethdev: store min rx buffer size
  ethdev: introduce enable_scatter rx mode

Ivan Boule (2):
  ixgbe: add set_mtu to ixgbevf
  app/testpmd: allow to configure mtu

Samuel Gauthier (1):
  ethdev: add mtu accessors

Zijie Pan (1):
  ethdev: retrieve flow control configuration

 app/test-pmd/cmdline.c              |   54 +++++++++++++
 app/test-pmd/config.c               |   13 ++++
 app/test-pmd/testpmd.h              |    2 +-
 lib/librte_ether/rte_ethdev.c       |   77 +++++++++++++++++--
 lib/librte_ether/rte_ethdev.h       |   65 +++++++++++++++-
 lib/librte_ether/rte_ether.h        |    2 +
 lib/librte_pmd_e1000/em_ethdev.c    |   89 +++++++++++++++++++++
 lib/librte_pmd_e1000/em_rxtx.c      |    5 ++
 lib/librte_pmd_e1000/igb_ethdev.c   |  100 ++++++++++++++++++++++++
 lib/librte_pmd_e1000/igb_rxtx.c     |   10 +++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c |  145 ++++++++++++++++++++++++++++++++++-
 lib/librte_pmd_ixgbe/ixgbe_rxtx.c   |   27 ++++++-
 12 files changed, 573 insertions(+), 16 deletions(-)

-- 
1.7.10.4

             reply	other threads:[~2014-06-17 18:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 18:09 David Marchand [this message]
     [not found] ` <1403028572-24794-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-06-17 18:09   ` [PATCH v3 1/7] ethdev: retrieve flow control configuration David Marchand
2014-06-17 18:09   ` [PATCH v3 2/7] ethdev: add autoneg parameter in flow ctrl accessors David Marchand
     [not found]     ` <1403028572-24794-3-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-06-23  3:35       ` Liu, Jijiang
     [not found]         ` <1ED644BD7E0A5F4091CF203DAFB8E4CC01D3B9A6-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-23  9:26           ` David Marchand
2014-06-17 18:09   ` [PATCH v3 3/7] ethdev: store min rx buffer size David Marchand
2014-06-17 18:09   ` [PATCH v3 4/7] ethdev: introduce enable_scatter rx mode David Marchand
2014-06-17 18:09   ` [PATCH v3 5/7] ethdev: add mtu accessors David Marchand
2014-06-17 18:09   ` [PATCH v3 6/7] ixgbe: add set_mtu to ixgbevf David Marchand
2014-06-17 18:09   ` [PATCH v3 7/7] app/testpmd: allow to configure mtu David Marchand
2014-06-17 22:30   ` [PATCH v3 0/7] add mtu and flow control handlers Ananyev, Konstantin
     [not found]     ` <2601191342CEEE43887BDE71AB9772580EFB79B0-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-17 22:59       ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403028572-24794-1-git-send-email-david.marchand@6wind.com \
    --to=david.marchand-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).