]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/functions/functions.constants
Move offloading code into an own file
[people/ms/network.git] / src / functions / functions.constants
index 63c5cad29abfca0eda18f0be98fda8da269f655a..0d6cdd2fba47fa4db933b054496ed95cd3d905f3 100644 (file)
@@ -94,30 +94,6 @@ DISCOVER_NOT_SUPPORTED=2
 # Default MTU
 DEFAULT_MTU=1500
 
-# A list of supported device offloading mechanisms
-# that are being mapped to the ethtool command
-declare -A DEVICE_SUPPORTED_OFFLOADINGS=(
-       [generic-receive-offload]="gro"
-       [generic-segmentation-offload]="gso"
-       [large-receive-offload]="lro"
-       [rx-checksumming]="rx"
-       [scatter-gather]="sg"
-       [tcp-segmentation-offload]="tso"
-       [tx-checksumming]="tx"
-       [udp-fragmentation-offload]="ufo"
-)
-
-# These offloadings will automatically be enabled (if supported)
-DEVICE_AUTO_OFFLOADINGS=(
-       generic-receive-offload
-       generic-segmentation-offload
-       rx-checksumming
-       scatter-gather
-       tcp-segmentation-offload
-       tx-checksumming
-       udp-fragmentation-offload
-)
-
 # The user is able to create zones that begin
 # with these names followed by a number.
 ZONE_LOCAL="net"