dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Jingjing Wu <jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH v5 00/21] Support flow director programming on Fortville
Date: Thu, 30 Oct 2014 15:26:25 +0800	[thread overview]
Message-ID: <1414654006-7472-1-git-send-email-jingjing.wu@intel.com> (raw)
In-Reply-To: <1413939687-11177-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

The patch set supports flow director on fortville.
It includes:
 - set up/tear down fortville resources to support flow director, such as queue and vsi.
 - support operation to add or delete 8 flow types of the flow director filters, they are ipv4, tcpv4, udpv4, sctpv4, ipv6, tcpv6, udpv6, sctpv6.
 - support flushing flow director table (all filters).
 - support operation to get flow director information.
 - match status statistics, FD_ID report.
 - support operation to configure flexible payload and its mask
 - support flexible payload involved in comparison and flex bytes report.
 
v2 changes:
 - create real fdir vsi and assign queue 0 pair to it.
 - check filter status report on the rx queue 0
 
v3 changes:
 - redefine filter APIs to support multi-kind filters
 - support sctpv4 and sctpv6 type flows
 - support flexible payload involved in comparison
 
v4 changes:
 - strip the filter APIs definitions from this patch set
 - extend mbuf field to support flex bytes report
 - fix typos
 
v5 changes:
 - redefine structure rte_eth_fdir_info
 - add doxygen comments about flexible payload and mbuf extend
 - fix typos

Jingjing Wu (21):
  i40e: set up and initialize flow director
  i40e: tear down flow director
  i40e: initialize flexible payload setting
  ethdev: define structures for adding/deleting flow director
  i40e: implement operations to add/delete flow director
  testpmd: add test commands to add/delete flow director filter
  i40e: match counter for flow director
  mbuf: extend fdir field
  i40e: report flow director match info to mbuf
  testpmd: print extended fdir info in mbuf
  ethdev: define structures for getting flow director information
  i40e: implement operations to get fdir info
  testpmd: display fdir statistics
  i40e: implement operation to flush flow director table
  testpmd: add test command to flush flow director table
  ethdev: define structures for configuring flexible payload
  i40e: implement operations to configure flexible payload
  testpmd: add test command to configure flexible payload
  ethdev:  define structures for configuring flex masks
  i40e: implement operations to configure flexible masks
  testpmd: add test command to configure flexible masks

 app/test-pmd/cmdline.c            |  813 ++++++++++++++++++++++++
 app/test-pmd/config.c             |   42 +-
 app/test-pmd/rxonly.c             |   14 +-
 lib/librte_ether/rte_eth_ctrl.h   |  261 ++++++++
 lib/librte_mbuf/rte_mbuf.h        |   14 +-
 lib/librte_pmd_i40e/Makefile      |    2 +
 lib/librte_pmd_i40e/i40e_ethdev.c |  128 +++-
 lib/librte_pmd_i40e/i40e_ethdev.h |   35 +-
 lib/librte_pmd_i40e/i40e_fdir.c   | 1221 +++++++++++++++++++++++++++++++++++++
 lib/librte_pmd_i40e/i40e_rxtx.c   |  226 ++++++-
 10 files changed, 2728 insertions(+), 28 deletions(-)
 create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c

-- 
1.8.1.4

  parent reply	other threads:[~2014-10-30  7:26 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26  6:03 [PATCH v3 00/20] Support flow director programming on Fortville Jingjing Wu
     [not found] ` <1411711418-12881-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-26  6:03   ` [PATCH v3 01/20] i40e: set up and initialize flow director Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 02/20] i40e: tear down " Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 03/20] i40e: initialize flexible payload setting Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 04/20] lib/librte_ether: new filter APIs definition Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 05/20] lib/librte_ether: define structures for adding/deleting flow director Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 06/20] i40e: implement operations to add/delete " Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 07/20] app/test-pmd: add test commands to add/delete flow director filter Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 08/20] i40e: match counter for flow director Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 09/20] i40e: report flow director match info to mbuf Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 10/20] lib/librte_ether: define structures for getting flow director information Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 11/20] i40e: implement operations to get fdir info Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 12/20] app/test-pmd: display fdir statistics Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 13/20] i40e: implement operation to flush flow director table Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 14/20] app/test-pmd: add test command " Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 15/20] lib/librte_ether: define structures for configuring flexible payload Jingjing Wu
2014-09-26  6:03   ` [PATCH v316/20] i40e: implement operations to configure " Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 17/20] app/test-pmd: add test command " Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 18/20] lib/librte_ether: define structures for configuring flex masks Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 19/20] i40e: implement operations to configure flexible masks Jingjing Wu
2014-09-26  6:03   ` [PATCH v3 20/20] app/test-pmd: add test command " Jingjing Wu
     [not found]     ` <1411711418-12881-21-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-13 15:58       ` De Lara Guarch, Pablo
2014-10-22  1:01   ` [PATCH v4 00/21] Support flow director programming on Fortville Jingjing Wu
     [not found]     ` <1413939687-11177-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-22  1:01       ` [PATCH v4 01/21] i40e: set up and initialize flow director Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 02/21] i40e: tear down " Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 03/21] i40e: initialize flexible payload setting Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 04/21] ethdev: define structures for adding/deleting flow director Jingjing Wu
     [not found]         ` <1413939687-11177-5-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-27 16:57           ` Thomas Monjalon
2014-10-28  1:18             ` Wu, Jingjing
     [not found]               ` <9BB6961774997848B5B42BEC655768F8B2467E-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-28 13:17                 ` Thomas Monjalon
2014-10-29  1:29                   ` Wu, Jingjing
2014-10-22  1:01       ` [PATCH v4 05/21] i40e: implement operations to add/delete " Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 06/21] testpmd: add test commands to add/delete flow director filter Jingjing Wu
     [not found]         ` <1413939687-11177-7-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 13:23           ` Thomas Monjalon
2014-10-22  1:01       ` [PATCH v4 07/21] i40e: match counter for flow director Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 08/21] mbuf: extend fdir field Jingjing Wu
     [not found]         ` <1413939687-11177-9-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 13:28           ` Thomas Monjalon
2014-10-29  1:45             ` Wu, Jingjing
2014-10-22  1:01       ` [PATCH v4 09/21] i40e: report flow director match info to mbuf Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 10/21] testpmd: print extended fdir info in mbuf Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 11/21] ethdev: define structures for getting flow director information Jingjing Wu
     [not found]         ` <1413939687-11177-12-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 13:44           ` Thomas Monjalon
2014-10-29  2:10             ` Wu, Jingjing
     [not found]               ` <9BB6961774997848B5B42BEC655768F8B24F58-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-29  9:48                 ` Thomas Monjalon
2014-10-22  1:01       ` [PATCH v4 12/21] i40e: implement operations to get fdir info Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 13/21] testpmd: display fdir statistics Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 14/21] i40e: implement operation to flush flow director table Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 15/21] testpmd: add test command " Jingjing Wu
     [not found]         ` <1413939687-11177-16-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 13:53           ` Thomas Monjalon
2014-10-22  1:01       ` [PATCH v4 16/21] ethdev: define structures for configuring flexible payload Jingjing Wu
     [not found]         ` <1413939687-11177-17-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 14:14           ` Thomas Monjalon
2014-10-29  3:21             ` Wu, Jingjing
     [not found]               ` <9BB6961774997848B5B42BEC655768F8B24FC7-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-29  9:55                 ` Thomas Monjalon
2014-10-22  1:01       ` [PATCH v4 17/21] i40e: implement operations to configure " Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 18/21] testpmd: add test command " Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 19/21] ethdev: define structures for configuring flex masks Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 20/21] i40e: implement operations to configure flexible masks Jingjing Wu
2014-10-22  1:01       ` [PATCH v4 21/21] testpmd: add test command " Jingjing Wu
     [not found]         ` <1413939687-11177-22-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-28 14:18           ` Thomas Monjalon
2014-10-29  2:35             ` Wu, Jingjing
2014-10-27 15:22       ` [PATCH v4 00/21] Support flow director programming on Fortville Thomas Monjalon
2014-10-28  0:48       ` Zhang, Helin
2014-10-30  7:26       ` Jingjing Wu [this message]
     [not found]         ` <1414654006-7472-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-30  7:26           ` [PATCH v5 01/21] i40e: set up and initialize flow director Jingjing Wu
     [not found]             ` <1414654006-7472-2-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-30  8:25               ` Wu, Jingjing
2014-10-30  7:26           ` [PATCH v5 02/21] i40e: tear down " Jingjing Wu
     [not found]             ` <1414654006-7472-3-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-19  7:53               ` Cao, Min
2014-10-30  7:26           ` [PATCH v5 03/21] i40e: initialize flexible payload setting Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 04/21] ethdev: define structures for adding/deleting flow director Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 05/21] i40e: implement operations to add/delete " Jingjing Wu
     [not found]             ` <1414654006-7472-6-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-05 21:18               ` De Lara Guarch, Pablo
     [not found]                 ` <E115CCD9D858EF4F90C690B0DCB4D8972683387D-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-13  9:50                   ` Thomas Monjalon
2014-11-13 11:36                     ` Wu, Jingjing
2014-10-30  7:26           ` [PATCH v5 06/21] testpmd: add test commands to add/delete flow director filter Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 07/21] i40e: match counter for flow director Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 08/21] mbuf: extend fdir field Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 09/21] i40e: report flow director match info to mbuf Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 10/21] testpmd: print extended fdir info in mbuf Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 11/21] ethdev: define structures for getting flow director information Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 12/21] i40e: implement operations to get fdir info Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 13/21] testpmd: display fdir statistics Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 14/21] i40e: implement operation to flush flow director table Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 15/21] testpmd: add test command " Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 16/21] ethdev: define structures for configuring flexible payload Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 17/21] i40e: implement operations to configure " Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 18/21] testpmd: add test command " Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 19/21] ethdev: define structures for configuring flex masks Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 20/21] i40e: implement operations to configure flexible masks Jingjing Wu
2014-10-30  7:26           ` [PATCH v5 21/21] testpmd: add test command " Jingjing Wu
2014-10-30  8:07           ` [PATCH v5 01/21] i40e: set up and initialize flow director Jingjing Wu
2014-11-21  0:46           ` [PATCH v6 00/22] Support flow director programming on Fortville Jingjing Wu
     [not found]             ` <1416530816-2159-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-21  0:46               ` [PATCH v6 01/22] i40e: set up and initialize flow director Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 02/22] i40e: tear down " Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 03/22] i40e: initialize flexible payload setting Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 04/22] ethdev: define structures for adding/deleting flow director Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 05/22] i40e: define functions for transition between flow_type and pctype Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 06/22] i40e: implement operations to add/delete flow director Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 07/22] testpmd: add test commands to add/delete flow director filter Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 08/22] i40e: match counter for flow director Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 09/22] mbuf: extend fdir field Jingjing Wu
     [not found]                 ` <1416530816-2159-10-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-21 17:03                   ` Chilikin, Andrey
     [not found]                     ` <AAC06825A3B29643AF5372F5E0DDF0533503494E-kPTMFJFq+rFT4JjzTwqWc7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-21 19:34                       ` Ananyev, Konstantin
     [not found]                         ` <2601191342CEEE43887BDE71AB977258213B87A6-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-21 19:37                           ` Chilikin, Andrey
2014-11-21  0:46               ` [PATCH v6 10/22] i40e: report flow director match info to mbuf Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 11/22] testpmd: print extended fdir info in mbuf Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 12/22] i40e: implement operation to flush flow director table Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 13/22] testpmd: add test command " Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 14/22] ethdev: define structures for getting flow director information Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 15/22] i40e: implement operations to get fdir info Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 16/22] ethdev: define structures for getting flow director statistics Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 17/22] i40e: implement operations to get fdir statistics Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 18/22] testpmd: display fdir info Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 19/22] ethdev: add flexible payload setting in eth_conf Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 20/22] i40e: take flow director flexible payload configuration Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 21/22] testpmd: add test command to configure flexible mask Jingjing Wu
2014-11-21  0:46               ` [PATCH v6 22/22] testpmd: add test command to configure flexible payload Jingjing Wu
2014-11-21 11:34               ` [PATCH v6 00/22] Support flow director programming on Fortville Ananyev, Konstantin
     [not found]                 ` <2601191342CEEE43887BDE71AB977258213B85BF-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-24 23:20                   ` Thomas Monjalon
2014-11-25  4:51                     ` Wu, Jingjing
     [not found]                       ` <9BB6961774997848B5B42BEC655768F8B550A3-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-25  9:23                         ` Thomas Monjalon
2014-10-30  7:34       ` [PATCH v4 00/21] " Cao, Min
2014-11-19  7:53       ` Cao, Min
2014-10-30  7:12   ` [PATCH v3 00/20] " Cao, Min

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=1414654006-7472-1-git-send-email-jingjing.wu@intel.com \
    --to=jingjing.wu-ral2jqcrhueavxtiumwx3w@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).