EF_MAX_PACKETS

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English
Name
max_packets
Default
32768
Minimum
1024
Scope
per-stack

Upper limit on number of packet buffers in each Onload stack. Packet buffers require hardware resources which may become a limiting factor if many stacks are each using many packet buffers. This option can be used to limit how much hardware resource and memory a stack uses. This option has an upper limit determined by the max_packets_per_stack onload module option.

Note: When 'scalable packet buffer mode' is not enabled (see EF_PACKET_BUFFER_MODE) the total number of packet buffers possible in aggregate is limited by a hardware resource.