net/enic: reduce Tx completion updates
authorHyong Youb Kim <hyonkim@cisco.com>
Fri, 29 Jun 2018 09:29:39 +0000 (02:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:54:22 +0000 (01:54 +0200)
commitc55614d102a3250372d428ebfd116308bfae8d04
tree59aae7be37bf6392668f75f5b1b8f8681eac2f6f
parentbcaa54c1a148a9b460049065e1ee84b4312d7576
net/enic: reduce Tx completion updates

Request one completion update per roughly 32 buffers. It saves DMA
resources on the NIC, PCIe utilization, and cache miss rates.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_wq.c
drivers/net/enic/base/vnic_wq.h
drivers/net/enic/enic_res.h
drivers/net/enic/enic_rxtx.c