mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
parent
c43bd472ac
commit
6699290766
@ -33,12 +33,13 @@ struct Nic::Connection : Genode::Connection<Session>, Session_client
|
||||
*/
|
||||
Connection(Genode::Range_allocator *tx_block_alloc,
|
||||
Genode::size_t tx_buf_size,
|
||||
Genode::size_t rx_buf_size)
|
||||
Genode::size_t rx_buf_size,
|
||||
char const *label = "")
|
||||
:
|
||||
Genode::Connection<Session>(
|
||||
session("ram_quota=%zd, tx_buf_size=%zd, rx_buf_size=%zd",
|
||||
session("ram_quota=%zd, tx_buf_size=%zd, rx_buf_size=%zd, label=\"%s\"",
|
||||
6*4096 + tx_buf_size + rx_buf_size,
|
||||
tx_buf_size, rx_buf_size)),
|
||||
tx_buf_size, rx_buf_size, label)),
|
||||
Session_client(cap(), tx_block_alloc)
|
||||
{ }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user