Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads

2018-08-01 Thread Shahaf Shuler
Wednesday, August 1, 2018 11:38 AM, Matan Azrad: > Subject: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads > > There are a dedicated QP attributes, tunnel offload flag and mask, which > must be configured in order to allow part of the HW tunnel offloads. > > So, if a QP is p

[dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads

2018-08-01 Thread Matan Azrad
There are a dedicated QP attributes, tunnel offload flag and mask, which must be configured in order to allow part of the HW tunnel offloads. So, if a QP is pointed by a tunnel flow, the above QP attributes should be configured. The mask configuration is wrongly only performed if an internal RSS

Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads cap query

2018-02-28 Thread Shahaf Shuler
Monday, February 26, 2018 10:13 AM, Nélio Laranjeiro: > On Sun, Feb 25, 2018 at 09:28:37AM +0200, Shahaf Shuler wrote: > > The query for the tunnel stateless offloads is wrongly implemented > > because of: > > > > 1. It was using the device id to query for the offloads. > > 2. It was using a compil

Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads cap query

2018-02-26 Thread Nélio Laranjeiro
On Sun, Feb 25, 2018 at 09:28:37AM +0200, Shahaf Shuler wrote: > The query for the tunnel stateless offloads is wrongly implemented > because of: > > 1. It was using the device id to query for the offloads. > 2. It was using a compilation flag for Verbs which no longer exits. > > The main reason

[dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads cap query

2018-02-24 Thread Shahaf Shuler
The query for the tunnel stateless offloads is wrongly implemented because of: 1. It was using the device id to query for the offloads. 2. It was using a compilation flag for Verbs which no longer exits. The main reason was lack of proper API from Verbs. Fixing the query to use rdma-core API. Th