mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Adding basic devlink capability support of reloading the driver. This capability is required to support driver init type devlink params (DEVLINK_PARAM_CMODE_DRIVERINIT). Such params require reloading of the driver (destroy/restore sequence). The reloading is done by the devlink framework using the hooks provided by the driver. Signed-off-by: David Arinzon <darinzon@amazon.com> Link: https://patch.msgid.link/20250617110545.5659-4-darinzon@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
31 lines
864 B
Text
31 lines
864 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Amazon network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_AMAZON
|
|
bool "Amazon 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 all
|
|
the questions about Amazon devices. If you say Y, you will be asked
|
|
for your specific device in the following questions.
|
|
|
|
if NET_VENDOR_AMAZON
|
|
|
|
config ENA_ETHERNET
|
|
tristate "Elastic Network Adapter (ENA) support"
|
|
depends on PCI_MSI && !CPU_BIG_ENDIAN
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select DIMLIB
|
|
select NET_DEVLINK
|
|
help
|
|
This driver supports Elastic Network Adapter (ENA)"
|
|
|
|
To compile this driver as a module, choose M here.
|
|
The module will be called ena.
|
|
|
|
endif #NET_VENDOR_AMAZON
|