[dpdk-dev] [PATCH v8 0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD

Shahaf Shuler shahafs at mellanox.com
Sun Nov 4 08:12:56 CET 2018


Thursday, November 1, 2018 7:18 PM, Ferruh Yigit:
> 
> The dependent patch looks OK, but I wonder why I don't see the build error.
> 
> mlx5_flow_dv.c has a big `#ifdef HAVE_IBV_FLOW_DV_SUPPORT` block
> 
> And `HAVE_IBV_FLOW_DV_SUPPORT` set:
> if `infiniband/mlx5dv.h` has `mlx5dv_create_flow_action_packet_reformat()`
> 
> In the rdma-core I have this function is not set, so I guess I don't compile this
> file at all.
> 

That is probably why.

> What is the dependency to have
> `mlx5dv_create_flow_action_packet_reformat()`?
> All the rdma-core versions I checked doesn't have this function, am I doing
> something wrong? Or is direct verbs feature something not released yet?

This feature will be in rdma-core v21. It is introduced by commit:
a59af12 mlx5: Add packet reformat flow action

you can take the latest master from https://github.com/linux-rdma/rdma-core.git  


More information about the dev mailing list