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

VDUSE support is not built due to outdated buildroot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • openvswitch3.5
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Given ovs 3.5 is built using an updated buildroot that includes linux/vduse.h,

      When a tries to add a VDUSE port to Open vSwitch using 9.6 kernel,

      Then the port should be added sucessfully without errors and the port should function as expected.

      Show
      Given ovs 3.5 is built using an updated buildroot that includes linux/vduse.h, When a tries to add a VDUSE port to Open vSwitch using 9.6 kernel, Then the port should be added sucessfully without errors and the port should function as expected.
    • rhel-9
    • rhel-sst-network-fastdatapath
    • ssg_networking
    • OVS/DPDK - FDP-25.B
    • 1

       Problem Description:

      The buildroot used to build openvswitch3.5 is outdated and does not contain the linux/vduse.h Linux Kernel header. The consequence is that

       

       Impact Assessment:

      VDUSE support is not built in openvswitch3.5 whereas all dependencies are met at runtime (VDUSE is supported in Kernel 9.6).

       

       Software Versions: openvswitch3.5-3.5.0-0.11.el9fdp

       

        Issue Type: New issue

       Reproducibility: 100%

       

       Reproduction Steps:

      1. Generate an opnvswitch3.5 build

      2. install the RPM and start openvdwitch

      3. add a VDUSE port, and get this message:

      1. ovs-vsctl add-port br0 vduse0 – set Interface vduse0 type=dpdkvhostuserclient options:vhost-server-path=/dev/vduse/vduse0
        ovs-vsctl: Error detected while setting up 'vduse0': could not add network device vduse0 to ofproto (Invalid argument). See ovs-vswitchd log for details.
        ovs-vsctl: The default log directory is "/var/log/openvswitch".
         

         Expected Behavior:

      Adding a VDUSE port should work

       Observed Behavior:

      1. ovs-vsctl add-port br0 vduse0 – set Interface vduse0 type=dpdkvhostuserclient options:vhost-server-path=/dev/vduse/vduse0
        ovs-vsctl: Error detected while setting up 'vduse0': could not add network device vduse0 to ofproto (Invalid argument). See ovs-vswitchd log for details.
        ovs-vsctl: The default log directory is "/var/log/openvswitch".

              rhn-support-dmarchan David Marchand
              mcoqueli@redhat.com Maxime Coquelin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: