net: thunderx: Alloc higher order pages when pagesize is small
authorSunil Goutham <sgoutham@cavium.com>
Thu, 11 Feb 2016 16:20:26 +0000 (21:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:30:26 +0000 (11:30 -0500)
commit6e4be8d6717cb63c58f6b404e63a881c76d8878c
tree322aed52d8af42f81b4180e9115261bb9a4d0bf5
parent1d82efaca87ecf53e97c696f9d0a9adefea0c7b5
net: thunderx: Alloc higher order pages when pagesize is small

Allocate higher order pages when pagesize is small, this will
reduce number of calls to page allocator and wastage of memory.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_queues.c