mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
block: extend generic driver API (Ref #750)
* allow to handle a maximum of packets in parallel that fits free slots in the ack queue * stop processing packets, when the driver can't handle more requests in parallel, and resume packet handling, when the driver is ready again
This commit is contained in:
committed by
Norman Feske
parent
b10b9e20a2
commit
56a7d00a44
@@ -56,7 +56,7 @@ class Driver : public Block::Driver
|
||||
{
|
||||
_http.cmd_get(block_nr * _block_size, block_count * _block_size,
|
||||
(addr_t)buffer);
|
||||
session->complete_packet(packet);
|
||||
session->ack_packet(packet);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user