pch_gbe_xmit_frame(9)
π pch_gbe_xmit_frame(9) π
okay bestie, welcome to the Kernel API Manual β¨ β yes, that's the manual name, and yes, you're about to learn how a packet actually gets sent. this one's short but iconic, ngl π
πΈ NAME πΈ
pch_gbe_xmit_frame β Packet transmitting start π
like, it's the function that kicks off the whole "send this packet out into the world" moment. main character energy fr.
β¨ SYNOPSIS β¨
netdev_tx_t pch_gbe_xmit_frame (struct sk_buff *skb , struct net_device
*netdev );
two args, both pointers, both important. we love a clean signature π«Ά
π¦ ARGUMENTS π¦
skbβ the Socket buffer structure π (the packet itself basically β the little guy being sent)netdevβ the Network interface device structure π (the NIC that's gonna do the sending)
π RETURN π
it hands you back a netdev_tx_t, and there are exactly two moods:
NETDEV_TX_OKβ Normal end β slay, the packet's on its wayNETDEV_TX_BUSYβ Error end π not great, the driver's busy / couldn't take it
ngl, "BUSY" is not the vibe you want, but at least it's honest about it π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c β that's where the magic lives, go read it iykyk π
and here's the whole extended friend group, no cap, every single one of them:
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_intr(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_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)
okay that's the entire roster and honestly? obsessed π
π§ that's the whole page bestie, go send some packets, ily, bye π β¨
and for the credits portion β this cutie came from source ./drivers/net/ethernet/oki-sem... (yes it's truncated like that in the original, don't @ me π) and it's dated October 2026 βπ periodt.
π¦ 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