af_packet: Added buffer_size option to broctl plugin.

The buffer size can now be set in node.cfg using the
af_packet_buffer_size key.
This commit is contained in:
Jan Grashoefer 2017-10-23 18:08:44 +02:00 committed by Tim Wojtulewicz
parent a89379c353
commit 3adaef434b

View file

@ -98,6 +98,7 @@ be utilized. The following shows an exemplary configuration::
# Optional parameters for per node configuration: # Optional parameters for per node configuration:
af_packet_fanout_id=23 af_packet_fanout_id=23
af_packet_fanout_mode=AF_Packet::FANOUT_HASH af_packet_fanout_mode=AF_Packet::FANOUT_HASH
af_packet_buffer_size=128*1024*1024
If all interfaces using ``lb_method=custom`` should be configured for AF_Packet, the If all interfaces using ``lb_method=custom`` should be configured for AF_Packet, the
prefix can be globally definied by adding the following line to ``broctl.conf``:: prefix can be globally definied by adding the following line to ``broctl.conf``::