[dpdk-dev] [PATCH v5 0/6] net/mlx5: support flow API

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 3 17:19:01 CET 2017


On 12/29/2016 3:15 PM, Nelio Laranjeiro wrote:
> Changes in v5:
> 
>  - Fix masking when only spec is present in item structure.
>  - Fix first element of flow items array.
> 
> Changes in v4:
> 
>  - Simplify flow parsing by using a graph.
>  - Add VXLAN flow item.
>  - Add mark flow action.
>  - Extend IPv4 filter item (Type of service, Next Protocol ID).
> 
> Changes in v3:
> 
>  - Fix Ethernet ether type issue.
> 
> Changes in v2:
> 
>  - Fix several issues.
>  - Support VLAN filtering.
> 
> Nelio Laranjeiro (6):
>   net/mlx5: add preliminary flow API support
>   net/mlx5: support basic flow items and actions
>   net/mlx5: support VLAN flow item
>   net/mlx5: support VXLAN flow item
>   net/mlx5: support mark flow action
>   net/mlx5: extend IPv4 flow item

This patch is giving ICC warnings [1], but please check:
http://dpdk.org/dev/patchwork/patch/18808/



[1]
.../drivers/net/mlx5/mlx5_flow.c(550): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_ETH,
                        ^

.../drivers/net/mlx5/mlx5_flow.c(626): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_IPV4_EXT,
                        ^

.../drivers/net/mlx5/mlx5_flow.c(679): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_IPV6,
                        ^

.../drivers/net/mlx5/mlx5_flow.c(727): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_UDP,
                        ^

.../drivers/net/mlx5/mlx5_flow.c(769): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_TCP,
                        ^

.../drivers/net/mlx5/mlx5_flow.c(816): error #188: enumerated type mixed
with another type
                .type = flow->inner | IBV_EXP_FLOW_SPEC_VXLAN_TUNNEL,
                        ^

> 
>  drivers/net/mlx5/Makefile       |    1 +
>  drivers/net/mlx5/mlx5.h         |   19 +
>  drivers/net/mlx5/mlx5_fdir.c    |   15 +
>  drivers/net/mlx5/mlx5_flow.c    | 1248 +++++++++++++++++++++++++++++++++++++++
>  drivers/net/mlx5/mlx5_prm.h     |   70 ++-
>  drivers/net/mlx5/mlx5_rxtx.c    |   12 +-
>  drivers/net/mlx5/mlx5_rxtx.h    |    3 +-
>  drivers/net/mlx5/mlx5_trigger.c |    2 +
>  8 files changed, 1367 insertions(+), 3 deletions(-)
>  create mode 100644 drivers/net/mlx5/mlx5_flow.c
> 



More information about the dev mailing list