net/bnx2x: restructure Tx routine
authorRasesh Mody <rasesh.mody@qlogic.com>
Thu, 12 May 2016 00:06:23 +0000 (17:06 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:55 +0000 (17:13 +0200)
commit827ed2a118ccda13f792c2829bed4523d404a6e6
treea6255ceb4482c1e142a4c9f2b5c3d3be5e36c794
parentec9c605fd33afa2a9142fc12a186394db4d0570e
net/bnx2x: restructure Tx routine

- Process Tx completions based on configured Tx free threshold and
  determine how much TX BDs are required before invoking bnx2x_tx_encap()
- Change bnx2x_tx_encap() to void function as it can now never fail

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