enic: Use receive queue buffer blocks of 32/64 entries
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 24 Jun 2010 10:51:51 +0000 (10:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 03:50:24 +0000 (20:50 -0700)
commitb5bab85c15ed3d1ae7f917a7c077086ac6c04572
treee7a259fc15178a546cd9e4d0757ec040b4209bc6
parent70feadf36df94dc0dc2f32fec4c131ecd75344f2
enic: Use receive queue buffer blocks of 32/64 entries

Change the receive queue buffer allocations into blocks of 32 entries when
ring size is less than 64, otherwise use 64 entries per block.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/vnic_rq.c
drivers/net/enic/vnic_rq.h
drivers/net/enic/vnic_wq.c
drivers/net/enic/vnic_wq.h