summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-15 02:47:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-15 02:47:00 +0000
commit160e28913ca2d1f062f6b2e4c1495afdb7fcc573 (patch)
tree4b05e977b504544c3641bb4f59475eca2c5eeef8 /etc/inc/pfsense-utils.inc
parentebe1515bab298018e62df0a8ee8b821f37e939c1 (diff)
downloadpfsense-160e28913ca2d1f062f6b2e4c1495afdb7fcc573.zip
pfsense-160e28913ca2d1f062f6b2e4c1495afdb7fcc573.tar.gz
Temporarily enable polling using kern.polling.enable=1
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 6205008..7c62677 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -152,6 +152,9 @@ function enable_hardware_offloading($interface) {
mwexec("/sbin/ifconfig {$interface} rxcsum 2>/dev/null");
if(stristr($options, "polling") == true)
mwexec("/sbin/ifconfig {$interface} polling 2>/dev/null");
+ mwexec("kern.polling.enable=1");
+ } else {
+ mwexec("kern.polling.enable=0");
}
return;
}
OpenPOWER on IntegriCloud