-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10
-
None
-
3
-
False
-
False
-
rhel-10
-
None
-
rhel-net-ovs-dpdk
-
-
-
ssg_networking
-
OVS/DPDK - Sprint 15 - West
-
1
Problem Description: Clearly explain the issue.
[OVS 3.7] OVS HWOL tc-policy=skip_hw doesn't work
beaker jobs:
gre_offload: https://beaker.engineering.redhat.com/jobs/12230080
geneve_offload: https://beaker.engineering.redhat.com/jobs/12230500
vxlan_offload: https://beaker.engineering.redhat.com/jobs/12230896
[root@dell-per750-36 ~]# ovs-vsctl get Open_vSwitch . other_config
{hw-offload="true", max-idle="3600000", max-revalidator="3600000", tc-policy=skip_hw}
[root@dell-per750-36 gre_offload]# ovs-vsctl show
1c9367d1-9db6-43b0-ac37-f3dbc5bec256
Bridge ovsbr0
Port gre1
Interface gre1
type: gre
options: {key="100", local_ip="1.1.1.1", remote_ip="1.1.1.2"}
Port ovsbr0
Interface ovsbr0
type: internal
Port eth0
Interface eth0
ovs_version: "3.7.0-0.1.el10fdp"
[root@dell-per750-36 gre_offload]#
Impact Assessment: Describe the severity and impact (e.g., network down,availability of a workaround, etc.).
Software Versions: Specify the exact versions in use (e.g.,openvswitch3.1-3.1.0-147.el8fdp).
openvswitch3.7-3.7.0-0.1.el10fdp.x86_64
Issue Type: Indicate whether this is a new issue or a regression (if a regression, state the last known working version).
Reproducibility: Confirm if the issue can be reproduced consistently. If not, describe how often it occurs.
100%
Reproduction Steps: Provide detailed steps or scripts to replicate the issue.
Expected Behavior: Describe what should happen under normal circumstances.
Observed Behavior: Explain what actually happens.
Troubleshooting Actions: Outline the steps taken to diagnose or resolve the issue so far.
Logs: If you collected logs please provide them (e.g. sos report, /var/log/openvswitch/* , testpmd console)
==============================
OVS 3.7
==============================
[root@dell-per750-36 ~]# rpm -qa | grep openvswitch
openvswitch-selinux-extra-policy-1.0-39.el10fdp.noarch
openvswitch3.7-3.7.0-0.1.el10fdp.x86_64
[root@dell-per750-36 ~]# ovs-vsctl get Open_vSwitch . other_config
{hw-offload="true", max-idle="3600000", max-revalidator="3600000", tc-policy=skip_hw}
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=offloaded | wc -l
1024
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=non-offloaded | wc -l
1
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=non-offloaded | tail -n5
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(op=2), packets:99, bytes:3762, used:0.280s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3,1
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=offloaded | tail -n5
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:2c),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:18439, bytes:1585754, used:0.130s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:12),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:18439, bytes:1585754, used:0.130s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:1a),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:18439, bytes:1585754, used:0.130s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:5e),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:18439, bytes:1585754, used:0.130s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3
recirc_id(0),in_port(2),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:56),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:18439, bytes:1585754, used:0.130s, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),3
[root@dell-per750-36 ~]#
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows --names -m | tail -n5
ufid:83d82bac-0945-43b2-a0de-8bce5972920b, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:12),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:23427, bytes:2014722, used:0.760s, offloaded:yes, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:a5f16a70-82a9-48b3-b0a3-20e26532e59b, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:1a),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:23427, bytes:2014722, used:0.760s, offloaded:yes, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:463a6c7a-4e28-4b62-9c46-1a155fadee9b, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:5e),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:23427, bytes:2014722, used:0.760s, offloaded:yes, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:00bf841e-bf64-4d42-af7f-b3444db44c56, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:56),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:23427, bytes:2014722, used:0.760s, offloaded:yes, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:c33c49dc-3853-436d-90e6-be9d060b3362, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=0.0.0.0/0.0.0.0,tip=0.0.0.0/0.0.0.0,op=2,sha=00:00:00:00:00:00/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00), packets:144, bytes:5472, used:0.880s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys,ovsbr0
[root@dell-per750-36 ~]#
==============================
OVS 3.6
==============================
[root@dell-per750-36 ~]# rpm -qa | grep openvswitch
openvswitch-selinux-extra-policy-1.0-39.el10fdp.noarch
openvswitch3.6-3.6.1-2.el10fdp.x86_64
[root@dell-per750-36 ~]# ovs-vsctl get Open_vSwitch . other_config
{hw-offload="true", max-idle="3600000", max-revalidator="3600000", tc-policy=skip_hw}
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=offloaded | wc -l
0
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows type=non-offloaded | wc -l
1025
[root@dell-per750-36 ~]# ovs-appctl dpctl/dump-flows --names -m | tail -n 5
ufid:889935d7-b93c-4f3b-a8b9-9e938005724a, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:02:00),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:15776, bytes:1135872, used:0.000s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:ca885c3e-08d9-4b1a-aecb-7617dc92cb4a, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:fa),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:15776, bytes:1135872, used:0.000s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:ec61dcb4-acf7-4278-aac1-58038842185a, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:fc),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:15776, bytes:1135872, used:0.000s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:4e50aaf4-02db-4f6b-a2a8-994c917dc8c3, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=00:00:00:00:01:5e),eth_type(0x0800),ipv4(src=0.0.0.0/0.0.0.0,dst=0.0.0.0/0.0.0.0,proto=0/0,tos=0/0x3,ttl=0/0,frag=no), packets:15777, bytes:1135944, used:0.000s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys
ufid:b44d74fe-7d67-40bf-b53d-b8f4ed5cb0b6, recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(eth0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),packet_type(ns=0/0,id=0/0),eth(src=e4:11:22:33:44:70,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=0.0.0.0/0.0.0.0,tip=0.0.0.0/0.0.0.0,op=2,sha=00:00:00:00:00:00/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00), packets:104, bytes:3952, used:0.890s, dp:tc, actions:set(tunnel(tun_id=0x64,src=1.1.1.1,dst=1.1.1.2,ttl=64,flags(df|key))),gre_sys,ovsbr0
[root@dell-per750-36 ~]#