Home
last modified time | relevance | path

Searched hist:a754a8fcaf383be3c5fcc6c3c08e36d9f3005988 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ntb/
H A Dntb_transport.cdiff a754a8fcaf383be3c5fcc6c3c08e36d9f3005988 Fri Apr 08 12:49:06 CDT 2016 Dave Jiang <dave.jiang@intel.com> 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>