Example Configuration Settings

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

Below are examples of configurations using the EF_SCALABLE_FILTERS environment option to set transparent proxy modes.

  • Enable scalable filters on interface enps0f0 - this inserts a MAC address filter on the adapter. The filter is shared by all active open connections on the interface. Socket caching will be applied to the passive side of the TCP connection.
    EF_SCALABLE_FILTERS=enps0f0=passive
  • Enable scalable filters on enps0f0, then all sockets using this interface that have the IP_TRANSPARENT flag set will use the MAC filter, other sockets will continue to use normal IP filters on this interface. Socket caching will be applied to the active side of a TCP connection:
    EF_SCALABLE_FILTERS=enps0f0=transparent_active
  • As for the example above, but uses symmetrical RSS to ensure that requests/responses between clients and backend servers are processed by the same thread.
    EF_SCALABLE_FILTERS=enps0f0=rss:transparent_active
  • Enable scalable filters on enps0f0, then all sockets using this interface that have the IP_TRANSPARENT flag set will use the MAC filter, other sockets will continue to use normal IP filters on this interface. Socket buffers are cached from active and passive sides of the TCP connection.
    EF_SCALABLE_FILTERS=enps0f0=transparent_active:passive