sxgbe_drv_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sxgbe_drv_remove(9) ✨

okay so bestie, we're deep in the kernel API manual today β€” this one lives under the sxgbe_drv_remove page πŸŽ€ and it's all about telling the Samsung SXGBE Ethernet driver to pack its bags and go home. It's giving "last day of school, clean out your locker" energy πŸ’…


🌸 SYNOPSIS 🌸

void sxgbe_drv_remove (struct net_device *ndev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ndev β€” the net device pointer, aka the lil handle to the network interface we're about to shut down 🫢

πŸ’– DESCRIPTION πŸ’–

so what does this function actually do, you ask? literally the whole cleanup arc 😭

  • it resets the TX/RX processes πŸ”
  • it disables the MAC RX/TX changes the link status πŸ”₯
  • it releases the DMA descriptor rings πŸŽ€

no cap, it's the teardown bestie. everything gets wound down and handed back.


🌈 SEE ALSO 🌈

the kernel file it lives in: ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c

and the whole friend group 🫢:

sxgbe_verify_args(9), sxgbe_eee_ctrl_timer(9), sxgbe_eee_init(9), sxgbe_clk_csr_set(9), sxgbe_adjust_link(9), sxgbe_init_phy(9), sxgbe_clear_descriptors(9), sxgbe_free_rx_buffers(9), init_tx_ring(9), free_rx_ring(9), init_rx_ring(9), free_tx_ring(9), init_dma_desc_rings(9), sxgbe_mtl_operation_mode(9), sxgbe_tx_queue_clean(9), sxgbe_tx_all_clean(9), sxgbe_restart_tx_queue(9), sxgbe_reset_all_tx_queues(9), sxgbe_get_hw_features(9), sxgbe_check_ether_addr(9), sxgbe_init_dma_engine(9), sxgbe_init_mtl_engine(9), sxgbe_disable_mtl_engine(9), sxgbe_tx_timer(9), sxgbe_tx_init_coalesce(9), sxgbe_open(9), sxgbe_release(9), sxgbe_xmit(9), sxgbe_rx_refill(9), sxgbe_rx(9), sxgbe_poll(9), sxgbe_tx_timeout(9), sxgbe_common_interrupt(9), sxgbe_tx_interrupt(9), sxgbe_rx_interrupt(9), sxgbe_set_rx_mode(9), sxgbe_poll_controller(9), sxgbe_hw_init(9), sxgbe_drv_probe(9)


and that's the whole page, bestie πŸ’œ this came out of the kernel API manual, sourced from ./drivers/net/ethernet/samsung... with an October 2026 date stamp β€” stay clean out there, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from