Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way I can limit the bandwidth of VF in a container? #19

Open
IgorZan opened this issue Dec 4, 2021 · 1 comment
Open

Any way I can limit the bandwidth of VF in a container? #19

IgorZan opened this issue Dec 4, 2021 · 1 comment

Comments

@IgorZan
Copy link

IgorZan commented Dec 4, 2021

Hi,
I wanna limit the network bandwidth usage of any VF container and VF is in SRIOV mod。Is there way to do this?
Thanks for answer.

  • Igor
@susol-hjkim
Copy link

Hi
https://docs.nvidia.com/networking/pages/viewpage.action?pageId=89154407

I think support only VF's bandwidth limits with link type : Ethernet.

/sys/class/net/enp8s0f0/device/sriov/[VF]

+-- [VF]
| +-- config
| +-- link_state
| +-- mac
| +-- mac_list
| +-- max_tx_rate
| +-- min_tx_rate
| +-- spoofcheck
| +-- stats
| +-- trunk
| +-- trust
| +-- vlan

If link type is Infiniband
I can't find configration files.

/sys/class/infiniband/mlx5_/device/sriov
+-- 0
| +-- node
| +-- policy
| +-- port
+-- 1
| +-- node
| +-- policy
| +-- port
+-- 2
+-- node
+-- policy
+-- port

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants