More info:<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://communities.intel.com/community/wired/blog/2011/01/19/come-and-get-it-sr-iov-primer-document-updated">http://communities.intel.com/community/wired/blog/2011/01/19/come-and-get-it-sr-iov-primer-document-updated</a></div>
<div><br></div><div>as indicated from here:</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://communities.intel.com/message/132184#132184">http://communities.intel.com/message/132184#132184</a><br>
<br><div class="gmail_quote">On Tue, Apr 10, 2012 at 12:15 AM, Peter Teoh <span dir="ltr"><<a href="mailto:htmldeveloper@gmail.com">htmldeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Is your system 32bit or 64bit? Before putting the card, there was no memory problem right?</div><div><br></div><div>And after putting in the card, memory resources all get used up right (by IOV)? It looked like it is similar to this problem:</div>
<div><br></div><div><div><a href="http://communities.intel.com/thread/23318" target="_blank">http://communities.intel.com/thread/23318</a></div>
</div><div><br></div><div>From above and here:</div><div><br></div><div><a href="http://www.mjmwired.net/kernel/Documentation/PCI/pci-iov-howto.txt" target="_blank">http://www.mjmwired.net/kernel/Documentation/PCI/pci-iov-howto.txt</a></div>
<div><br></div><div>it seemed that this hardware feature requires BIOS support, and so if ur hardware does not have it, SR-IOV is not possible, thus giving rise to those errors u have seen.</div><div><div><div></div><div class="h5">
<div><br></div><div class="gmail_quote">
On Sat, Apr 7, 2012 at 4:11 PM, J.Hwan Kim <span dir="ltr"><<a href="mailto:frog1120@gmail.com" target="_blank">frog1120@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, everyone<br>
<br>
I'd like to know what routine of the PCIe allocates SR-IOV BAR memory.<br>
<br>
When I put into the network card supporting SR-IOV in my system,<br>
it returns error indicating "MMIO resource" is insufficient when sriov<br>
is enabled.<br>
<br>
The routine is in iov.c<br>
<br>
for (i = 0; i < PCI_SRIOV_NUM_BARS/*6*/; i++) {<br>
res = dev->resource + PCI_IOV_RESOURCES + i;<br>
if (res->parent)<br>
nres++;<br>
}<br>
if (nres != iov->nres) {<br>
dev_err(&dev->dev, "not enough MMIO resources for SR-IOV\n");<br>
return -ENOMEM;<br>
}<br>
<br>
So, I hope to know where the resources of IOV is assigned the parent<br>
pointer.<br>
<br>
Thanks in advance.<br>
<br>
Best Regards,<br>
J.Hwan Kim<br>
<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><font color="#888888">-- <br>Regards,<br>Peter Teoh<br>
</font></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Peter Teoh<br>
</div>