pch_gbe_intr(9)
π pch_gbe_intr(9) β like, the interrupt handler, bestie
okay so this is a page straight out of the Kernel API Manual, and it's about one tiny but iconic function: pch_gbe_intr. she's the one who answers when the hardware taps you on the shoulder. main character energy fr fr π«Ά
β¨ NAME β¨
pch_gbe_intr β the Interrupt Handler. that's it, that's the vibe. she handles interrupts. π
β¨ SYNOPSIS β¨
irqreturn_t pch_gbe_intr (int irq , void *data );
like, she takes an int and a void pointer and hands you back an irqreturn_t. no cap, that's the whole signature. π
β¨ ARGUMENTS β¨
irqβ the Interrupt number. yes babe, the actual number of the interrupt. the digits. the ID. π’dataβ a Pointer to a network interface device structure. so it's pointing at the netdev situation. use it wisely bestie πΈ
β¨ RETURN β¨
she gives you back one of exactly two things, and honestly? the dichotomy is serving:
IRQ_HANDLEDβ Our interrupt. yup, this one's ours, we're claiming it, it's giving main character π₯IRQ_NONEβ Not our interrupt. not ours, not today, not our problem, moving on π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
and likeβ¦ the whole friend group, literally the entire squad of pch_gbe functions, all here, all slaying β¨:
pch_gbe_mac_read_mac_addr(9)pch_gbe_wait_clr_bit(9)pch_gbe_mac_mar_set(9)pch_gbe_mac_reset_hw(9)pch_gbe_mac_init_rx_addrs(9)pch_gbe_mac_force_mac_fc(9)pch_gbe_mac_set_wol_event(9)pch_gbe_mac_ctrl_miim(9)pch_gbe_mac_set_pause_packet(9)pch_gbe_alloc_queues(9)pch_gbe_init_stats(9)pch_gbe_init_phy(9)pch_gbe_mdio_read(9)pch_gbe_mdio_write(9)pch_gbe_reset_task(9)pch_gbe_reinit_locked(9)pch_gbe_reset(9)pch_gbe_free_irq(9)pch_gbe_irq_disable(9)pch_gbe_irq_enable(9)pch_gbe_setup_tctl(9)pch_gbe_configure_tx(9)pch_gbe_setup_rctl(9)pch_gbe_configure_rx(9)pch_gbe_unmap_and_free_tx_resource(9)pch_gbe_unmap_and_free_rx_resource(9)pch_gbe_clean_tx_ring(9)pch_gbe_clean_rx_ring(9)pch_gbe_watchdog(9)pch_gbe_tx_queue(9)pch_gbe_update_stats(9)pch_gbe_alloc_rx_buffers(9)pch_gbe_alloc_tx_buffers(9)pch_gbe_clean_tx(9)pch_gbe_clean_rx(9)pch_gbe_setup_tx_resources(9)pch_gbe_setup_rx_resources(9)pch_gbe_free_tx_resources(9)pch_gbe_free_rx_resources(9)pch_gbe_request_irq(9)pch_gbe_up(9)pch_gbe_down(9)pch_gbe_sw_init(9)pch_gbe_open(9)pch_gbe_stop(9)pch_gbe_xmit_frame(9)pch_gbe_set_multi(9)pch_gbe_set_mac(9)pch_gbe_change_mtu(9)pch_gbe_set_features(9)pch_gbe_ioctl(9)pch_gbe_tx_timeout(9)pch_gbe_napi_poll(9)pch_gbe_netpoll(9)
like, that's the whole group chat. everyone's invited. π¦
ok that's the page bestie, go read the source file and stan an interrupt handler π
mwah π this one came from ./drivers/net/ethernet/oki-sem..., dated October 2026, and that's the tea.
π¦ 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