RDMA/nes: Inform hardware that asynchronous event has been handled
When asynchronous events are processed by software, it is necessary to let the hardware know that software has handled the event. This frees up the entry in the asynchronous event queue. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Chien Tung <chien.tin.tung@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Tento commit je obsažen v:
@@ -2269,6 +2269,8 @@ static void nes_process_aeq(struct nes_device *nesdev, struct nes_hw_aeq *aeq)
|
||||
|
||||
if (++head >= aeq_size)
|
||||
head = 0;
|
||||
|
||||
nes_write32(nesdev->regs + NES_AEQ_ALLOC, 1 << 16);
|
||||
}
|
||||
while (1);
|
||||
aeq->aeq_head = head;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele