Cannot modify sriov_numvfs when pod is running on another vf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Caio Bruchert |
Bug Description
The existing tc "test_create_
Running command :
system host-if-modify controller-1 enp191s0f1 --ifname sriov425 --ifclass pci-sriov --num-vfs 64 --vf-driver netdevice'
Steps to Reproduce
Choose an interface and a controller: in this case controller-0 and enp181s0f1
Setup steps with controller-1 as active controller:
system host-lock controller-0
system host-if-add controller-0 test_intf vf sriov0 --imtu 1500 --vf-driver vfio --ifclass pci-sriov --num-vfs 1 --max-tx-rate 36000
system datanetwork-add --mtu=1500 testnetwork vlan
system interface-
system host-port-show controller-0 enp181s0f1 # Take note of number of sriov_totalvfs (64) and sriov_numvfs (0) pick sriov_totalvfs:
Test steps:
system host-port-show controller-0 enp181s0f1
system host-if-modify controller-0 enp181s0f1 --ifname sriov425 --ifclass pci-sriov --num-vfs 64 --vf-driver netdevice
system host-unlock controller-0 at this poit you will get the message:
"Expecting number of interface sriov_numvfs=64. Please wait a few minutes for inventory update and retry host-unlock"
After some minutes it could be checked using: system host-port-show controller-0 enp181s0f1
and it remains in sriov_numvfs=0
Expected Behavior
The sriov_numvfs of the interface chosen by tc increment to the desired value
Actual Behavior
After command execution, it seems to do nothing
Reproducibility
<Reproducible>
System Configuration
A duplex system, IPv4.
Timestamp/Logs
[2022-04-19 21:10:09,440] 135 INFO MainThread utils.wait_
Changed in starlingx: | |
assignee: | nobody → Caio Bruchert (cbrucher) |
tags: | added: stx.7.0 stx.networking |
Changed in starlingx: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/844324
Review: https:/