2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/Documentation
Uday Shankar f8a10bed32 netconsole: allow selection of egress interface via MAC address
Currently, netconsole has two methods of configuration - module
parameter and configfs. The former interface allows for netconsole
activation earlier during boot (by specifying the module parameter on
the kernel command line), so it is preferred for debugging issues which
arise before userspace is up/the configfs interface can be used. The
module parameter syntax requires specifying the egress interface name.
This requirement makes it hard to use for a couple reasons:
- The egress interface name can be hard or impossible to predict. For
  example, installing a new network card in a system can change the
  interface names assigned by the kernel.
- When constructing the module parameter, one may have trouble
  determining the original (kernel-assigned) name of the interface
  (which is the name that should be given to netconsole) if some stable
  interface naming scheme is in effect. A human can usually look at
  kernel logs to determine the original name, but this is very painful
  if automation is constructing the parameter.

For these reasons, allow selection of the egress interface via MAC
address when configuring netconsole using the module parameter. Update
the netconsole documentation with an example of the new syntax.
Selection of egress interface by MAC address via configfs is far less
interesting (since when this interface can be used, one should be able
to easily convert between MAC address and interface name), so it is left
unimplemented.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Tested-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250312-netconsole-v6-2-3437933e79b8@purestorage.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:17:58 +01:00
..
ABI First batch of fixes for 6.14. Nothing really stands out, 2025-01-30 12:24:20 -08:00
accel
accounting Mainly individually changelogged singleton patches. The patch series in 2025-01-26 17:50:53 -08:00
admin-guide Kbuild fixes for v6.14 (3rd) 2025-03-09 09:23:14 -10:00
arch Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-02-27 10:20:58 -08:00
block Documentation: ublk: Drop Stefan Hajnoczi's message footnote 2025-01-28 15:02:17 -07:00
bpf
cdrom
core-api Mainly individually changelogged singleton patches. The patch series in 2025-01-26 17:50:53 -08:00
cpu-freq
crypto
dev-tools Documentation: move dev-tools debugging files to process/debugging/ 2024-12-17 13:46:53 -07:00
devicetree dt-bindings: deprecate "snps,en-tx-lpi-clockgating" property 2025-03-19 18:06:33 +01:00
doc-guide
driver-api driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00
fault-injection
fb
features
filesystems doc: correcting two prefix errors in idmappings.rst 2025-03-05 11:54:18 +01:00
firmware_class
firmware-guide
fpga
gpu drm: xlnx: zynqmp_dpsub: Fix kernel doc 2025-01-16 12:45:16 +01:00
hid HID: THC: Add documentation 2025-01-09 10:14:14 +01:00
hwmon hwmon updates for v6.14-rc1 2025-01-22 10:16:48 -08:00
i2c
iio iio: light: Add support for TI OPT4060 color sensor 2024-12-28 14:28:13 +00:00
images
infiniband
input
isdn
kbuild Kbuild updates for v6.14 2025-01-31 12:07:07 -08:00
kernel-hacking
leds Documentation:leds: Add leds-st1202.rst 2025-01-09 10:30:23 +00:00
litmus-tests
livepatch
locking
maintainer
mhi
misc-devices
mm The various patchsets are summarized below. Plus of course many 2025-01-26 18:36:23 -08:00
netlabel
netlink net: create netdev_nl_sock to wrap bindings list 2025-03-12 13:32:35 -07:00
networking netconsole: allow selection of egress interface via MAC address 2025-03-19 19:17:58 +01:00
nvdimm
nvme Documentation: Document the NVMe PCI endpoint target driver 2025-01-10 19:30:49 -08:00
PCI pci-v6.14-changes 2025-01-25 16:03:40 -08:00
pcmcia
peci
power Two fixes for footnote-related warnings that appeared with Sphinx 8.x. 2025-01-30 10:57:19 -08:00
process docs: netdev: add a note on selftest posting 2025-03-11 13:31:26 +01:00
RCU
rust
scheduler sched/rt: Update limit of sched_rt sysctl in documentation 2025-03-06 10:21:31 +01:00
scsi scsi: documentation: Corrections for struct updates 2025-01-10 15:15:30 -05:00
security
sound Merge branch 'for-linus' into for-next 2025-01-20 09:25:33 +01:00
sphinx
sphinx-static
spi
staging
sunrpc/xdr nfsd: rename NFS4_SHARE_WANT_* constants to OPEN4_SHARE_ACCESS_WANT_* 2025-01-21 15:30:01 -05:00
target
tee
timers
tools
trace tracing updates for v6.14: 2025-01-23 17:51:16 -08:00
translations MAINTAINERS: update Nick's contact info 2025-02-17 22:40:04 -08:00
usb USB: usbip: Update USB/IP OP_REP_IMPORT documentation. 2024-12-27 13:07:22 +01:00
userspace-api landlock: Minor typo and grammar fixes in IPC scoping documentation 2025-02-14 09:23:08 +01:00
virt KVM: s390: fake memslot for ucontrol VMs 2025-01-31 12:03:52 +01:00
w1
watchdog
wmi docs: platform/x86: wmi: mention tool for invoking WMI methods 2025-01-09 13:38:39 +02:00
.gitignore
atomic_bitops.txt
atomic_t.txt
Changes
CodingStyle
conf.py
docutils.conf
index.rst
Kconfig
Makefile tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00
memory-barriers.txt
SubmittingPatches
subsystem-apis.rst Documentation: Document the NVMe PCI endpoint target driver 2025-01-10 19:30:49 -08:00