diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-09 13:49:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-09 14:12:49 +0200 |
commit | 782d0cecb3d221b73a31e4a38cebef6a7f37c947 (patch) | |
tree | 93228eaeac2edd818e1269ec8bc046314f4a8c70 | |
parent | 638faa801c1815d9792c651b86a06d7bfbc9095e (diff) | |
download | vyatta-cfg-system-782d0cecb3d221b73a31e4a38cebef6a7f37c947.tar.gz vyatta-cfg-system-782d0cecb3d221b73a31e4a38cebef6a7f37c947.zip |
modprobe.d: move no-copybreak.conf to vyos-build
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | etc/modprobe.d/no-copybreak.conf | 64 |
2 files changed, 0 insertions, 66 deletions
diff --git a/Makefile.am b/Makefile.am index 96421368..4c79ca9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,8 +3,6 @@ bin_sudo_usersdir = $(bindir)/sudo-users curverdir = $(sysconfdir)/config-migrate/current checkparamsonrebootdir = $(bindir)/sudo-users/check-params-on-reboot.d initddir = /etc/init.d -modprobedir = /etc/modprobe.d -modprobe_DATA = etc/modprobe.d/no-copybreak.conf share_perl5dir = $(datadir)/perl5 bin_SCRIPTS = diff --git a/etc/modprobe.d/no-copybreak.conf b/etc/modprobe.d/no-copybreak.conf deleted file mode 100644 index 822fcf30..00000000 --- a/etc/modprobe.d/no-copybreak.conf +++ /dev/null @@ -1,64 +0,0 @@ -# -# **** License **** -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# This code was originally developed by Vyatta, Inc. -# Portions created by Vyatta are Copyright (C) 2009 Vyatta, Inc. -# All Rights Reserved. -# **** End License **** -# -# Author: Bob Gilligan <gilligan@vyatta.com> -# -# Some network interface drivers employ a scheme known as "copybreak" -# in which they make a copy of a received skb if the size of the -# buffer is below a particular threshold, then return the original -# receive skb back to the pool. Since these drivers initially -# allocate a buffer size that is larger than the largest possible -# packet, this scheme returns that large buffer to the pool quickly, -# and uses a smaller one. -# -# The primary benefit of copybreak is better memory utilization. On -# systems where the data is ultimately going to be copied out to user -# space, the copybreak scheme is "low cost" because it has the side -# benefit of priming the cache for that later copy. But on a router -# that only touches the header fields of a received packet, the cost -# can be relatively higher. And on modern systems the memory savings -# is rarely an important consideration. -# -# Some of the drivers that employ copybreak make the feature -# configurable via a module parameter. This file disables copybreak -# in some of those drivers. Generally this results in an improvement -# in forwarding performance for traffic using these drivers. -# - -options 3c515 rx_copybreak=0 -options 3c59x rx_copybreak=0 -options bcm63xx copybreak=0 -options cxgb copybreak=0 -options e1000 copybreak=0 -options e1000e copybreak=0 -options epic100 rx_copybreak=0 -options fealnx rx_copybreak=0 -options hamachi rx_copybreak=0 -options ixgb copybreak=0 -options natsemi rx_copybreak=0 -options pch_gbe copybreak=0 -options pcnet32 rx_copybreak=0 -options sis190 rx_copybreak=0 -options sky2 copybreak=0 -options starfire rx_copybreak=0 -options sundance rx_copybreak=0 -options typhoon rx_copybreak=0 -options via-rhine rx_copybreak=0 -options via-velocity rx_copybreak=0 -options yellowfin rx_copybreak=0 - - - |