------- Comment From z...@us.ibm.com 2020-08-03 13:45 EDT-------
Follow the link Waiki Wright provided today:
"https://bugs.launchpad.net/ubuntu-power-systems/+bug/1873961    see comment 17"

Get the binary from:
https://launchpad.net/ubuntu/bionic/ppc64el/iproute2/4.15.0-2ubuntu1.2
iproute2_4.15.0-2ubuntu1.2_ppc64el.deb (783.3 KiB)

After installation:
root@ltcgen4:~# ls -al /sbin/tc
-rwxr-xr-x 1 root root 746392 Jul 15 10:16 /sbin/tc

root@ltcgen4:~# sum /sbin/tc
45845   729

root@ltcgen4:~# dpkg -l |grep iproute
ii  iproute2                                             4.15.0-2ubuntu1.2      
                      ppc64el      networking and traffic control tools

It works with this iproute2 package.

# /sbin/tc qdisc add dev lo ingress
# /sbin/tc filter add dev lo parent ffff: prio 3 proto ip flower ip_tos 0x8/32
# /sbin/tc filter add dev lo parent ffff: prio 5 proto ip flower ip_proto tcp 
tcp_flags 0x909/f00

# /sbin/tc filter show dev lo parent ffff:
filter protocol ip pref 3 flower chain 0
filter protocol ip pref 3 flower chain 0 handle 0x1
eth_type ipv4
ip_tos 0x8/32
not_in_hw
filter protocol ip pref 5 flower chain 0
filter protocol ip pref 5 flower chain 0 handle 0x1
eth_type ipv4
ip_proto tcp
tcp_flags 0x909/f00   /* <--- */
not_in_hw

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873961

Title:
  tc filter show tcp_flags wrong mask value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1873961/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to