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

Ferruh Yigit ferruh.yigit at amd.com
Fri Oct 4 20:01:07 CEST 2024


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?


[1]
https://patches.dpdk.org/project/dpdk/patch/20241004041335.2916435-1-ferruh.yigit@amd.com/


More information about the dev mailing list