[dpdk-dev] [PATCH v5 0/3] rte_flow extension for vSwitch acceleration

Adrien Mazarguil adrien.mazarguil at 6wind.com
Tue Apr 24 17:58:56 CEST 2018


v5 (Adrien):

While the previous version (v4) looked fine, I noticed several issues and
inconsistencies while testing it. I decided to take over Qi Zhang's series
to hasten things for RC1.

Please have a look at individual patches, where I summarized the changes for
each of them.

v4:
- Change to OpenFlow complied TTL actions
- Change to OpenFlow complied VLAN/MPLS actions. 
- typos fix.
- Remove generic field_set action since, couple opens not closed (should we move
  to dedicate filed modification actions?)

v3:
- remove patch for port action and enhanced statistic query.
- reworked IPv6 ND related pattern base on Adrien's suggestion.
- remove generic increament/decrement/copy action
- rework packet modification action(RTE_FLOW_ACTION_TYPE_FIELD_SET).
- Add OpenFlow friendly TTL change actions.
- Add OpenFlow friendly VLAN/MPLS push/pop actions

v2:
- fix couple typoes in code, doc and commit log

This patch extend rte_flow API.
The purpose is to provide necessary programming interface for virtual
switch software (such as OVS) to take advantage of incoming device's
vSwitch acceleration capability when using DPDK as data plane.

Note:
- The driver to demonstrate the new APIs is still in development,
  but we hope it could be accepted early to make OVS integration
  smoothly. 

Qi Zhang (3):
  ethdev: add neighbor discovery support to flow API
  ethdev: add TTL change actions to flow API
  ethdev: add VLAN and MPLS actions to flow API

 app/test-pmd/cmdline_flow.c                 | 472 +++++++++++++++++++++++
 app/test-pmd/config.c                       |  29 ++
 doc/guides/prog_guide/rte_flow.rst          | 309 ++++++++++++++-
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  76 ++++
 lib/librte_ether/rte_flow.c                 |  29 ++
 lib/librte_ether/rte_flow.h                 | 424 +++++++++++++++++++-
 6 files changed, 1336 insertions(+), 3 deletions(-)

-- 
2.11.0


More information about the dev mailing list