mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 17:39:52 +00:00

Add support to update the CMRT and control firmware as well as the UEFI driver on fbnic using devlink dev flash. Make sure the shutdown / quiescence paths like suspend take the devlink lock to prevent them from interrupting the FW flashing process. Signed-off-by: Lee Trager <lee@trager.us> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250512190109.2475614-6-lee@trager.us Signed-off-by: Paolo Abeni <pabeni@redhat.com>
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Meta Platforms network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_META
|
|
bool "Meta Platforms devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card designed by Meta, say Y.
|
|
That's Meta as in the parent company of Facebook.
|
|
|
|
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 Meta cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_META
|
|
|
|
config FBNIC
|
|
tristate "Meta Platforms Host Network Interface"
|
|
depends on X86_64 || COMPILE_TEST
|
|
depends on !S390
|
|
depends on MAX_SKB_FRAGS < 22
|
|
depends on PCI_MSI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select NET_DEVLINK
|
|
select PAGE_POOL
|
|
select PHYLINK
|
|
select PLDMFW
|
|
help
|
|
This driver supports Meta Platforms Host Network Interface.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called fbnic. MSI-X interrupt support is required.
|
|
|
|
endif # NET_VENDOR_META
|