Re: [iproute] rdma broken on 32 bit

2018-12-13 Thread Stephen Hemminger
On Tue, 11 Dec 2018 17:33:19 + Leon Romanovsky wrote: > On Mon, Dec 10, 2018 at 02:10:20PM -0800, Stephen Hemminger wrote: > > It appears that RDMA is broken on 32 bit platforms. > > Sure you don't run on 32bit, but iproute2 needs to build everywhere. > > > > The issue is that you are assumi

Re: [iproute] rdma broken on 32 bit

2018-12-11 Thread Leon Romanovsky
On Mon, Dec 10, 2018 at 02:10:20PM -0800, Stephen Hemminger wrote: > It appears that RDMA is broken on 32 bit platforms. > Sure you don't run on 32bit, but iproute2 needs to build everywhere. > > The issue is that you are assuming a C enum can hold 64 bits. > The standard says enum only has to hol

[iproute] rdma broken on 32 bit

2018-12-10 Thread Stephen Hemminger
It appears that RDMA is broken on 32 bit platforms. Sure you don't run on 32bit, but iproute2 needs to build everywhere. The issue is that you are assuming a C enum can hold 64 bits. The standard says enum only has to hold "int" values. So it breaks on 32bit. The issue is deeper than just a triv