XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • False
    • OCPPLAN-6495 - ShiftonStack Enable Telco/NFV 5G core and edge/RAN
    • undefined

      Step 4: Use MachineConfig that assigns the appropriate driver to the attached, additional networks of the nfv-worker
      The heart of the code unbinds the default driver and binds the required.
      ...
      ​​function set_override()

      { if [ ! -f "$syspath/driver_override" ]; then error "device does not support driver override: $dev" fi if [ -n "$drv" ] && [ "$drv" != "none" ]; then debug "setting driver override for $dev: $drv" if [ ! -d "/sys/module/$drv" ]; then debug "loading driver $drv" /sbin/modprobe -q "$drv" || error "no such module: $drv" fi else debug "unsetting driver override for $dev" fi unbind echo "$drv" > "$syspath/driver_override" if [ "$drv" != "none" ] && [ $probe -ne 0 ]; then probe_driver if [ ! -L "$syspath/driver" ]; then error "failed to bind device $dev to driver $drv" fi fi }

      ...

      dpdk-compliant driver. (This step is unnecessary for Mellanox-based network cards

              Unassigned Unassigned
              adduarte Adolfo Duarte (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: