RE: [PATCH 6/6 v3] PCI: document the change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dong, Eddie
Date: Monday, October 13, 2008 - 7:31 pm

Matthew Wilcox wrote:

No. that is the concern we don't put those configuration under VF nodes
because it will disappear.
Do I miss something?


OK, as if it has the VF parameter, will look into details.
BTW, the SR-IOV patch is not only for network, some other devices such
as IDE will use same code base as well and we image it could have other
parameter to set such as starting LBA of a IDE VF.




If user need a new VF, the VF must be already enabled or existed in OS.
Otherwise, we need to disable all VFs first and then change NumVFs to
re-enable VFs.
Spec says: "NumVFs may only be written while VF Enable is Clear"


Assign a VF is kind of user & core job. 


Yes, but setting NumVFs can only occur when VFs are disabled.
Following are from spec.

NumVFs may only be written while VF Enable is Clear. If NumVFs is
written when VF Enable is
Set, the results are undefined.
The initial value of NumVFs is undefined.


Yes, it is a full feature driver as if PF has resource in, for example
not all queues are assigned to VFs.

Thx, eddie
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 6/6 v3] PCI: document the change, Zhao, Yu, (Sat Sep 27, 1:28 am)
Re: [PATCH 6/6 v3] PCI: document the change, Matthew Wilcox, (Wed Oct 1, 9:07 am)
RE: [PATCH 6/6 v3] PCI: document the change, Dong, Eddie, (Mon Oct 13, 5:23 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Matthew Wilcox, (Mon Oct 13, 6:08 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Yu Zhao, (Mon Oct 13, 7:14 pm)
RE: [PATCH 6/6 v3] PCI: document the change, Dong, Eddie, (Mon Oct 13, 7:31 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Matthew Wilcox, (Mon Oct 13, 9:01 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Yu Zhao, (Mon Oct 13, 9:06 pm)
RE: [PATCH 6/6 v3] PCI: document the change, Dong, Eddie, (Mon Oct 13, 9:18 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Matthew Wilcox, (Mon Oct 13, 9:46 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Anirban Chakraborty, (Thu Oct 16, 10:48 pm)
Re: [PATCH 6/6 v3] PCI: document the change, Yu Zhao, (Sat Nov 15, 5:38 am)