fm10k_prepare_for_reset(9)
π fm10k_prepare_for_reset β the kernel API manual, bestie edition β¨
okay so this is fm10k_prepare_for_reset(9) from the Kernel API Manual, and no cap, she's a little function with a big job π«Ά
πΈ NAME πΈ
fm10k_prepare_for_reset β get the driver and the device all cozy and packed up for a reset that's about to happen π
β¨ SYNOPSIS β¨
bool fm10k_prepare_for_reset (struct fm10k_intfc *interface );
π ARGUMENTS π
interfaceβ the fm10k private data structure, aka the little bag of secrets this driver carries around π
π¦ DESCRIPTION π¦
so basically this function is the "okay everyone, wrap it up" moment π It prepares for a device reset by shutting down as much as it possibly can β like, as much as we can, not necessarily everything, bestie, so don't come for her.
but here's the twist π If __FM10K_RESETTING was already set before you called this function, she does absolutely nothing and returns false. No work, no drama, no notes.
If she did actually do work? She returns true. periodt. β
π₯ SEE ALSO π₯
the kernel file, right here: ./drivers/net/ethernet/intel/fm10k/fm10k_pci.c
and literally the whole friend group π«Ά:
fm10k_macvlan_schedule(9)fm10k_stop_macvlan_task(9)fm10k_resume_macvlan_task(9)fm10k_service_timer(9)fm10k_configure_swpri_map(9)fm10k_watchdog_update_host_state(9)fm10k_mbx_subtask(9)fm10k_watchdog_host_is_ready(9)fm10k_watchdog_host_not_ready(9)fm10k_update_stats(9)fm10k_watchdog_flush_tx(9)fm10k_watchdog_subtask(9)fm10k_check_hang_subtask(9)fm10k_service_task(9)fm10k_macvlan_task(9)fm10k_configure_tx_ring(9)fm10k_enable_tx_ring(9)fm10k_configure_tx(9)fm10k_configure_rx_ring(9)fm10k_update_rx_drop_en(9)fm10k_configure_dglort(9)fm10k_configure_rx(9)fm10k_qv_free_irq(9)fm10k_qv_request_irq(9)fm10k_sw_init(9)fm10k_probe(9)fm10k_remove(9)fm10k_resume(9)fm10k_suspend(9)fm10k_io_error_detected(9)fm10k_io_slot_reset(9)fm10k_io_resume(9)fm10k_io_reset_prepare(9)fm10k_io_reset_done(9)fm10k_register_pci_driver(9)fm10k_unregister_pci_driver(9)
ngl bestie, check the source before you wreck anything β this is a reset path and resets are, by nature, a whole vibe π
π and that's the page, mwah π this one came from the source ./drivers/net/ethernet/intel/f... and it's dated October 2026 β so mark your calendar, iykyk πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms