* Fwd: Problem with the kernel 4.15 - cutting the band (tc) [not found] <42a29f8a-beb3-84da-9129-fbda7ef81be4@hostcenter.eu> @ 2018-04-06 21:56 ` Linus Torvalds 2018-04-06 23:50 ` Cong Wang 0 siblings, 1 reply; 2+ messages in thread From: Linus Torvalds @ 2018-04-06 21:56 UTC (permalink / raw) To: David Miller; +Cc: netdev Forwarding a report about what looks like a regression between 4.14 and 4.15. New ENOSPC issue? I don't even knew where to start guessing where to look. Help me, Davem-Wan Kenobi, you are my only hope. (But adding netdev just in case somebody else goes "That's obviously Xyz") Linus ---------- Forwarded message ---------- From: Marcin Kabiesz <admin@hostcenter.eu> Date: Thu, Apr 5, 2018 at 10:38 AM Subject: Problem with the kernel 4.15 - cutting the band (tc) Hello, I have a problem with bandwidth cutting on kernel 4.15. On the version up to 4.15, i.e. 4.14, this problem does not occur. uname -a: Linux router 4.14.15 #1 SMP x86_64 Intel Xeon E3-1230 v6 command to reproduce: tc qdisc add dev ifb0 root handle 1: htb r2q 2 tc class add dev ifb0 parent 1: classid 1:1 htb rate 10gbit ceil 10gbit quantum 16000 tc filter add dev ifb0 parent 1: prio 5 handle 1: protocol all u32 divisor 256 tc filter add dev ifb0 protocol all parent 1: prio 5 u32 ht 800:: match ip dst 0.0.0.0/0 hashkey mask 0x000000ff at 16 link 1: tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 This ok, no error/warnings and dmesg log. uname -a: Linux router 4.15.8 #1 SMP x86_64 Intel Xeon E3-1230 v6 (or 4.15.14 this same effect) command to reproduce: tc qdisc add dev ifb0 root handle 1: htb r2q 2 tc class add dev ifb0 parent 1: classid 1:1 htb rate 10gbit ceil 10gbit quantum 16000 tc filter add dev ifb0 parent 1: prio 5 handle 1: protocol all u32 divisor 256 tc filter add dev ifb0 protocol all parent 1: prio 5 u32 ht 800:: match ip dst 0.0.0.0/0 hashkey mask 0x000000ff at 16 link 1: tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 RTNETLINK answers: No space left on device We have an error talking to the kernel This not ok, on error/warnings and no dmesg log. Best Regards Please forgive my English Marcin Kabiesz ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with the kernel 4.15 - cutting the band (tc) 2018-04-06 21:56 ` Fwd: Problem with the kernel 4.15 - cutting the band (tc) Linus Torvalds @ 2018-04-06 23:50 ` Cong Wang 0 siblings, 0 replies; 2+ messages in thread From: Cong Wang @ 2018-04-06 23:50 UTC (permalink / raw) To: Linus Torvalds; +Cc: David Miller, Linux Kernel Network Developers On Fri, Apr 6, 2018 at 2:56 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > Forwarding a report about what looks like a regression between 4.14 and 4.15. > > New ENOSPC issue? I don't even knew where to start guessing where to look. > > Help me, Davem-Wan Kenobi, you are my only hope. > > (But adding netdev just in case somebody else goes "That's obviously Xyz") > > Linus > > ---------- Forwarded message ---------- > From: Marcin Kabiesz <admin@hostcenter.eu> > Date: Thu, Apr 5, 2018 at 10:38 AM > Subject: Problem with the kernel 4.15 - cutting the band (tc) > > > Hello, > I have a problem with bandwidth cutting on kernel 4.15. On the version > up to 4.15, i.e. 4.14, this problem does not occur. > > uname -a: Linux router 4.14.15 #1 SMP x86_64 Intel Xeon E3-1230 v6 > command to reproduce: > > tc qdisc add dev ifb0 root handle 1: htb r2q 2 > tc class add dev ifb0 parent 1: classid 1:1 htb rate 10gbit ceil > 10gbit quantum 16000 > tc filter add dev ifb0 parent 1: prio 5 handle 1: protocol all u32 divisor 256 > tc filter add dev ifb0 protocol all parent 1: prio 5 u32 ht 800:: > match ip dst 0.0.0.0/0 hashkey mask 0x000000ff at 16 link 1: > tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 > ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 > tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 > tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 > ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 > tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 > > This ok, no error/warnings and dmesg log. > > uname -a: Linux router 4.15.8 #1 SMP x86_64 Intel Xeon E3-1230 v6 (or > 4.15.14 this same effect) > command to reproduce: > > tc qdisc add dev ifb0 root handle 1: htb r2q 2 > tc class add dev ifb0 parent 1: classid 1:1 htb rate 10gbit ceil > 10gbit quantum 16000 > tc filter add dev ifb0 parent 1: prio 5 handle 1: protocol all u32 divisor 256 > tc filter add dev ifb0 protocol all parent 1: prio 5 u32 ht 800:: > match ip dst 0.0.0.0/0 hashkey mask 0x000000ff at 16 link 1: > tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 > ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 > tc filter del dev ifb0 parent 1:0 handle 1:2c:1 prio 5 u32 > tc filter add dev ifb0 parent 1:0 handle ::1 protocol all prio 5 u32 > ht 1:2c: match ip dst 192.168.3.44/32 flowid 1:2 > RTNETLINK answers: No space left on device > We have an error talking to the kernel > > This not ok, on error/warnings and no dmesg log. We forgot to call idr_remove() when deleting u32 key... I am cooking a fix now. Thanks! ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-06 23:51 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <42a29f8a-beb3-84da-9129-fbda7ef81be4@hostcenter.eu> 2018-04-06 21:56 ` Fwd: Problem with the kernel 4.15 - cutting the band (tc) Linus Torvalds 2018-04-06 23:50 ` Cong Wang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).