summaryrefslogtreecommitdiffstats
path: root/src/core/bitmap.c
diff options
context:
space:
mode:
authorMichael Brown2009-07-06 20:12:12 +0200
committerMichael Brown2009-07-18 00:06:33 +0200
commit887d296b886aeb5eb9dd67dd85221f64f2683849 (patch)
tree51d5502ceaafcb56875eb9733efe36700574b334 /src/core/bitmap.c
parent[infiniband] Centralise assumption of 2048-byte payloads (diff)
downloadipxe-887d296b886aeb5eb9dd67dd85221f64f2683849.tar.gz
ipxe-887d296b886aeb5eb9dd67dd85221f64f2683849.tar.xz
ipxe-887d296b886aeb5eb9dd67dd85221f64f2683849.zip
[infiniband] Poll completion queues automatically
Currently, all Infiniband users must create a process for polling their completion queues (or rely on a regular hook such as netdev_poll() in ipoib.c). Move instead to a model whereby the Infiniband core maintains a single process calling ib_poll_eq(), and polling the event queue triggers polls of the applicable completion queues. (At present, the Infiniband core simply polls all of the device's completion queues.) Polling a completion queue will now implicitly refill all attached receive work queues; this is analogous to the way that netdev_poll() implicitly refills the RX ring. Infiniband users no longer need to create a process just to poll their completion queues and refill their receive rings.
Diffstat (limited to 'src/core/bitmap.c')
0 files changed, 0 insertions, 0 deletions