]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r303266: Postpone ntb_get_msix_info() till we need to negotiate MSIX.
authormav <mav@FreeBSD.org>
Thu, 18 Aug 2016 10:54:21 +0000 (10:54 +0000)
committermav <mav@FreeBSD.org>
Thu, 18 Aug 2016 10:54:21 +0000 (10:54 +0000)
commitd8423b981ecefc5d5a96513d5919d273ef27414d
treebaf3483c4b0f04036387cce20edeba70ee9eee1e
parenta2b4eb0d950a332d417f7e6b1e7a60e330c24fe2
MFC r303266: Postpone ntb_get_msix_info() till we need to negotiate MSIX.

Calling it earlier increases the window when MSIX info may change.
This change does not solve the problem completely, but seems logical.
Complete solution should probably include link reset in case of MSIX
remap to trigger new negotiation, but we have no way to get notified
about that now.
sys/dev/ntb/ntb_hw/ntb_hw.c