[v4,0/2] rte_flow: introduce eCPRI item for rte_flow
mbox series

Message ID 1594136219-133336-1-git-send-email-bingz@mellanox.com
Headers show
Series
  • rte_flow: introduce eCPRI item for rte_flow
Related show

Message

Bing Zhao July 7, 2020, 3:36 p.m. UTC
This patch set contains two commits.
1. header definition of the ethdev API
2. testpmd support for the eCPRI flow item

---
v2: Add dw0 for the eCPRI common header to switch the endianess, and
    use fixed u32 value with big-endian for rte_flow_item_ecpri_mask.
    It is due to the fact that global variable only support constant
    expression in C when building.
v3: Add commit for testpmd support
v4: update release notes part
---

Bing Zhao (2):
  rte_flow: add eCPRI key fields to flow API
  app/testpmd: add eCPRI in flow creation patterns

 app/test-pmd/cmdline_flow.c            | 143 +++++++++++++++++++++++++++++
 doc/guides/prog_guide/rte_flow.rst     |   8 ++
 doc/guides/rel_notes/release_20_08.rst |   5 +
 lib/librte_ethdev/rte_flow.c           |   1 +
 lib/librte_ethdev/rte_flow.h           |  31 +++++++
 lib/librte_net/Makefile                |   1 +
 lib/librte_net/meson.build             |   3 +-
 lib/librte_net/rte_ecpri.h             | 163 +++++++++++++++++++++++++++++++++
 lib/librte_net/rte_ether.h             |   1 +
 9 files changed, 355 insertions(+), 1 deletion(-)
 create mode 100644 lib/librte_net/rte_ecpri.h