summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/test
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2016-04-08 10:49:06 -0700
committerJon Mason <jdmason@kudzu.us>2016-08-05 10:21:05 -0400
commita754a8fcaf383be3c5fcc6c3c08e36d9f3005988 (patch)
tree606a8e0132113a30a10ca60364a5da217367fc09 /drivers/ntb/test
parent625f0802e84e47760959a5015fdc704d809fd6c8 (diff)
downloadlinux-stable-a754a8fcaf383be3c5fcc6c3c08e36d9f3005988.tar.gz
linux-stable-a754a8fcaf383be3c5fcc6c3c08e36d9f3005988.tar.bz2
linux-stable-a754a8fcaf383be3c5fcc6c3c08e36d9f3005988.zip
NTB: allocate number transport entries depending on size of ring size
Currently we only allocate a fixed default number of descriptors for the tx and rx side. We should dynamically resize it to the number of descriptors resides in the transport rings. We should know the number of transmit descriptors at initializaiton. We will allocate the default number of descriptors for receive side and allocate additional ones when we know the actual max entries for receive. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Acked-by: Allen Hubbe <allen.hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/test')
0 files changed, 0 insertions, 0 deletions