Skip to content
Commit 53a788a7 authored by Alexander Gordeev's avatar Alexander Gordeev Committed by Jon Mason
Browse files

ntb: Split ntb_setup_msix() into separate BWD/SNB routines



This is an cleanup effort to make ntb_setup_msix() more
readable - use ntb_setup_bwd_msix() to init MSI-Xs on
BWD hardware and ntb_setup_snb_msix() - on SNB hardware.

Function ntb_setup_snb_msix() also initializes MSI-Xs the
way it should has been done - looping pci_enable_msix()
until success or failure.

Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
parent 77733513
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment