summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microsoft/Kconfig
blob: 6ff6ab71bbce14876dfd933e18b42a3ec9fdf866 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# 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_GDMA_CORE
	tristate
	select AUXILIARY_BUS
	select DIMLIB
	select PAGE_POOL
	select NET_SHAPER

config MICROSOFT_MANA
	tristate "Microsoft Azure Network Adapter (MANA) support"
	depends on PCI_MSI
	depends on X86_64 || ARM64
	depends on PCI_HYPERV
	select MICROSOFT_GDMA_CORE
	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.

config MICROSOFT_MANA_CDX
	tristate "Microsoft Azure Network Adapter (MANA) support for the CDX bus"
	depends on CDX_BUS
	depends on GENERIC_MSI_IRQ
	depends on 64BIT && !CPU_BIG_ENDIAN
	select MICROSOFT_GDMA_CORE
	help
	  This driver supports the Microsoft Azure Network Adapter (MANA) on
	  systems where it is integrated into the SoC and presented on the CDX
	  bus rather than discovered over PCI.

	  To compile this driver as a module, choose M here.
	  The module will be called mana_cdx.

endif #NET_VENDOR_MICROSOFT