liquidio_destroy_nic_device(9)
π liquidio_destroy_nic_device π
okay so bestie, welcome to the kernel API manual β this one's a little function from the liquidio driver family, and honestly she's giving cleanup era. Let's get into it π
β¨ NAME β¨
liquidio_destroy_nic_device β destroy the NIC device interface, aka the function that says "girl, pack it up, we're done here" π§Ήπ
β¨ SYNOPSIS β¨
void liquidio_destroy_nic_device (struct octeon_device *oct , int ifidx
);
ngl the line break in there is not it, but that's literally how she's written, so we keep her exactly as-is π«Ά
β¨ ARGUMENTS β¨
octβ the octeon device. like, the whole device situation πifidxβ which interface to destroy. yes bestie, you gotta pick one β this is a per-interface situation, not a group activity πΈ
β¨ DESCRIPTION β¨
So here's the vibe: this function handles all the cleanup associated with each interface for an Octeon device. π§ββοΈ
When does she get called?? Two moments, and both are kinda "wrapping things up" energy:
- when the NIC module is being unloaded π€
- or if initialization fails during load π β like when the probe was going so well and then. it wasn't.
Either way, per-interface cleanup goes through her. she's the one tidying up the group chat before everyone leaves πβ¨
β¨ SEE ALSO β¨
okay this is the part where the manpage just. lists everyone she knows. it's giving friend group tag in the bio β and we're keeping every single one, no cap π
pcierror_quiesce_device(9)cleanup_aer_uncorrect_error_status(9)stop_pci_io(9)liquidio_pcie_error_detected(9)print_link_info(9)octnet_link_status_change(9)setup_link_status_change_wq(9)update_link_status(9)liquidio_vf_probe(9)octeon_pci_flr(9)octeon_destroy_resources(9)send_rx_ctrl_cmd(9)liquidio_stop_nic_module(9)liquidio_vf_remove(9)octeon_pci_os_setup(9)free_netbuf(9)free_netsgbuf(9)free_netsgbuf_with_resp(9)liquidio_open(9)liquidio_stop(9)get_new_flags(9)liquidio_set_mcast_list(9)liquidio_set_mac(9)liquidio_xmit(9)liquidio_tx_timeout(9)setup_nic_devices(9)liquidio_init_nic_module(9)octeon_device_init(9)
and the kernel file she lives in, bestie, is:
./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
that's her address. that's where she resides. π π
π also, quick shoutout to the source path ./drivers/net/ethernet/cavium/... β yes it's literally abbreviated with an ellipsis in the footer, and yes we are respecting the ellipsis. periodt. π
okay that's the whole page!! she's short, she's sweet, she destroys NIC device interfaces ONLY when the module unloads or init fails, and she knows a lot of other functions. obsessed, honestly πΈπ¦π
signing off from the manual page footer: this was liquidio_destroy_nic_device(9) from ./drivers/net/ethernet/cavium/..., dated October 2026 β iykyk, love u, bye bestie!! πβ¨π
π¦ 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