summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-25 22:37:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-25 22:37:19 +0000
commit6ac2dcdb515d226cd4f95ae5bdd4fbd810a2032b (patch)
tree974cdc371596d1b3b0fd7b0dc14519c572d75e43
parent4dd1d9afd2f55e57755d8e3b0e10be336da9b93e (diff)
downloadpfsense-6ac2dcdb515d226cd4f95ae5bdd4fbd810a2032b.zip
pfsense-6ac2dcdb515d226cd4f95ae5bdd4fbd810a2032b.tar.gz
Try to enable hardware cheksum
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index ecf8b54..b62ed66 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -108,6 +108,8 @@ function enable_hardware_offloading($interface) {
}
}
}
+ mwexec("/sbin/ifconfig $interface txcsum 2>/dev/null");
+ mwexec("/sbin/ifconfig $interface rxcsum 2>/dev/null");
return;
}
OpenPOWER on IntegriCloud