]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Postpone ntb_get_msix_info() till we need to negotiate MSIX.
authorAlexander Motin <mav@FreeBSD.org>
Sun, 24 Jul 2016 14:42:11 +0000 (14:42 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sun, 24 Jul 2016 14:42:11 +0000 (14:42 +0000)
commitc0723016178f024f43ca16ca0ed8eb618900c186
treecedd04f293edb3b71fb871af2bb8e468aa1017a2
parentb6b79081e8dd1dbbac29cf7d64bb4e216c16a797
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