Re: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-11 Thread Stephen Hemminger
On Fri, 11 Oct 2024 14:37:35 +0200 Morten Brørup wrote: > > From: Robin Jarry [mailto:rja...@redhat.com] > > Sent: Thursday, 10 October 2024 22.08 > > > > Morten Brørup, Oct 06, 2024 at 10:18: > > > This has been discussed before, but I want to double check... > > > > > > If - sometime in the

RE: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-11 Thread Morten Brørup
> From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Thursday, 10 October 2024 22.08 > > Morten Brørup, Oct 06, 2024 at 10:18: > > This has been discussed before, but I want to double check... > > > > If - sometime in the future - we want to add a union to offer a 2- > byte > > access variant an

Re: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-10 Thread Robin Jarry
Morten Brørup, Oct 06, 2024 at 10:18: This has been discussed before, but I want to double check... If - sometime in the future - we want to add a union to offer a 2-byte access variant and make the structure to 2-byte aligned (which is the common case in Ethernet packets), it will break both

RE: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-06 Thread Morten Brørup
+to: Various CPU architecture maintainers +to: Stephen (already participating in this discussion) +cc: x86 CPU architecture maintainers > From: Robin Jarry [mailto:rja...@redhat.com] > Sent: Tuesday, 1 October 2024 10.17 > > There is currently no structure defined for IPv6 addresses. Introduce >

Re: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-04 Thread Robin Jarry
Stephen Hemminger, Oct 04, 2024 at 01:18: On Tue, 1 Oct 2024 10:17:15 +0200 Robin Jarry wrote: There is currently no structure defined for IPv6 addresses. Introduce one that is simply a uint8_t array of 16 elements without any union. The idea is to ensure this structure alignment is 1 so that

Re: [PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-03 Thread Stephen Hemminger
On Tue, 1 Oct 2024 10:17:15 +0200 Robin Jarry wrote: > There is currently no structure defined for IPv6 addresses. Introduce > one that is simply a uint8_t array of 16 elements without any union. The > idea is to ensure this structure alignment is 1 so that it can be mapped > directly on unalign

[PATCH dpdk v2 03/16] net: add structure for ipv6 addresses

2024-10-01 Thread Robin Jarry
There is currently no structure defined for IPv6 addresses. Introduce one that is simply a uint8_t array of 16 elements without any union. The idea is to ensure this structure alignment is 1 so that it can be mapped directly on unaligned packet memory. Signed-off-by: Robin Jarry --- lib/net/rte_