Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1114

[regression][hwol]test openflow strip_vlan falied with 0x88a8 and 0x8100

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • rhel-sst-network-fastdatapath
    • ssg_networking
    • OVS/DPDK - FDP-25.B
    • 1
    • +

       Problem Description: Clearly explain the issue.

      run ovs-hwol test cases failed on openvswitch3.4-3.4.0-28.el9fdp with cx6,cx7. After more invesgate, make sure this a regression issue.

       Impact Assessment: Describe the severity and impact (e.g., network down,availability of a workaround, etc.).

      hwol function didn't work with strip_vlan action.

       Software Versions: Specify the exact versions in use (e.g.,openvswitch3.1-3.1.0-147.el8fdp).

      openvswitch3.4-3.4.0-28.el9fdp

        Issue Type: Indicate whether this is a new issue or a regression (if a regression, state the last known working version).

      regression issue

       

      * Thu Jan 09 2025 Open vSwitch CI <ovs-ci@redhat.com> - 3.4.0-28
      - Merging upstream branch-3.4 [RH git: ae855601ab]
          Commit list:
          034b40fbb8 netdev-tc-offloads: Don't offload header modification on ip fragments. (FDP-545)

       

       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.

      run hwol test cases:

      https://beaker.engineering.redhat.com/recipes/17943085#task190089836

       Expected Behavior: Describe what should happen under normal circumstances.

      hwol should work with strip_vlan action.

       Observed Behavior: Explain what actually happens.

      tcpdump: listening on myeth_1, link-type EN10MB (Ethernet), snapshot length 262144 bytes 07:01:57.247871 00:de:ad:00:00:01 > 00:de:ad:00:00:02, ethertype 802.1Q (0x8100), length 60: vlan 11, p 0, ethertype 802.1Q (0x8100), vlan 22, p 0, ethertype IPv4 (0x0800), (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 20) 1.1.1.1 > 1.1.1.2: ip-proto-0 0

      RUN_CMD: ovs-ofctl dump-flows ovsbr0
      NXST_FLOW reply (xid=0x4):
       cookie=0x0, duration=43.075s, table=0, n_packets=421, n_bytes=25270, idle_age=0, in_port=1 actions=strip_vlan,output:2
      RUN_CMD: ovs-dpctl dump-flows
      recirc_id(0),in_port(2),eth(),eth_type(0x8100),vlan(vid=11,pcp=0),encap(eth_type(0x0000),vlan(vid=22,pcp=0),encap(eth_type(0x0800))), packets:422, bytes:25320, used:0.090s, actions:pop_vlan,3

      RUN_CMD: tc -s filter show dev myeth_1 ingress
      RUN_CMD: tc -s filter show dev myeth_1 egress

       Troubleshooting Actions: Outline the steps taken to diagnose or resolve the issue so far.

      run the same test case with openvswitch3.4-3.4.0-27.el9fdp.x86_64.rpm, it would pass.

      https://beaker.engineering.redhat.com/recipes/17942962#task190089231

       Logs: If you collected logs please provide them (e.g. sos report, /var/log/openvswitch/* , testpmd console)

              echaudro@redhat.com Eelco Chaudron
              mhou@redhat.com Minxi Hou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: