[dpdk-dev] [PATCH] eal/bsd: enable contigmem blocks >1GB in size

2015-03-10 Thread Thomas Monjalon
> The contigmem module was using an "int" type for specifying the > size of blocks of memory to be reserved. A 2GB block was therefore > overflowing the signed 32-bit value, making 1GB the largest block > size that could be reserved as a single unit. > The fix is to change the type used for the buf

[dpdk-dev] [PATCH] eal/bsd: enable contigmem blocks >1GB in size

2015-03-02 Thread Bruce Richardson
The contigmem module was using an "int" type for specifying the size of blocks of memory to be reserved. A 2GB block was therefore overflowing the signed 32-bit value, making 1GB the largest block size that could be reserved as a single unit. The fix is to change the type used for the buffer/block