> -----Original Message----- > From: Venugopal Busireddy [mailto:v...@nextio.com] > Sent: Tuesday, September 20, 2011 11:47 AM > To: Rose, Gregory V; e1000-devel@lists.sourceforge.net > Subject: RE: [ixgbevf]: patch to fix incorrect PF NACK assertion... > > > > > -----Original Message----- > > From: Rose, Gregory V [mailto:gregory.v.r...@intel.com] > > Sent: Tuesday, September 20, 2011 11:55 AM > > To: Venugopal Busireddy; e1000-devel@lists.sourceforge.net > > Subject: RE: [ixgbevf]: patch to fix incorrect PF NACK assertion... > > > > > > Thanks for submitting the patch. I'm curious what steps you were taking > to cause > > a problem with this code. In our own testing we haven't been seeing an > issue > > with this. If you could provide some information on the steps to > reproduce the > > problem I'd appreciate it. > > > > Thanks, > > > > - Greg > > We too have been using the VF/PF drivers for over a year, and I haven't > seen it either until now. I have not done anything special to cause this > problem to show up. It just appeared in a setup... > > This is very sensitive to timing. Even on the setup where I saw this > problem, the problem would go away if I added any debug statements to > either driver to track the exchanges! I have to use PCIe traces to do > that!! > > The window where the problem occurs is that the VF driver sends a message > to the PF driver, and the PF driver reads the message and sets the > IXGBE_PFMAILBOX_ACK. This causes an interrupt on the VF, and in the > ixgbevf_msix_mbx() function, we first read the ACK, and then proceed to > read the mailbox for a message. Just prior to that, the PF driver acquires > the lock on the mailbox to return the response message. The read operation > in the VF driver fails because it cannot acquire the lock.
OK, that makes sense. I appreciate the explanation. We'll incorporate this patch into our build and get some further testing on it but the code appears to be correct, especially given your explanation. Thanks for helping us improve our drivers! Regards, - Greg ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired