net/bnx2x: use single doorbell for Tx
authorRasesh Mody <rasesh.mody@qlogic.com>
Thu, 12 May 2016 00:06:24 +0000 (17:06 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:55 +0000 (17:13 +0200)
commit3570f700b3dfe9ac10b7c45138ec2e11ac08ffae
treee67702fb4fd1ff8a06a9df334b9d614a731e5c6e
parent827ed2a118ccda13f792c2829bed4523d404a6e6
net/bnx2x: use single doorbell for Tx

Change the Tx routine to ring the doorbell once per burst
and not on every Tx packet. This driver-level optimization
is necessary to achieve line rates for larger frame
sizes (1k or more).

Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_rxtx.c