xref: /linux/drivers/net/ethernet/microsoft/Kconfig (revision 2d7eaeb05ae265bd64270376e6a2c0d80244771f)
1#
2# Microsoft Azure network device configuration
3#
4
5config NET_VENDOR_MICROSOFT
6	bool "Microsoft Network Devices"
7	default y
8	help
9	  If you have a network (Ethernet) device belonging to this class, say Y.
10
11	  Note that the answer to this question doesn't directly affect the
12	  kernel: saying N will just cause the configurator to skip the
13	  question about Microsoft network devices. If you say Y, you will be
14	  asked for your specific device in the following question.
15
16if NET_VENDOR_MICROSOFT
17
18config MICROSOFT_GDMA_CORE
19	tristate
20	select AUXILIARY_BUS
21	select DIMLIB
22	select PAGE_POOL
23	select NET_SHAPER
24
25config MICROSOFT_MANA
26	tristate "Microsoft Azure Network Adapter (MANA) support"
27	depends on PCI_MSI
28	depends on X86_64 || ARM64
29	depends on PCI_HYPERV
30	select MICROSOFT_GDMA_CORE
31	help
32	  This driver supports Microsoft Azure Network Adapter (MANA).
33	  So far, the driver is only supported on X86_64.
34
35	  To compile this driver as a module, choose M here.
36	  The module will be called mana.
37
38config MICROSOFT_MANA_CDX
39	tristate "Microsoft Azure Network Adapter (MANA) support for the CDX bus"
40	depends on CDX_BUS
41	depends on GENERIC_MSI_IRQ
42	depends on 64BIT && !CPU_BIG_ENDIAN
43	select MICROSOFT_GDMA_CORE
44	help
45	  This driver supports the Microsoft Azure Network Adapter (MANA) on
46	  systems where it is integrated into the SoC and presented on the CDX
47	  bus rather than discovered over PCI.
48
49	  To compile this driver as a module, choose M here.
50	  The module will be called mana_cdx.
51
52endif #NET_VENDOR_MICROSOFT
53