Commit Graph

21 Commits

Author SHA1 Message Date
Michael Tremer
ec0ba68a15 udev: Rename enable_codel to network-aqm
This is a more generic term since CoDel is no longer being used

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-16 15:17:50 +00:00
Michael Tremer
8be8ac63ca udev: Enable ntuple offloading feature in supported NICs
We are using CPU-affinity and packet steering functions in various
places in IPFire, but packets might still be received on a random CPU
core.

This feature enables that packets that belong to the same connection
(i.e. have the save tuple) will be steered to the same queue. This will
increase cache locality and decrease locking which results in higher
throughput.

https://www.kernel.org/doc/Documentation/networking/scaling.txt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-10 16:57:06 +00:00
Michael Tremer
2db1a399c5 udev: Migrate to eudev
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-21 12:43:37 +01:00
Jonatan Schlag
3fbf7bed79 network: Rename MACVTAP script
This script is creating common bridges now, too and therefore
needs a more generic name.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-12-29 20:34:22 +00:00
Jonatan Schlag
7b616db4e2 Network: add macvtap mode
This change make it possible to use a macvtap interface as a
standard interface (green0).
This is required by libvirt, because libvirt adds macvtap interfaces to
the physical interface, but this causes a problem. A VM  with this
configuration can communicate with the whole network,
but not with the Host (IPFire).
To solve this problem, the host interface must be also a macvtap interface.
This is achieved by:
1. In /var/ipfire/ethernet/settings the mode of a interface could set
with GREEN_MODE= ...
When the mode is macvtap the physical interface is renamed to green0phys
instead of green0. If the mode is not set the normal configuration is
applied .
2. The  network-hotplug-macvtap script checks if a physical nic ends
with "phys".
When the interface ends with "phys", the script adds a macvtap interface
to the physical nic which is named green0. The MAC address of this
interface is set to the MAC address of the physical nic. The MAC address
of the physical is set to a random value. We do this because the MAC
address of green0 should not change.
All services, IP addresses then binds to the macvatap interface, the
physical nic is not used.
PS.:  The script works also with the orange or blue interface, just
replace green with orange or blue.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:22:29 +01:00
Michael Tremer
36f7fe6a38 udev: Add hotplugging for VLAN devices
The VLAN devices will now automatically be created after
a parent device has been added.

Mainly this will resolve a race-condition between udev
initialising the network adapters and sysvinit running
scripts that will do the initialisation of the VLAN.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-05 12:43:08 +01:00
Michael Tremer
600b99fb31 network: Configure device names from /var/ipfire/ethernet/settings
Instead of creating a copy of the configuration values and
for better extensibility, we will have udev execute a script
that parses /var/ipfire/ethernet/settings and will return the
correct name of the corresponding device (green0, blue0, ...).
2015-03-09 16:31:59 +01:00
Michael Tremer
2af8179385 rngd: Mix-in RDRAND and reload for HWRNGs added at runtime. 2014-02-01 16:46:22 +01:00
Arne Fitzenreiter
35e188494d udev: update to 208. 2013-11-18 23:27:37 +01:00
Arne Fitzenreiter
ba109afd0d kmod: replace module-init-tools by kmod-13.
newer udev depend on kmod.
2013-11-18 19:00:51 +01:00
Arne Fitzenreiter
8b246743fa udev: add missing alsa rules. 2012-11-09 09:55:18 +01:00
Arne Fitzenreiter
ae0d87a63b udev: update to 141 and cleanup rules. 2012-10-30 14:25:33 +01:00
Michael Tremer#
3e78d712cc codel: Enable fq_codel on all devices.
Except loopback.
2012-08-14 15:44:19 +02:00
Michael Tremer
1ea989ebb7 udev: Update to 125. 2010-07-25 22:07:54 +02:00
Michael Tremer
25bca62b6a Update udev rootfile. 2010-07-20 18:18:30 +02:00
Maniacikarus
ea769b0a09 Fixed serveral rootfiles 2008-11-02 11:11:32 +01:00
Arne Fitzenreiter
c674e147f9 Removed alsa & bluetooth firmware files from iso. They are also in the packages 2008-10-09 22:16:51 +02:00
Michael Tremer
0ca0680295 Prepared core update 13.
This will change the format of the mISDN config file
back to plain config not XML.
For the new old script there is bc required.
Additionally the mISDN modules and some related are not
loaded by udev on sys-start but manually by the
mISDN init script.
2008-04-10 00:09:53 +02:00
arne_f
debeaeaabc added DVB Hardware modules to core12
added VideoDiskRecoreder


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1287 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-03-27 08:48:22 +00:00
ms
ee78a5efc7 Die IDE/SCSI/SATA/USB-Erkennung erstellt nun schoene Ramdisks :D
Kernel ist jetzt noch modularer, da keine IDE/FS-Treiber vorhanden sind.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@561 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-18 16:00:20 +00:00
ms
1d4ec104ef uClibc haengt...
Viele Rootfiles erstellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@327 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-23 21:16:38 +00:00