Re: New commands to configure IOV features
flat view
From: Chris Friesen <hidden>
Date: 2012-07-09 21:14:32
On 07/09/2012 12:39 PM, Ben Hutchings wrote:
On Tue, 2012-06-26 at 10:19 -0700, Greg Rose wrote:quoted
On Tue, 26 Jun 2012 15:21:55 +0300 Yuval Mintz[off-list ref] wrote:quoted
On 05/07/2012 06:16 PM, Greg Rose wrote:quoted
The only way to configure the number of VFs continues to be through the max_vfs module parameter. I've got a patch to do it through ethtool sitting on the back burner but due to other requirements of my day job I've not been able to work on it since last fall. - GregHi Ben, If I want to pick the RFCs and add support for configuring the number of VFs - do you think ethtool's the right place for such added support? I'm asking since as far as I can see, ethtool (today) doesn't contain any features related to virtual functions.I think a PCI utility tool would be better, SR-IOV is not limited to network devices. That's one of the reasons I dropped the RFC. I haven't gotten back to the idea since then due to my day job keeping me pretty busy.For what it's worth, I agree with this.
I'd love to have the ability to set the number of VFs on the fly. From my perspective it would be ideal if this could be exported via /sys or something rather than a standalone tool using a binary API. It's fewer packages for userspace to deal with as well as being easily scripted. Chris