DPDK patches and discussions
 help / color / mirror / Atom feed
From: Qi Zhang <qi.z.zhang@intel.com>
To: jingjing.wu@intel.com, helin.zhang@intel.com
Cc: dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>
Subject: [dpdk-dev] [PATCH v2 0/3] net/i40e: configurable PTYPE mapping
Date: Fri, 17 Mar 2017 06:45:09 -0400	[thread overview]
Message-ID: <20170317104512.25969-1-qi.z.zhang@intel.com> (raw)

The patch set create new APIs that help to change the mapping from hardware
defined packet type to software defined packet type for i40e NICs.
Keep these APIs private is because currently they are only meaningful for
devices that support dynamic PTYPE configuration, which may not be a general 
device feature.

v2:

- Add testpmd command line:
  ptype mapping get <port_id> <valid_only>
  ptype mapping replace <port_id> <target> <mask> <pkt_type>
  ptype mapping reset <port_id>
  ptype mapping update <port_id> <hw_ptype> <sw_ptype>

- Rename APIs to rte_pmd_i40e_ptype_mapping_xxx

- Add missing API declaration in rte_pmd_i40e_version.map

- Add missing ptype in check_invalid_pkt_type

- Fix couple typo error

v3:

- Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=y in testpmd

Qi Zhang (3):
  net/i40e: enable per dev PTYPE mapping table
  net/i40e: configurable PTYPE mapping
  app/testpmd: add CL for ptype mapping configure

 app/test-pmd/cmdline.c                    | 372 ++++++++++++++++++++++++++++++
 drivers/net/i40e/i40e_ethdev.c            | 230 ++++++++++++++++++
 drivers/net/i40e/i40e_ethdev.h            |   5 +
 drivers/net/i40e/i40e_ethdev_vf.c         |   2 +-
 drivers/net/i40e/i40e_rxtx.c              |  30 ++-
 drivers/net/i40e/i40e_rxtx.h              |   3 +-
 drivers/net/i40e/i40e_rxtx_vec_neon.c     |   8 +-
 drivers/net/i40e/i40e_rxtx_vec_sse.c      |  14 +-
 drivers/net/i40e/rte_pmd_i40e.h           |  81 +++++++
 drivers/net/i40e/rte_pmd_i40e_version.map |   4 +
 10 files changed, 730 insertions(+), 19 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-03-17  9:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 10:45 Qi Zhang [this message]
2017-03-17 10:45 ` [dpdk-dev] [PATCH v3 1/3] net/i40e: enable per dev PTYPE mapping table Qi Zhang
2017-03-17 10:45 ` [dpdk-dev] [PATCH v3 2/3] net/i40e: configurable PTYPE mapping Qi Zhang
2017-03-24  9:55   ` Wu, Jingjing
2017-03-27  1:55     ` Zhang, Qi Z
2017-03-17 10:45 ` [dpdk-dev] [PATCH v3 3/3] app/testpmd: add CL for ptype mapping configure Qi Zhang
2017-03-21 15:53   ` Ferruh Yigit
2017-03-22  1:24     ` Zhang, Qi Z
  -- strict thread matches above, loose matches on Subject: below --
2017-02-27  4:56 [dpdk-dev] [PATCH 0/2] configurable PTYPE mapping Qi Zhang
2017-03-12 12:08 ` [dpdk-dev] [PATCH v2 0/3] net/i40e: " Qi Zhang

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=20170317104512.25969-1-qi.z.zhang@intel.com \
    --to=qi.z.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=jingjing.wu@intel.com \
    /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).