Can you provide the output of lspci -vvv from the network device in the VM?
Thanks, Emil >-----Original Message----- >From: Chaitanya Lala [mailto:[email protected]] >Sent: Monday, December 23, 2013 4:03 PM >To: [email protected] >Cc: Chaitanya Lala >Subject: [E1000-devel] Possible bug in ixgbe-3.19.1 >ixgbe_enumerate_functions() > >Hello, > >I am testing ixgbe-3.19.1 with my dual port x540 10G Base-T >card (PCIe >passthrough into a Ubuntu 12.10 VM). >I am seeing a warning like this - > >"This is not sufficient for optimal performance of this >card. For optimal >performance , at least 80 GT/s of bandwidth is required." > >This is not correct because I have a dual 10G port card and >have a PCIe >Gen2 based system and the card is in a x8 slot. So B/W >should not be an >issue >On tracing the code it seems like a bug in -> > >static inline int ixgbe_enumerate_functions(struct >ixgbe_adapter *adapter) >{ > struct list_head *entry; > int physfns = 0; > > /* Some cards can not use the generic count PCIe >functions method, > * because they are behind a parent switch, so we >hardcode these to > * correct number of ports. > */ > if (ixgbe_pcie_from_parent(&adapter->hw)) { > physfns = 4; > } else { > list_for_each(entry, &adapter->pdev- >>bus_list) { ><-------------- This counts all pcie devices in the system >not just the >ones matching this card/intel NIC >#ifdef CONFIG_PCI_IOV > struct pci_dev *pdev = > list_entry(entry, struct >pci_dev, >bus_list); > > /* don't count virtual functions */ > if (pdev->is_virtfn) > continue; >#endif > > physfns++; <------ Should only be >incremented >when an Intel NIC is found > } > >I can send a patch but not sure if what I am thinking is >the correct way >to solve this. > >Thanks, >Chaitanya > > >------------------------------------------------------------ >------------------ >Rapidly troubleshoot problems before they affect your >business. Most IT >organizations don't have a clear picture of how application >performance >affects their revenue. With AppDynamics, you get 100% >visibility into your >Java,.NET, & PHP application. Start your 15-day FREE TRIAL >of AppDynamics Pro! >http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4 >140/ostg.clktrk >_______________________________________________ >E1000-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/e1000-devel >To learn more about Intel® Ethernet, visit >http://communities.intel.com/community/wired ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
