Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2020-02-09 Thread Martins Eglitis
Hi, Thank you for the help. I think it has something to do how the NFF-Go is being built. Will address the question to NFF-Go devs. Thank you, Martins On 2020-02-05 14:45, Bruce Richardson wrote: On Wed, Feb 05, 2020 at 01:21:54AM +0100, Martins Eglitis wrote: Dear Bruce and Kevin, I tried

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2020-02-05 Thread Bruce Richardson
On Wed, Feb 05, 2020 at 01:21:54AM +0100, Martins Eglitis wrote: > Dear Bruce and Kevin, > > I tried building an application (NFF-GO) which has DPDK as a dependency. > I am still getting the same warnings you and Kevin were discussing. My > current DPDK version is 19.11-1. > > Do you know if this

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-07-01 Thread Bruce Richardson
On Mon, Jul 01, 2019 at 04:14:30PM +0200, Olivier Matz wrote: > Hi Bruce, > > On Mon, Jul 01, 2019 at 02:38:43PM +0100, Bruce Richardson wrote: > > On Mon, Jul 01, 2019 at 03:11:12PM +0200, Olivier Matz wrote: > > > Hi Bruce, > > > > > > On Thu, May 16, 2019 at 04:54:57PM +0100, Bruce Richardson

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-07-01 Thread Olivier Matz
Hi Bruce, On Mon, Jul 01, 2019 at 02:38:43PM +0100, Bruce Richardson wrote: > On Mon, Jul 01, 2019 at 03:11:12PM +0200, Olivier Matz wrote: > > Hi Bruce, > > > > On Thu, May 16, 2019 at 04:54:57PM +0100, Bruce Richardson wrote: > > > When including the rte_ether.h header in applications with warn

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-07-01 Thread Bruce Richardson
On Mon, Jul 01, 2019 at 03:11:12PM +0200, Olivier Matz wrote: > Hi Bruce, > > On Thu, May 16, 2019 at 04:54:57PM +0100, Bruce Richardson wrote: > > When including the rte_ether.h header in applications with warnings > > enabled, a warning was given because of the assumption of 2-byte alignment > >

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-07-01 Thread Olivier Matz
Hi Bruce, On Thu, May 16, 2019 at 04:54:57PM +0100, Bruce Richardson wrote: > When including the rte_ether.h header in applications with warnings > enabled, a warning was given because of the assumption of 2-byte alignment > of ethernet addresses when processing them. > > .../include/rte_ether.h:

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-05-16 Thread Bruce Richardson
On Thu, May 16, 2019 at 07:04:03PM +0100, Kevin Traynor wrote: > On 16/05/2019 16:54, Bruce Richardson wrote: > > When including the rte_ether.h header in applications with warnings > > enabled, a warning was given because of the assumption of 2-byte alignment > > of ethernet addresses when process

Re: [dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-05-16 Thread Kevin Traynor
On 16/05/2019 16:54, Bruce Richardson wrote: > When including the rte_ether.h header in applications with warnings > enabled, a warning was given because of the assumption of 2-byte alignment > of ethernet addresses when processing them. > > .../include/rte_ether.h:149:2: warning: converting a pac

[dpdk-dev] [PATCH] ether: mark ethernet addresses as being 2-byte aligned

2019-05-16 Thread Bruce Richardson
When including the rte_ether.h header in applications with warnings enabled, a warning was given because of the assumption of 2-byte alignment of ethernet addresses when processing them. .../include/rte_ether.h:149:2: warning: converting a packed ‘const struct ether_addr’ pointer (alignment 1) t