get_new_flags(9)
okay so bestie, welcome to get_new_flags(9) from the Kernel API Manual β it's giving tiny kernel helper energy, and we're obsessed β¨π
π NAME π
get_new_flags β converts a mask that's based on net device flags. no cap, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
enum octnet_ifflags get_new_flags (struct net_device *netdev );
β¨ ARGUMENTS β¨
netdevβ the network device, bestie. that's the one and only argument π
π DESCRIPTION π
okay so here's the situation: this routine generates an octnet_ifflags mask from the net device flags it receives from the OS. that's literally the glow-up it's doing β¨π¦
π¦ SEE ALSO π¦
the linked lore is strong with this one β go peek at the kernel file and all these friends:
- Kernel file
./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 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)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)
xoxo, your local kernel girly π β the source/version footer says ./drivers/net/ethernet/cavium/..., dated October 2026, and yes, the page is still get_new_flags(9) ππ
π¦ 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