Lines Matching full:eth1
86 | | Eth0 | | Eth0 | | Eth0 | | Eth1 | | s
120 | | | | | | | Eth0.100 | | Eth1 | |
150 // Add 4 tx queues, for interface Eth0, and 1 tx queue for Eth1
201 // coming to interface Eth1 to separate queue in order to not mix it
203 // packets to Eth1, so all prio -> tc0 and tc0 -> txq4
204 // Here hw 0, so here still default configuration for eth1 in hw
205 $ tc qdisc replace dev eth1 handle 100: parent root mqprio num_tc 1 \
222 $ tc -g class show dev eth1
250 8021q: adding VLAN 0 to HW filter on device eth1
298 $ tc qdisc del dev eth1 root
317 | | Eth0 | | Eth0 | | | | | Eth1 | | Eth1 | | s
381 // by two interfaces Eth0 and Eth1.
382 $ ethtool -L eth1 rx 1 tx 8
404 // and for tx2 and tx3 for Eth1. That is, rates 40 and 20 Mb/s appropriately
405 // for Eth0 and 30 and 10 Mb/s for Eth1.
410 $ echo 30 > /sys/class/net/eth1/queues/tx-2/tx_maxrate
411 $ echo 10 > /sys/class/net/eth1/queues/tx-3/tx_maxrate
487 // Map skb->priority to traffic class for Eth1:
491 $ tc qdisc replace dev eth1 handle 100: parent root mqprio num_tc 3 \
497 $ tc -g class show dev eth1
510 // Set rate for class A - 31 Mbit (tc0, txq2) using CBS Qdisc for Eth1
512 // for interface speed - 100Mb for eth1 port.
514 $ tc qdisc add dev eth1 parent 100:3 cbs locredit -1035 \
516 net eth1: set FIFO3 bw = 31
520 // Set rate for class B - 11 Mbit (tc1, txq3) using CBS Qdisc for Eth1
522 $ tc qdisc add dev eth1 parent 100:4 cbs locredit -1335 \
524 net eth1: set FIFO2 bw = 11
528 // Create vlan 100 to map sk->priority to vlan qos for Eth1
529 $ ip link add link eth1 name eth1.100 type vlan id 100
530 net eth1: Adding vlanid 100 to vlan filter
534 // Map skb->priority to L2 prio for Eth1.100, one to one
535 $ ip link set eth1.100 type vlan \
541 $ cat /proc/net/vlan/eth1.100
552 ./tsn_talker -d 20:cf:30:85:7d:fd -i eth1.100 -p2 -s 1500&
553 ./tsn_talker -d 20:cf:30:85:7d:fd -i eth1.100 -p3 -s 1500&
577 $ ip link del eth1.100
579 $ tc qdisc del dev eth1 root
580 net eth1: Prev FIFO2 is shaped
581 net eth1: set FIFO3 bw = 0
582 net eth1: set FIFO2 bw = 0