Giter Site home page Giter Site logo

Comments (6)

zeeke avatar zeeke commented on August 19, 2024

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.

cyclinder avatar cyclinder commented on August 19, 2024

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.

adrianchiris avatar adrianchiris commented on August 19, 2024

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.

cyclinder avatar cyclinder commented on August 19, 2024

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.

adrianchiris avatar adrianchiris commented on August 19, 2024

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.

SchSeba avatar SchSeba commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.