-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/vmxnet3: fix initialization on FreeBSD
[ upstream commit 40d5676ff1ea43cc2c121fd66d19a29a1c9107bb ] DPDK does not support interrupts on FreeBSD, so the vmxnet3 driver returns error when enabling interrupts as it initializes. We can fix this by #ifdef'ing out the interrupt calls when building for FreeBSD, allowing the driver to initialize correctly. Fixes: 046f116 ("net/vmxnet3: support MSI-X interrupt") Reported-by: Lewis Donzis <lew@perftech.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Lewis Donzis <lew@perftech.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information
1 parent
6d4646c
commit ef5454b
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters