Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API

2018-10-25 Thread Ferruh Yigit
On 10/24/2018 6:25 PM, Shahaf Shuler wrote: > Hi Ferruh, > > Wednesday, October 24, 2018 7:36 PM, Ferruh Yigit >> Subject: Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter >> API >> >> On 10/24/2018 5:31 PM, Ferruh Yigit wrote: >>> On

Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API

2018-10-24 Thread Shahaf Shuler
Hi Ferruh, Wednesday, October 24, 2018 7:36 PM, Ferruh Yigit > Subject: Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter > API > > On 10/24/2018 5:31 PM, Ferruh Yigit wrote: > > On 10/23/2018 11:04 AM, Slava Ovsiienko wrote: > &

Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API

2018-10-24 Thread Ferruh Yigit
On 10/24/2018 5:31 PM, Ferruh Yigit wrote: > On 10/23/2018 11:04 AM, Slava Ovsiienko wrote: >> @@ -1012,9 +1079,12 @@ >>" context."); >> } >> *action_flags |= MLX5_FLOW_ACTION_COUNT; >> -#ifdef HAVE_IBV_DEVICE_COUNTERS_SET_V42 >> +#if define

Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API

2018-10-24 Thread Ferruh Yigit
On 10/23/2018 11:04 AM, Slava Ovsiienko wrote: > @@ -1012,9 +1079,12 @@ > " context."); > } > *action_flags |= MLX5_FLOW_ACTION_COUNT; > -#ifdef HAVE_IBV_DEVICE_COUNTERS_SET_V42 > +#if defined(HAVE_IBV_DEVICE_COUNTERS_SET_V42) > coun

[dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API

2018-10-23 Thread Slava Ovsiienko
This patch updates the functions performing the Verbs ibrary calls in order to support different versions of the library. The functions: - flow_verbs_counter_new() - flow_verbs_counter_release() - flow_verbs_counter_query() now have the several compilation branches, depending on the counters