e1000e: reduce writes of RX producer ptr
authorTom Herbert <therbert@google.com>
Wed, 5 May 2010 14:02:49 +0000 (14:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:11:25 +0000 (21:11 -0700)
commit50849d792b97c546c45a6652a16ba9be7d635c69
tree16f7ec1cb98909e8f9ac7e9c85065cc1c69e236d
parent9ed318d546a29d7a591dbe648fd1a2efe3be1180
e1000e: reduce writes of RX producer ptr

Reduce number of writes to RX producer pointer.   When alloc'ing RX
buffers, only write the RX producer pointer once every
E1000_RX_BUFFER_WRITE (16) buffers created.

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c