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

Prepare to support more options for number of Rx 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_rx.h
drivers/net/sfc/sfc_ef10_rx.c
drivers/net/sfc/sfc_rx.c
drivers/net/sfc/sfc_rx.h