PCIM_MSIXCTRL_TABLE_SIZE
msix->msix_msgnum = (msix->msix_ctrl & PCIM_MSIXCTRL_TABLE_SIZE) + 1;
msgnum = (ctrl & PCIM_MSIXCTRL_TABLE_SIZE) + 1;