[PATCH dpdk v2 04/16] net: use ipv6 structure for header addresses

Ferruh Yigit ferruh.yigit at amd.com
Sun Oct 6 23:03:19 CEST 2024


On 10/4/2024 9:04 PM, Robin Jarry wrote:
> Ferruh Yigit, Oct 04, 2024 at 20:01:
>> On 10/1/2024 9:17 AM, Robin Jarry wrote:
>>> @@ -918,12 +918,14 @@ static struct chrte_fparse parseitem[] = {
>>>          .fptr  = ch_rte_parsetype_ipv6,
>>>          .dmask = &(const struct rte_flow_item_ipv6) {
>>>              .hdr = {
>>> -                .src_addr =
>>> +                .src_addr = { .a =
>>>                      "\xff\xff\xff\xff\xff\xff\xff\xff"
>>>                      "\xff\xff\xff\xff\xff\xff\xff\xff",
>>> -                .dst_addr =
>>> +                },
>>> +                .dst_addr = { .a =
>>>                      "\xff\xff\xff\xff\xff\xff\xff\xff"
>>>                      "\xff\xff\xff\xff\xff\xff\xff\xff",
>>> +                },
>>>
>>
>> Hi Robin,
>>
>> gcc 15 complains about the string initialization [1], can we change
>> these initializers?
> 
> Hi Ferruh,
> 
> yes of course I can change that. I may do it in a separate commit
> though. If that is ok.
> 

I think OK to add it as a separate commit, thanks.



More information about the dev mailing list