RE: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 31 January 2024 21.46 > > On Wed, Jan 31, 2024 at 01:49:34PM +, Bruce Richardson wrote: > > On Tue, Jan 30, 2024 at 03:26:13PM -0800, Tyler Retzlaff wrote: > > > Replace the use of RTE_MARKER with C11 anonymous uni

RE: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 31 January 2024 22.09 > > On Wed, Jan 31, 2024 at 10:18:37AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Wednesday, 31 January 2024 00.26 > > > [...] > > >

Re: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Tyler Retzlaff
On Wed, Jan 31, 2024 at 10:18:37AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Wednesday, 31 January 2024 00.26 > > > > Replace the use of RTE_MARKER with C11 anonymous unions to improve > > code portability between toolchains. > > > > Upda

Re: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Tyler Retzlaff
On Wed, Jan 31, 2024 at 01:49:34PM +, Bruce Richardson wrote: > On Tue, Jan 30, 2024 at 03:26:13PM -0800, Tyler Retzlaff wrote: > > Replace the use of RTE_MARKER with C11 anonymous unions to improve > > code portability between toolchains. > > > > Update use of rte_mbuf rearm_data field in net

Re: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Bruce Richardson
On Tue, Jan 30, 2024 at 03:26:13PM -0800, Tyler Retzlaff wrote: > Replace the use of RTE_MARKER with C11 anonymous unions to improve > code portability between toolchains. > > Update use of rte_mbuf rearm_data field in net/ionic, net/sfc and > net/virtio which were accessing field as a zero-length

RE: [PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-31 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 31 January 2024 00.26 > > Replace the use of RTE_MARKER with C11 anonymous unions to improve > code portability between toolchains. > > Update use of rte_mbuf rearm_data field in net/ionic, net/sfc and > net/virtio wh

[PATCH] mbuf: replace GCC marker extension with C11 anonymous unions

2024-01-30 Thread Tyler Retzlaff
Replace the use of RTE_MARKER with C11 anonymous unions to improve code portability between toolchains. Update use of rte_mbuf rearm_data field in net/ionic, net/sfc and net/virtio which were accessing field as a zero-length array. Signed-off-by: Tyler Retzlaff --- drivers/net/ionic/ionic_lif.c