]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbff90c6c56c2cae2f7b6e08d3bc3b03af2d88953
treee7a259fc15178a546cd9e4d0757ec040b4209bc6
parent30bbb9aa61de3a3a967c4849fe12bc6112c67aaf
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