[nvmewin] NumMsiMsgGranted and it's relation to PMSI_MESSAGE_TBL

Luse, Paul E paul.e.luse at intel.com
Mon May 14 15:58:20 PDT 2012


If we get MSI/X vectors from the OS during our Init, NumMsiMsgGranted is the total that were allocated.  There will be one MSI_MESSAGE_TBL struct per MSI which is actually is actually an array inside of the RES_MAPPING_TBL which is in the dev ext. pMsiMsgTbl will not be null if we're in INT mode, see NVMeEnumMsiMessages()  and you'll see where things are init'd

Thx
Paul

From: nvmewin-bounces at lists.openfabrics.org [mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Freyensee, James P
Sent: Monday, May 14, 2012 1:26 PM
To: nvmewin at lists.openfabrics.org
Subject: [nvmewin] NumMsiMsgGranted and it's relation to PMSI_MESSAGE_TBL

Quick question:

Is it a correct understanding to expect that the value of NumMsiMsgGranted will be equal to the number of entries  in the MSI/MSIX message table, pointed by pMsiMsgTbl?  And if NumMsiMsgGranted is 0, then A. NVMe is using the INT interrupt method and not MSI/MSIX, and B. pMsiMsgTbl would be NULL?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20120514/e233b967/attachment.html>


More information about the nvmewin mailing list