mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 14:30:03 +02:00
Add Static and Dynamic Interrupt Moderation (DIM) support for Rx and Tx. Update queue creation procedure with new data struct with the related settings. Add functions to collect stat for DIM, and workers to update DIM data and settings. Update ethtool handler to get/set the moderation settings from a user. To avoid detach/re-attach ops, ring DIM doorbell to change settings at run time. By default, adaptive-rx/tx (DIM) are enabled if supported by HW. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260702220123.815018-1-haiyangz@linux.microsoft.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
35 lines
986 B
Plaintext
35 lines
986 B
Plaintext
#
|
|
# 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
|
|
depends on X86_64 || (ARM64 && !CPU_BIG_ENDIAN)
|
|
depends on PCI_HYPERV
|
|
select AUXILIARY_BUS
|
|
select DIMLIB
|
|
select PAGE_POOL
|
|
select NET_SHAPER
|
|
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
|