[dpdk-dev] [PATCH v5 4/4] net/mlx5: support e-switch flow count action
Ferruh Yigit
ferruh.yigit at intel.com
Tue Oct 23 10:40:09 CEST 2018
On 10/22/2018 9:10 PM, Shahaf Shuler wrote:
> Ferruh,
>
> Monday, October 22, 2018 12:15 PM, Ferruh Yigit:
>> Subject: Re: [dpdk-dev] [PATCH v5 4/4] net/mlx5: support e-switch flow
>> count action
>>
>> Getting following build error with clang, will not pull from mlx tree until issue
>> resolved, thanks.
>>
>> .../drivers/net/mlx5/mlx5_flow_tcf.c:2507:6: warning: cast from 'const struct
>> rtattr *' to 'char *' drops const qualifier [-Wcast-qual]
>> RTA_DATA(arg), RTA_PAYLOAD(arg));
>> ^
>> /usr/include/linux/rtnetlink.h:183:42: note: expanded from macro
>> 'RTA_DATA'
>> #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
>> ^
>> .../drivers/net/mlx5/mlx5_flow_tcf.c:2593:31: warning: cast from 'const
>> struct nlmsghdr *' to 'char *' drops const qualifier [-Wcast-qual]
>> struct tcmsg *t = NLMSG_DATA(nlh);
>
> I updated next-net-mlx with the fix for this issue. Can you confirm it is fixed?
I confirm it is good, pulled from next-net-mlx.
More information about the dev
mailing list