net: mhi: Get RX queue size from MHI core
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 28 Jan 2021 13:47:22 +0000 (14:47 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jan 2021 03:41:59 +0000 (19:41 -0800)
commite6ec3ccd4eb2b3b9cf0a4127cf00fae602570a52
tree99906a26a1e57639390b5f9cf9a44be4ed3f5962
parent2bca263cdab1a3e0fce54bc2bdf1885c0cfe3195
net: mhi: Get RX queue size from MHI core

The RX queue size can be determined at runtime by retrieving the
number of available transfer descriptors.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mhi_net.c