Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-70247

[CX5]start dpdk-testpmd with vf, vf set vlan and spoofcheck enabled trust on ,the traffic still forward packets

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.2.0.z, rhel-9.6, rhel-10.0
    • dpdk
    • No
    • None
    • rhel-net-ovs-dpdk
    • ssg_networking
    • 8
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given a CX5 card with a VF configured with spoofcheck, trust, and vlan settings,

      When packets are sent from a client to the server through dpdk-testpmd,

      Then the VF should not forward traffic that does not comply with the spoof check, VLAN configuration, or trust settings.

      Show
      Given a CX5 card with a VF configured with spoofcheck, trust, and vlan settings, When packets are sent from a client to the server through dpdk-testpmd, Then the VF should not forward traffic that does not comply with the spoof check, VLAN configuration, or trust settings.
    • None
    • None
    • None

      What were you trying to do that didn't work?

      create vf on CX5 card, then  vf set vlan and  spoofcheck enabled  trust on ,and start dpdk-testpmd

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      kernel-5.14.0-284.96.1.el9_2

      kernel-5.14.0-528.el9

      kernel-6.11.0-29.el10

      dpdk23.11

      How reproducible is this bug?:

      100%

      Steps to reproduce

      server setup:

      1. create 1 vf on each PF
      2. ip li set ens4f0np0 vf 0 spoofchk on 
        ip li set ens4f0np0 vf 0 trust on
        ip li set ens4f0np0 vf 0 vlan 2
        
        ip li set ens4f1np1 vf 0 spoofchk on 
        ip li set ens4f1np1 vf 0 trust on
        ip li set ens4f1np1 vf 0 vlan 2
      1. #start dpdk-testpmd
        dpdk-testpmd -l 1,3,5 -a 0000:b1:00.2 -a 0000:b1:02.2 -- -i --auto-start 
      1.  send packets from client  one port to server

      Expected results

      versions:

      kernel-5.14.0-284.96.1.el9_2

      kernel-5.14.0-528.el9

      kernel-6.11.0-29.el10

      dpdk23.11

       

      steps:

      server setup:

      1. create 1 vf on each PF
      2. ip li set ens4f0np0 vf 0 spoofchk on 
        ip li set ens4f0np0 vf 0 trust on
        ip li set ens4f0np0 vf 0 vlan 2
        
        ip li set ens4f1np1 vf 0 spoofchk on 
        ip li set ens4f1np1 vf 0 trust on
        ip li set ens4f1np1 vf 0 vlan 2
      1. #start dpdk-testpmd
        dpdk-testpmd -l 1,3,5 -a 0000:b1:00.2 -a 0000:b1:02.2 -- -i --auto-start 
      1. then send packets from client  one port to server

      Actual result:

      capture traffic on client on another port

      Except result:

      the packets don't forward.

      Actual results

      capture traffic on client on another port

       

      beaker jobs:

      https://beaker.engineering.redhat.com/jobs/10231745 rhel10

       https://beaker.engineering.redhat.com/jobs/10192536  rhel9.6

      https://beaker.engineering.redhat.com/jobs/10287012 rhel9.2z

              ovsdpdk-triage ovsdpdk triage
              rh-ee-jiqiu Jiying Qiu
              ovsdpdk triage ovsdpdk triage
              Jiying Qiu Jiying Qiu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: