mbox series

[v8,0/3] Tunnel Offload API

Message ID 20201016125108.22997-1-getelson@nvidia.com (mailing list archive)
Headers
Series Tunnel Offload API |

Message

Gregory Etelson Oct. 16, 2020, 12:51 p.m. UTC
  Tunnel Offload API provides hardware independent, unified model
to offload tunneled traffic. Key model elements are:
 - apply matches to both outer and inner packet headers
   during entire offload procedure;
 - restore outer header of partially offloaded packet;
 - model is implemented as a set of helper functions.

 v2:
 * documentation updates
 * MLX5 PMD implementation for tunnel offload
 * testpmd updates for tunnel offload

 v3:
 * documentation updates
 * MLX5 PMD updates
 * testpmd updates

 v4:
 * updated patch: allow negative values in flow rule types

v5:
 * rebase to next-net

v6:
* update tunnel offload API documentation

v7:
* testpmd: resolve "%lu" differences in ubuntu 32 & 64

v8:
* testpmd: use PRIu64 for general cast to uint64_t

Eli Britstein (1):
  ethdev: tunnel offload model

Gregory Etelson (2):
  ethdev: allow negative values in flow rule types
  app/testpmd: add commands for tunnel offload API

 app/test-pmd/cmdline_flow.c                 | 170 ++++++++++++-
 app/test-pmd/config.c                       | 252 +++++++++++++++++++-
 app/test-pmd/testpmd.c                      |   5 +-
 app/test-pmd/testpmd.h                      |  34 ++-
 app/test-pmd/util.c                         |  35 ++-
 doc/guides/prog_guide/rte_flow.rst          |  81 +++++++
 doc/guides/rel_notes/release_20_11.rst      |  10 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  49 ++++
 lib/librte_ethdev/rte_ethdev_version.map    |   5 +
 lib/librte_ethdev/rte_flow.c                | 140 ++++++++++-
 lib/librte_ethdev/rte_flow.h                | 195 +++++++++++++++
 lib/librte_ethdev/rte_flow_driver.h         |  32 +++
 12 files changed, 989 insertions(+), 19 deletions(-)
  

Comments

Ferruh Yigit Oct. 16, 2020, 1:19 p.m. UTC | #1
On 10/16/2020 1:51 PM, Gregory Etelson wrote:
> Tunnel Offload API provides hardware independent, unified model
> to offload tunneled traffic. Key model elements are:
>   - apply matches to both outer and inner packet headers
>     during entire offload procedure;
>   - restore outer header of partially offloaded packet;
>   - model is implemented as a set of helper functions.
> 
>   v2:
>   * documentation updates
>   * MLX5 PMD implementation for tunnel offload
>   * testpmd updates for tunnel offload
> 
>   v3:
>   * documentation updates
>   * MLX5 PMD updates
>   * testpmd updates
> 
>   v4:
>   * updated patch: allow negative values in flow rule types
> 
> v5:
>   * rebase to next-net
> 
> v6:
> * update tunnel offload API documentation
> 
> v7:
> * testpmd: resolve "%lu" differences in ubuntu 32 & 64
> 
> v8:
> * testpmd: use PRIu64 for general cast to uint64_t

Ahh, I thought build issue solved in v7 already with 'PRIu64' but it seems not.

I will drop the v7 and get this one.

> 
> Eli Britstein (1):
>    ethdev: tunnel offload model
> 
> Gregory Etelson (2):
>    ethdev: allow negative values in flow rule types
>    app/testpmd: add commands for tunnel offload API
> 
>   app/test-pmd/cmdline_flow.c                 | 170 ++++++++++++-
>   app/test-pmd/config.c                       | 252 +++++++++++++++++++-
>   app/test-pmd/testpmd.c                      |   5 +-
>   app/test-pmd/testpmd.h                      |  34 ++-
>   app/test-pmd/util.c                         |  35 ++-
>   doc/guides/prog_guide/rte_flow.rst          |  81 +++++++
>   doc/guides/rel_notes/release_20_11.rst      |  10 +
>   doc/guides/testpmd_app_ug/testpmd_funcs.rst |  49 ++++
>   lib/librte_ethdev/rte_ethdev_version.map    |   5 +
>   lib/librte_ethdev/rte_flow.c                | 140 ++++++++++-
>   lib/librte_ethdev/rte_flow.h                | 195 +++++++++++++++
>   lib/librte_ethdev/rte_flow_driver.h         |  32 +++
>   12 files changed, 989 insertions(+), 19 deletions(-)
>
  
Ferruh Yigit Oct. 16, 2020, 2:20 p.m. UTC | #2
On 10/16/2020 2:19 PM, Ferruh Yigit wrote:
> On 10/16/2020 1:51 PM, Gregory Etelson wrote:
>> Tunnel Offload API provides hardware independent, unified model
>> to offload tunneled traffic. Key model elements are:
>>   - apply matches to both outer and inner packet headers
>>     during entire offload procedure;
>>   - restore outer header of partially offloaded packet;
>>   - model is implemented as a set of helper functions.
>>
>>   v2:
>>   * documentation updates
>>   * MLX5 PMD implementation for tunnel offload
>>   * testpmd updates for tunnel offload
>>
>>   v3:
>>   * documentation updates
>>   * MLX5 PMD updates
>>   * testpmd updates
>>
>>   v4:
>>   * updated patch: allow negative values in flow rule types
>>
>> v5:
>>   * rebase to next-net
>>
>> v6:
>> * update tunnel offload API documentation
>>
>> v7:
>> * testpmd: resolve "%lu" differences in ubuntu 32 & 64
>>
>> v8:
>> * testpmd: use PRIu64 for general cast to uint64_t
> 
> Ahh, I thought build issue solved in v7 already with 'PRIu64' but it seems not.
> 
> I will drop the v7 and get this one.
> 
>>
>> Eli Britstein (1):
>>    ethdev: tunnel offload model
>>
>> Gregory Etelson (2):
>>    ethdev: allow negative values in flow rule types
>>    app/testpmd: add commands for tunnel offload API
>>

Series applied to dpdk-next-net/main, thanks.

(v7 dropped and patchwork status updated)