diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 13:14:10 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 13:14:10 +0000 |
commit | 5bda689985e8067a68e3bdae2290672af6e5172f (patch) | |
tree | 6d85588c516a85c151dfe244029fc55d4ef3732e /etc/inc | |
parent | 1329da9857405352814e1be6f9c0850dff855a0f (diff) | |
download | pfsense-5bda689985e8067a68e3bdae2290672af6e5172f.zip pfsense-5bda689985e8067a68e3bdae2290672af6e5172f.tar.gz |
Skip checksumming and polling for vlans
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3f22315..c7d214b 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -909,7 +909,10 @@ function enable_hardware_offloading($interface) { if($config['system']['disablechecksumoffloading']) return; - + /* skip vlans for checksumming and polling */ + if(stristr($interface, "vlan")) { + return; + } if(stristr($options, "txcsum") == true) mwexec("/sbin/ifconfig {$interface} txcsum 2>/dev/null"); if(stristr($options, "rxcsum") == true) |