Re: [RFC PATCH] net: introduce HW Rate Limiting Driver API
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-07-30 12:18:30
From: Jiri Pirko <jiri@resnulli.us>
Date: 2024-07-30 12:18:30
Wed, May 08, 2024 at 10:20:51PM CEST, pabeni@redhat.com wrote:
+ * NET_SHAPER_SCOPE_QUEUE are available on both PFs and VFs devices.
This is interesting. Do you mean you can put a shaper on a specific VF queue from hypervisor? I was thinking about it recently, I have some concerns. In general a nic user expects all queues to behave in the same way, unless he does some sort of configuration (dcb for example). VF (the VM side) is not different, it's also a nic. If you allow the hypervisor to configure shapers on specifig VF queues, you are breaking VM's user expectation. He did not configure any different queue treating, yet they are treated differently. Is that okay? What do you think?