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

Robin Jarry rjarry at redhat.com
Fri Oct 4 22:04:57 CEST 2024


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.



More information about the dev mailing list