OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Piotr Jurkiewicz - 25.11.2019

FS#2632 - Incomplete HNAPT FoE entries, HW flow offloading not working

Using current snapshot, HW flow offloading is not working. Hardware flow offloading entries seem to be incomplete. Most of them lack new addresses, ports and MAC addreses. Interestingly, the only entries which are complete are for flows which are reflected by NAT (port forwarding). But packets of these flows also seem to go via the software path, as counters in conntrack keep increasing (I assume that with HW flow offloading accounting should not work.).

Model
ASUS RT-AC65P
Architecture
MediaTek MT7621 ver:1 eco:3
Firmware Version
OpenWrt SNAPSHOT r11583-68fb38548b / LuCI Master git-19.327.83508-5e1253f
Kernel Version
4.14.155

root@OpenWrt:~# cat /sys/kernel/debug/mtk_ppe/all_entry | grep state=[^I]
(302)0x00302|state=UNBIND|type=IPV4_HNAPT|92.119.160.52:57404->217.144.202.174:48022=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(3d2)0x003d2|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.173:37185=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(3ea)0x003ea|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:54235->217.144.204.173:52164=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fb|info2=0x0|vlan1=0|vlan2=0
(456)0x00456|state=UNBIND|type=IPV4_HNAPT|103.79.154.155:29724->217.144.204.173:23=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001f9|info2=0x0|vlan1=0|vlan2=0
(49e)0x0049e|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64590->139.59.210.197:443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(4b8)0x004b8|state=UNBIND|type=IPV4_HNAPT|139.59.210.197:443->217.144.XXX.YYY:64592=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(52e)0x0052e|state=UNBIND|type=IPV4_HNAPT|185.175.93.105:59022->217.144.205.174:18789=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(536)0x00536|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64041->192.168.1.1:22=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(560)0x00560|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:62177->217.144.XXX.YYY:25094=>192.168.1.1:1024->192.168.1.250:94|40:b0:76:3e:c7:7c=>f0:de:f1:07:c3:04|etype=0x0800|info1=0x500001fa|info2=0x7ff020|vlan1=1|vlan2=0
(61a)0x0061a|state=UNBIND|type=IPV4_HNAPT|195.150.8.21:3194->217.144.XXX.YYY:62461=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x500000f7|info2=0x0|vlan1=0|vlan2=0
(69c)0x0069c|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64591->139.59.210.197:443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(728)0x00728|state=UNBIND|type=IPV4_HNAPT|51.91.212.79:37854->217.144.XXX.YYY:6443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(8c2)0x008c2|state=UNBIND|type=IPV4_HNAPT|185.143.223.185:57177->217.144.204.173:37638=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(a8a)0x00a8a|state=UNBIND|type=IPV4_HNAPT|92.118.37.86:44194->217.144.205.210:1656=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f9|info2=0x0|vlan1=0|vlan2=0
(ae8)0x00ae8|state=UNBIND|type=IPV4_HNAPT|185.176.221.238:49680->217.144.204.52:60090=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fa|info2=0x0|vlan1=0|vlan2=0
(c1e)0x00c1e|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.116:36732=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(c58)0x00c58|state=UNBIND|type=IPV4_HNAPT|79.100.86.244:20241->217.144.XXX.YYY:36662=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x500001fc|info2=0x0|vlan1=0|vlan2=0
(c66)0x00c66|state=UNBIND|type=IPV4_HNAPT|94.23.90.20:443->217.144.205.89:54228=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fb|info2=0x0|vlan1=0|vlan2=0
(cc8)0x00cc8|state=UNBIND|type=IPV4_HNAPT|192.168.1.250:94->192.168.1.1:1024=>217.144.XXX.YYY:25094->192.168.1.100:62177|40:b0:76:3e:c7:7c=>90:2b:34:35:7d:d5|etype=0x0800|info1=0x500000fa|info2=0x7ff020|vlan1=1|vlan2=0
(dec)0x00dec|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.142:38783=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(f28)0x00f28|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64352->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f2a)0x00f2a|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64353->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f2c)0x00f2c|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64354->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f56)0x00f56|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64351->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing