summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorDon Wood <donald.e.wood@intel.com>2009-03-06 15:15:00 -0800
committerRoland Dreier <rolandd@cisco.com>2009-03-06 15:15:00 -0800
commit0145f341a951b998d6d0fa38992a42d2a90b5bab (patch)
treee53b65e3badbaec787ca048aeedd64b6c5199f03 /include/rdma
parent2869975cfbd58dc6591d8c3ba1f171e7f758be28 (diff)
downloadop-kernel-dev-0145f341a951b998d6d0fa38992a42d2a90b5bab.zip
op-kernel-dev-0145f341a951b998d6d0fa38992a42d2a90b5bab.tar.gz
RDMA/nes: Improve use of PBLs
Two level 256 byte PBLs was not implemented so the driver could report out of memory when in fact there were PBLs still available. This solution prefers to use 4KB PBLs over two level 256B PBLs until the number of 4KB PBLs falls below a threshold. At this point the 4KB PBL structure is converted to use 256B PBLs which prevents the driver from running out of 4KB PBLs too quickly. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud