os: explicit cache policy in Nic::Session_component
To enable the use of uncached DMA buffers as RX and TX communication buffers in between driver (service) and client, introduce a cache attribute in the constructor of Nic::Session_component Ref #3291
This commit is contained in:
committed by
Christian Helmuth
parent
0b9916cae2
commit
c767f6ccf1
@@ -104,7 +104,8 @@ class Ipxe_session_component : public Nic::Session_component
|
||||
Genode::size_t const rx_buf_size,
|
||||
Genode::Allocator &rx_block_md_alloc,
|
||||
Genode::Env &env)
|
||||
: Session_component(tx_buf_size, rx_buf_size, rx_block_md_alloc, env)
|
||||
: Session_component(tx_buf_size, rx_buf_size, Genode::CACHED,
|
||||
rx_block_md_alloc, env)
|
||||
{
|
||||
instance = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user