net/sfc: use Tx queue max fill level calculated on init
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 9 Jan 2018 20:24:53 +0000 (20:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commiteaab5d96c4692fcc601b89654ac1270eead82822
treeab2f3e8cfca5badeacf2b76fbb59df06e3fcb2c6
parente5595ee2db33d4609c3511a6a1c812d2d5def1e0
net/sfc: use Tx queue max fill level calculated on init

Prepare to support more options for number of Tx descriptors.

libefx-based datapath is updated just for completeness to
make code more readable and less error-prone.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc_dp_tx.h
drivers/net/sfc/sfc_ef10_tx.c
drivers/net/sfc/sfc_tx.c
drivers/net/sfc/sfc_tx.h