]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.netdev.xml
network: introduce ifb (Intermediate Functional Block)
authorSusant Sahani <ssahani@vmware.com>
Sat, 7 Dec 2019 13:35:55 +0000 (14:35 +0100)
committerSusant Sahani <ssahani@vmware.com>
Sat, 7 Dec 2019 14:29:50 +0000 (15:29 +0100)
commit3295a461b373135e13b409288501cd84b2a69036
tree2d658f77c88414f4be6fe8ff60b42c10cef50204
parentcec1552ad4e0c8276286efa3619db2e2aefb8413
network: introduce ifb (Intermediate Functional Block)

Intermediate Functional Block

The Intermediate Functional Block (ifb) pseudo network interface acts as a QoS concentrator for multiple different sources of traffic. Packets from or to other interfaces have to be redirected to it using the mirred action in order to be handled, regularly routed traffic will be dropped. This way, a single stack of qdiscs, classes and filters can be shared between multiple interfaces.

Here's a simple example to feed incoming traffic from multiple interfaces through a Stochastic Fairness Queue (sfq):

(1) # modprobe ifb
(2) # ip link set ifb0 up
(3) # tc qdisc add dev ifb0 root sfq
man/systemd.netdev.xml
src/network/meson.build
src/network/netdev/ifb.c [new file with mode: 0644]
src/network/netdev/ifb.h [new file with mode: 0644]
src/network/netdev/netdev.c
src/network/netdev/netdev.h