liquidio_set_mac(9)
π liquidio_set_mac(9) β from the Kernel API Manual, bestie π
Okay so picture this: you're deep in the kernel docs (the Kernel API Manual, to be exact) and you land on liquidio_set_mac. That's the one we're doing today. Buckle up, it's a short one but she's iconic β¨
πΈ NAME πΈ
liquidio_set_mac β the net device set_mac_address hook, fr fr. That's literally her whole job description π
π¦ SYNOPSIS π¦
int liquidio_set_mac (struct net_device *netdev , void *p );
Like, that's it. Two args, returns an int. Short synopsis, main character energy π
π ARGUMENTS π
netdevβ the network device in question. The whole point of the operation, honestly π«Άpβ an opaque pointer to asockaddr. Opaque means don't peek inside, bestie, just pass it along π
β SEE ALSO β
First up, the kernel file where she lives β no cap, it's right here:
- Kernel file
./drivers/net/ethernet/cavium/liquidio/lio_vf_main.cπ
And then the whole friend group (yes, we're listing every single one, I would never leave anyone out π):
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_destroy_nic_device(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_xmit(9)liquidio_tx_timeout(9)setup_nic_devices(9)liquidio_init_nic_module(9)octeon_device_init(9)
Twenty-eight besties. Not me counting, but I counted πβ¨
Lowkey the whole page is just the synopsis and the link list, and honestly? Respect. No filler, no fluff, just vibes and function references π§
That's the whole page, bestie β sourced from ./drivers/net/ethernet/cavium/..., dated October 2026, and titled liquidio_set_mac(9) because that's her name and she's not changing it ππΈπ
π¦ 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