mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-24 15:51:15 +00:00

Added KUnit tests for ibmveth_remove_buffer_from_pool and ibmveth_rxq_get_buffer under new IBMVETH_KUNIT_TEST config option. Signed-off-by: Dave Marquardt <davemarq@linux.ibm.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250501194944.283729-4-davemarq@linux.ibm.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# IBM device configuration.
|
|
#
|
|
|
|
config NET_VENDOR_IBM
|
|
bool "IBM devices"
|
|
default y
|
|
depends on PPC_PSERIES || PPC_DCR || (IBMEBUS && SPARSEMEM)
|
|
help
|
|
If you have a network (Ethernet) card 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 IBM devices. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_IBM
|
|
|
|
config IBMVETH
|
|
tristate "IBM LAN Virtual Ethernet support"
|
|
depends on PPC_PSERIES
|
|
help
|
|
This driver supports virtual ethernet adapters on newer IBM iSeries
|
|
and pSeries systems.
|
|
|
|
To compile this driver as a module, choose M here. The module will
|
|
be called ibmveth.
|
|
|
|
config IBMVETH_KUNIT_TEST
|
|
bool "KUnit test for IBM LAN Virtual Ethernet support" if !KUNIT_ALL_TESTS
|
|
depends on KUNIT
|
|
depends on KUNIT=y && IBMVETH=y
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
This builds unit tests for the IBM LAN Virtual Ethernet driver.
|
|
|
|
For more information on KUnit and unit tests in general, please refer
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
If unsure, say N.
|
|
|
|
source "drivers/net/ethernet/ibm/emac/Kconfig"
|
|
|
|
config EHEA
|
|
tristate "eHEA Ethernet support"
|
|
depends on IBMEBUS && SPARSEMEM
|
|
help
|
|
This driver supports the IBM pSeries eHEA ethernet adapter.
|
|
|
|
To compile the driver as a module, choose M here. The module
|
|
will be called ehea.
|
|
|
|
config IBMVNIC
|
|
tristate "IBM Virtual NIC support"
|
|
depends on PPC_PSERIES
|
|
help
|
|
This driver supports Virtual NIC adapters on IBM i and IBM System p
|
|
systems.
|
|
|
|
To compile this driver as a module, choose M here. The module will
|
|
be called ibmvnic.
|
|
|
|
endif # NET_VENDOR_IBM
|