DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v6 0/3] net/i40e: configurable PTYPE mapping
@ 2017-04-03 10:51 Qi Zhang
  2017-04-03 10:51 ` [dpdk-dev] [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table Qi Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Qi Zhang @ 2017-04-03 10:51 UTC (permalink / raw)
  To: ferruh.yigit; +Cc: jingjing.wu, helin.zhang, dev, Qi Zhang

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.

v6:

- update testpmd_func.rst.

v5:

- Rebase to dpdk-next-net.

v4:

- Add comment to explain the "user defined" ptype.

v3:

- Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=y in testpmd

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 

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 ++++++++++++++++++++++++++++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  36 +++
 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             |  86 +++++++
 drivers/net/i40e/rte_pmd_i40e_version.map   |   4 +
 11 files changed, 771 insertions(+), 19 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2017-04-04  0:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 10:51 [dpdk-dev] [PATCH v6 0/3] net/i40e: configurable PTYPE mapping Qi Zhang
2017-04-03 10:51 ` [dpdk-dev] [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table Qi Zhang
2017-04-03 10:11   ` Ferruh Yigit
2017-04-04  0:40     ` Zhang, Qi Z
2017-04-03 10:51 ` [dpdk-dev] [PATCH v6 2/3] net/i40e: configurable PTYPE mapping Qi Zhang
2017-04-03 10:51 ` [dpdk-dev] [PATCH v6 3/3] app/testpmd: add CL for ptype mapping configure Qi Zhang

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).