[FS#4239] flow_offloading_hw doesn't work with nftables (mt7621)
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Mon Feb 7 10:38:57 PST 2022
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#4239 - flow_offloading_hw doesn't work with nftables (mt7621)
User who did this - tiagogaspar8 (tiagogaspar8)
----------
Here you go:
root at router1:~# lsmod | grep flow
cls_flow 20480 0
nf_conntrack 81920 8 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_conntrack_netlink,nf_nat,nf_flow_table
nf_flow_table 32768 4 nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet 16384 1
nf_flow_table_ipv4 16384 0
nf_flow_table_ipv6 16384 0
nf_tables 155648232 nft_fib_inet,nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_objref,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_counter,nft_chain_nat
nft_flow_offload 16384 1
root at router1:~# ubus call network.device status
{
"br-lan": {
"external": false,
"present": true,
"type": "bridge",
"up": true,
"carrier": true,
"auth_status": false,
"link-advertising": [
],
"link-partner-advertising": [
],
"link-supported": [
],
"speed": "1000F",
"autoneg": false,
"hw-tc-offload": false,
"devtype": "bridge",
"bridge-members": [
"lan1",
"lan2",
"lan3",
"lan4",
"wlan1"
],
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": true,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 55135,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 131989142,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 243693,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 120329,
"rx_errors": 0,
"tx_bytes": 70163385,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"eth0": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": true,
"auth_status": false,
"link-advertising": [
"1000baseT-F"
],
"link-partner-advertising": [
"1000baseT-F"
],
"link-supported": [
"1000baseT-F"
],
"speed": "1000F",
"autoneg": true,
"hw-tc-offload": false,
"devtype": "ethernet",
"mtu": 1508,
"mtu6": 1508,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1024,
"ipv6": true,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 210802462,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 390420,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 332558,
"rx_errors": 0,
"tx_bytes": 154397558,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"lan1": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": false,
"auth_status": false,
"link-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-partner-advertising": [
],
"link-supported": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"speed": "-1F",
"autoneg": true,
"hw-tc-offload": true,
"devtype": "dsa",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": false,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 0,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 0,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 0,
"rx_errors": 0,
"tx_bytes": 0,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"lan2": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": true,
"auth_status": false,
"link-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-partner-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-supported": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"speed": "1000F",
"autoneg": true,
"hw-tc-offload": true,
"devtype": "dsa",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": false,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 132160234,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 246460,
"tx_heartbeat_errors": 0,
"rx_dropped": 1,
"tx_aborted_errors": 0,
"tx_packets": 122528,
"rx_errors": 0,
"tx_bytes": 70325728,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"lan3": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": false,
"auth_status": false,
"link-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-partner-advertising": [
],
"link-supported": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"speed": "-1F",
"autoneg": true,
"hw-tc-offload": true,
"devtype": "dsa",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": false,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 0,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 0,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 0,
"rx_errors": 0,
"tx_bytes": 0,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"lan4": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": false,
"auth_status": false,
"link-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-partner-advertising": [
],
"link-supported": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"speed": "-1F",
"autoneg": true,
"hw-tc-offload": true,
"devtype": "dsa",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": false,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 0,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 0,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 0,
"rx_errors": 0,
"tx_bytes": 0,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"lo": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": true,
"auth_status": false,
"hw-tc-offload": false,
"devtype": "loopback",
"mtu": 65536,
"mtu6": 65536,
"macaddr": "00:00:00:00:00:00",
"txqueuelen": 1000,
"ipv6": true,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": false,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 22820,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 234,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 234,
"rx_errors": 0,
"tx_bytes": 22820,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"wan": {
"external": false,
"present": true,
"type": "Network device",
"up": true,
"carrier": true,
"auth_status": false,
"link-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"link-partner-advertising": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-H",
"1000baseT-F"
],
"link-supported": [
"10baseT-H",
"10baseT-F",
"100baseT-H",
"100baseT-F",
"1000baseT-F"
],
"speed": "1000F",
"autoneg": true,
"hw-tc-offload": true,
"devtype": "dsa",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "26:f5:a2:2d:e6:08",
"txqueuelen": 1000,
"ipv6": true,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 70052988,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 143960,
"tx_heartbeat_errors": 0,
"rx_dropped": 834,
"tx_aborted_errors": 0,
"tx_packets": 210020,
"rx_errors": 0,
"tx_bytes": 81410362,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
},
"wlan1": {
"external": true,
"present": true,
"type": "Network device",
"up": true,
"carrier": true,
"auth_status": false,
"hw-tc-offload": false,
"devtype": "wlan",
"mtu": 1500,
"mtu6": 1500,
"macaddr": "24:f5:a2:2d:e6:0a",
"txqueuelen": 1000,
"ipv6": false,
"ip6segmentrouting": false,
"promisc": false,
"rpfilter": 0,
"acceptlocal": false,
"igmpversion": 0,
"mldversion": 0,
"neigh4reachabletime": 30000,
"neigh6reachabletime": 30000,
"neigh4gcstaletime": 60,
"neigh6gcstaletime": 60,
"neigh4locktime": 100,
"dadtransmits": 1,
"multicast": true,
"sendredirects": true,
"drop_v4_unicast_in_l2_multicast": false,
"drop_v6_unicast_in_l2_multicast": false,
"drop_gratuitous_arp": false,
"drop_unsolicited_na": false,
"arp_accept": false,
"statistics": {
"collisions": 0,
"rx_frame_errors": 0,
"tx_compressed": 0,
"multicast": 0,
"rx_length_errors": 0,
"tx_dropped": 0,
"rx_bytes": 0,
"rx_missed_errors": 0,
"tx_errors": 0,
"rx_compressed": 0,
"rx_over_errors": 0,
"tx_fifo_errors": 0,
"rx_crc_errors": 0,
"rx_packets": 0,
"tx_heartbeat_errors": 0,
"rx_dropped": 0,
"tx_aborted_errors": 0,
"tx_packets": 52574,
"rx_errors": 0,
"tx_bytes": 57121012,
"tx_window_errors": 0,
"rx_fifo_errors": 0,
"tx_carrier_errors": 0
}
}
}
root at router1:~#
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4239#comment10529
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list