net/sfc: use NIC Rx descriptor size instead of common
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Thu, 7 Feb 2019 16:29:28 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commit8c5ca0c628c2ce29aa0f06b905807866630f1d9c
tree54752514797f801c10cd1dd32f718f83bab10071
parent5638b1f0e8aed46e46d78fb20f396f79d4d7b71a
net/sfc: use NIC Rx descriptor size instead of common

Use of the macro for calculating a Rx queue size is deprecated. Replace
it with a call to a function that uses descriptor size specified for
every NIC.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_rx.c