net/enic: use Tx completion index instead of messages
authorJohn Daley <johndale@cisco.com>
Fri, 3 Jun 2016 00:22:51 +0000 (17:22 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:56 +0000 (17:13 +0200)
commitfc2c8c0668fd79bc21088da0729dac9f10bdfd0a
treec788231914fef17ede735d1d01f4247f87da393b
parenta3b1e9551c26085e80322d0507394fe5496ae3ba
net/enic: use Tx completion index instead of messages

The NIC can either DMA a separate completion message for each completed
send or periodically just DMA the index of the last completed send.
Switch to the latter method which improves cache locality and performance.

Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_wq.c
drivers/net/enic/base/vnic_wq.h
drivers/net/enic/enic_main.c
drivers/net/enic/enic_rxtx.c