Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/driver/linux_onload/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ MODULE_PARM_DESC(oof_use_all_local_ip_addresses,
"of the network interface type.\n"
"See also cplane_use_prefsrc_as_local module option.");

module_param(oof_limit_filter_to_interface_ip, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(oof_limit_filter_to_interface_ip,
"By default Onload installs filters for each local IP address "
"to every Onloadable network interface. This option limits "
"Onload such that only filters for local IP addresses on each "
"interface is installed to the corresponding interface.");

#ifdef EFRM_DO_USER_NS
/* The code in this function and below are based on the kernel's
* STANDARD_PARAM_DEF macros, but modified to add in the extra translation
Expand Down
1 change: 1 addition & 0 deletions src/include/onload/oof_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ extern int oof_shared_keep_thresh;
extern int oof_shared_steal_thresh;
extern int oof_all_ports_required;
extern int oof_use_all_local_ip_addresses;
extern int oof_limit_filter_to_interface_ip;

extern struct oof_manager*
oof_manager_alloc(unsigned local_addr_max, void* owner_private);
Expand Down
Loading