Comments (6)
Hi @cyclinder ,
Can you please elaborate more about this feature? How would you change the number of queues for a VF?
If the same command can be applied to any ethernet NIC that supports multiqueues, this feature might be implemented in a metaplugin, like tuning CNI.
WDYT?
from sriov-cni.
If the same command can be applied to any ethernet NIC that supports multiqueues, this feature might be implemented in a metaplugin, like tuning CNI.
Hi @zeeke, In reality, this configuration can only be set when creating the device, and the netlink and ethtool Golang libraries are unable to update this property (correct me if I'm wrong). I've made numerous attempts, but it still hasn't worked. We can easily set this property when creating the device; please see containernetworking/plugins#986.
from sriov-cni.
i think for VF these queues are determined by the driver.
you cannot set them with ip link add
command as VF netdev already exists. (in contrast to macvlan/ipvlan which the cni creates a new virtual netdevice)
from sriov-cni.
i think for VF these queues are determined by the driver.
well, I think you're right. Without any configuration, I checked the NumQueues for all VFs through the command, and they are all the same.
root@10-20-1-220:~# ip --details link show enp4s1f10v0
90: enp4s1f10v0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 6a:ad:29:af:aa:f9 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 9978 addrgenmode eui64 numtxqueues 88 numrxqueues 11 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 parentbus pci parentdev 0000:04:01.2
root@10-20-1-220:~# ip --details link show enp4s1f11v1
91: enp4s1f11v1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 82:f4:db:e9:ba:93 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 9978 addrgenmode eui64 numtxqueues 88 numrxqueues 11 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 parentbus pci parentdev 0000:04:01.3
root@10-20-1-220:~# ip --details link show enp4s1f12v2
92: enp4s1f12v2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether e6:98:83:d2:09:47 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 9978 addrgenmode eui64 numtxqueues 88 numrxqueues 11 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 parentbus pci parentdev 0000:04:01.4
"Can you tell me more about the driver settings? thanks :)
from sriov-cni.
Can you tell me more about the driver settings? thanks :)
Unfortunately i dont have more information. you can try referring to docs of a specific network driver.
from sriov-cni.
ask mentioned above it's not possible to change the number of queues for sriov virtual functions and that depends on every network card.
closing this issue feel free to reopen if needed
from sriov-cni.
Related Issues (20)
- go versrion 1.19 bulid error HOT 3
- Request: publish a new release HOT 13
- Multidevice network ordering and network to device mapping not clearly documented. HOT 2
- CNI CMD Add - Avoid relying on err var in cleanup
- Does sriov-cni still support Kubernetes 1.10-1.22? HOT 3
- Build error with go.1.20 HOT 4
- GetPfName here uncorrectly, when enable representor interface HOT 3
- Question: differences from host-device plugin? HOT 3
- sriov-cni del doesn't work when there is altName on the interace HOT 6
- github workflow for static analysis to run lint using "make lint" command HOT 2
- sriov-cni build is not idempotent HOT 7
- Feature to specify VFs range to SRIOV HOT 4
- Validate cache file exist before cmdDel procedure HOT 1
- sriov-cni plugin silently throws away issues with LoadConfFromCache HOT 2
- Regression (commit 6217a32b62352c4ca506e7dc28ea886f2f1e9ecc) i.c.w. SRIOV operator HOT 2
- SRIOV-CNI failed to configure VF "failed to set vf 0 vlan configuration - id 0, qos 0 and proto 802.1q: operation not supported" HOT 8
- Skip setting VLAN ID when VLAN is 0 - breaks on VF trunk policy HOT 7
- Any plans for cutting a new sriov-cni release? HOT 2
- Netlink invalid argument error on VF VLAN configuration HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sriov-cni.