]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ix, ixv: Read msix_bar from device configuration
authorEric Joyner <erj@FreeBSD.org>
Tue, 24 Sep 2019 17:06:32 +0000 (17:06 +0000)
committerEric Joyner <erj@FreeBSD.org>
Tue, 24 Sep 2019 17:06:32 +0000 (17:06 +0000)
commit749597dc1d21dce46fb94bfbe34cdb20ec1d9ab3
tree61f5177a5217dbaf2bb57ff0fbf1578a2c58b6d4
parent53b5b9b049be36ac1856a7b0964901cac54daefe
ix, ixv: Read msix_bar from device configuration

Instead of predicting the MSI-X bar index based on the device's MAC
type, read it from the device's PCI configuration instead.

PR: 239704
Submitted by: Piotr Pietruszewski <piotr.pietruszewski@intel.com>
Reviewed by: erj@
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D21547
sys/dev/ixgbe/if_ix.c
sys/dev/ixgbe/if_ixv.c
sys/dev/ixgbe/ixgbe.h