Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-06-11 Thread Thomas Monjalon
11/06/2020 13:43, Olivier Matz: > On Tue, May 19, 2020 at 03:15:19PM -0700, Ranjit Menon wrote: > > On 5/19/2020 1:18 PM, Thomas Monjalon wrote: > > > 19/05/2020 21:57, Dmitry Kozlyuk: > > > > On Tue, 19 May 2020 20:49:50 +0200 > > > > Thomas Monjalon wrote: > > > > > > > > > +Cc more maintainers

Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-06-11 Thread Olivier Matz
On Tue, May 19, 2020 at 03:15:19PM -0700, Ranjit Menon wrote: > On 5/19/2020 1:18 PM, Thomas Monjalon wrote: > > 19/05/2020 21:57, Dmitry Kozlyuk: > > > On Tue, 19 May 2020 20:49:50 +0200 > > > Thomas Monjalon wrote: > > > > > > > +Cc more maintainers > > > > > > > > 19/05/2020 20:41, tal...@mel

Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-05-19 Thread Ranjit Menon
On 5/19/2020 1:18 PM, Thomas Monjalon wrote: 19/05/2020 21:57, Dmitry Kozlyuk: On Tue, 19 May 2020 20:49:50 +0200 Thomas Monjalon wrote: +Cc more maintainers 19/05/2020 20:41, tal...@mellanox.com: From: Tal Shnaiderman Using uint32_t type bit-fields in Windows will pads the 'L2/L3/L4 and

Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-05-19 Thread Thomas Monjalon
19/05/2020 21:57, Dmitry Kozlyuk: > On Tue, 19 May 2020 20:49:50 +0200 > Thomas Monjalon wrote: > > > +Cc more maintainers > > > > 19/05/2020 20:41, tal...@mellanox.com: > > > From: Tal Shnaiderman > > > > > > Using uint32_t type bit-fields in Windows will pads the > > > 'L2/L3/L4 and tunnel i

Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-05-19 Thread Dmitry Kozlyuk
On Tue, 19 May 2020 20:49:50 +0200 Thomas Monjalon wrote: > +Cc more maintainers > > 19/05/2020 20:41, tal...@mellanox.com: > > From: Tal Shnaiderman > > > > Using uint32_t type bit-fields in Windows will pads the > > 'L2/L3/L4 and tunnel information' union with additional bits. > > > > This

Re: [dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-05-19 Thread Thomas Monjalon
+Cc more maintainers 19/05/2020 20:41, tal...@mellanox.com: > From: Tal Shnaiderman > > Using uint32_t type bit-fields in Windows will pads the > 'L2/L3/L4 and tunnel information' union with additional bits. > > This padding causes rte_mbuf size misalignment and the total size > increases to 3

[dpdk-dev] [PATCH] mbuf: align rte_mbuf for Windows

2020-05-19 Thread talshn
From: Tal Shnaiderman Using uint32_t type bit-fields in Windows will pads the 'L2/L3/L4 and tunnel information' union with additional bits. This padding causes rte_mbuf size misalignment and the total size increases to 3 cache-lines. Changed packet_type bit-fields types from uint32_t to uint8_t