forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)
Add a VF driver for Microsoft Azure Network Adapter (MANA) that will be available in the future. Co-developed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Dexuan Cui <decui@microsoft.com>
- Loading branch information
1 parent
3cd52c1
commit 14f90d1
Showing
15 changed files
with
6,289 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Microsoft Azure network device configuration | ||
# | ||
|
||
config NET_VENDOR_MICROSOFT | ||
bool "Microsoft Azure Network Device" | ||
default y | ||
help | ||
If you have a network (Ethernet) device belonging to this class, say Y. | ||
|
||
Note that the answer to this question doesn't directly affect the | ||
kernel: saying N will just cause the configurator to skip the | ||
question about Microsoft Azure network device. If you say Y, you | ||
will be asked for your specific device in the following question. | ||
|
||
if NET_VENDOR_MICROSOFT | ||
|
||
config MICROSOFT_MANA | ||
tristate "Microsoft Azure Network Adapter (MANA) support" | ||
default m | ||
depends on PCI_MSI && X86_64 | ||
select PCI_HYPERV | ||
help | ||
This driver supports Microsoft Azure Network Adapter (MANA). | ||
So far, the driver is only validated on X86_64. | ||
|
||
To compile this driver as a module, choose M here. | ||
The module will be called mana. | ||
|
||
endif #NET_VENDOR_MICROSOFT |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for the Microsoft Azure network device driver. | ||
# | ||
|
||
obj-$(CONFIG_MICROSOFT_MANA) += mana/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause | ||
# | ||
# Makefile for the Microsoft Azure Network Adapter driver | ||
|
||
obj-$(CONFIG_MICROSOFT_MANA) += mana.o | ||
mana-objs := gdma_main.o shm_channel.o hw_channel.o mana_en.o mana_ethtool.o |
Oops, something went wrong.