- Name
-
packet_buffer_mode
- Default
-
0
- Minimum
-
0
- Maximum
-
2
- Scope
- per-stack
This option affects how DMA buffers are managed. The default packet buffer mode uses a limited hardware resource, and so restricts the total amount of memory that can be used by Onload for DMA.
Setting EF_PACKET_BUFFER_MODE!=0
enables 'scalable packet buffer mode' which removes that limit. See details for each mode below:
-
2
- Physical address mode.Inherently unsafe, with no address space separation between different stacks or net driver packets.
Mode 1 was relevant only to adapters which are no longer supported.
For unsafe physical address mode (2
), you should
tune phys_mode_gid module parameter of the onload module.