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

Use of the macro for calculating a Tx 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_tx.c