atl1e_setup_ring_resources(9)
β¨ NAME β¨
atl1e_setup_ring_resources β bestie, this is the one that allocates the Tx / RX descriptor resources π
(and yes, the manual name is Kernel API Manual, hi, welcome to the kernel-side of the group chat π«Ά)
πΈ SYNOPSIS πΈ
int atl1e_setup_ring_resources (struct atl1e_adapter *adapter );
okay so it's giving "one job, one function" energy, and honestly? iconic β¨
π ARGUMENTS π
adapterβ the board private structure, aka the little main character that holds all the board-specific lore π
π DESCRIPTION π
So here's the vibe check: this function is out here setting up those ring resources, and when it's done it tells you how it went π£
- Returns
0on success β slay, we ate, no cap π - Returns a negative value on failure β not me crying at 3am π
That's literally it, that's the whole contract, and it ate π―
π¦ SEE ALSO π¦
first up, the source of truth β the Kernel file itself, go read it, iykyk π
./drivers/net/ethernet/atheros/atl1e/atl1e_main.c
and now the whole friend group, no one left out fr fr π
atl1e_irq_enable(9)atl1e_irq_disable(9)atl1e_irq_reset(9)atl1e_phy_config(9)atl1e_link_chg_task(9)atl1e_tx_timeout(9)atl1e_set_multi(9)atl1e_set_mac_addr(9)atl1e_change_mtu(9)atl1e_alloc_queues(9)atl1e_sw_init(9)atl1e_clean_tx_ring(9)atl1e_clean_rx_ring(9)atl1e_free_ring_resources(9)atl1e_configure(9)atl1e_get_stats(9)atl1e_intr(9)atl1e_clean(9)atl1e_open(9)atl1e_close(9)atl1e_probe(9)atl1e_remove(9)atl1e_io_error_detected(9)atl1e_io_slot_reset(9)atl1e_io_resume(9)
okay that's the whole page bestie, ty for coming to my ted talk π§
huge shoutout to the source/version line, which in its natural habitat looks a lil like ./drivers/net/ethernet/atheros... and is dated October 2026 β periodt, that's the sign-off, go touch some grass now π±π
π¦ 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