octep_napi_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octep_napi_disable β€” the Kernel API Manual page, but make it make sense

okay so bestie, this is a page from the Kernel API Manual (section 9, the kernel-functions section, iykyk), and the star of the show is octep_napi_disable(9). it's a function, it's a vibe, and it's about to turn off some NAPI. let's get into it πŸŽ€


✨ NAME ✨

octep_napi_disable β€” literally just: disable NAPI for all Tx/Rx queues. all of them. every single one. no queue left behind πŸ’…


🌸 SYNOPSIS 🌸

void octep_napi_disable (struct octep_device *oct );

that's it. that's the whole signature. returns void, so don't go looking for a return value, it's not coming 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • oct β€” the Octeon device private data structure. it's giving "the main character struct", and it's the one thing you gotta hand over 🫢

πŸ”₯ SEE ALSO πŸ”₯

bestie there are SO many cross-references here, buckle up. first off, the kernel file this all lives in:

./drivers/net/ethernet/marvell/octeon_ep/octep_main.c

and then the whole friend group β€” every single one of these, no cap:

octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9), octep_enable_msix_range(9), octep_disable_msix(9), octep_mbox_intr_handler(9), octep_oei_intr_handler(9), octep_ire_intr_handler(9), octep_ore_intr_handler(9), octep_vfire_intr_handler(9), octep_vfore_intr_handler(9), octep_dma_intr_handler(9), octep_dma_vf_intr_handler(9), octep_pp_vf_intr_handler(9), octep_misc_intr_handler(9), octep_rsvd_intr_handler(9), octep_ioq_intr_handler(9), octep_request_irqs(9), octep_free_irqs(9), octep_setup_irqs(9), octep_clean_irqs(9), octep_update_pkt(9), octep_enable_ioq_irq(9), octep_napi_poll(9), octep_napi_add(9), octep_napi_delete(9), octep_napi_enable(9), octep_open(9), octep_stop(9), octep_iq_full_check(9), octep_start_xmit(9), octep_get_stats64(9), octep_tx_timeout_task(9), octep_tx_timeout(9), octep_intr_poll_task(9), octep_hb_timeout_task(9), octep_ctrl_mbox_task(9), octep_device_setup(9), octep_device_cleanup(9), octep_probe(9), octep_remove(9), octep_init_module(9), octep_exit_module(9)

like I said. the whole group chat. πŸ’€

also real talk: octep_napi_disable has a counterpart, octep_napi_enable(9), right there in the list β€” they're the duo, the matching set, the "you can't sit with us unless you've met both" energy πŸ‘‘

and that's the whole page, bestie β€” short, sweet, and to the point. go disable those queues responsibly. mwah πŸ“

signed, sealed, delivered from ./drivers/net/ethernet/marvell..., dated October 2026, and filed under octep_napi_disable(9) β€” catch you in the next manpage, love u πŸ’–

πŸ“¦ where this page comes from