forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 8
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> Co-developed-by: Shachar Raindel <shacharr@microsoft.com> Signed-off-by: Shachar Raindel <shacharr@microsoft.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
15 changed files
with
6,156 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,29 @@ | ||
# | ||
# Microsoft Azure network device configuration | ||
# | ||
|
||
config NET_VENDOR_MICROSOFT | ||
bool "Microsoft Network Devices" | ||
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 network devices. 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" | ||
depends on PCI_MSI && X86_64 | ||
select PCI_HYPERV | ||
help | ||
This driver supports Microsoft Azure Network Adapter (MANA). | ||
So far, the driver is only supported 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.