gelic_descr_prepare_rx(9)
π
gelic_descr_prepare_rx β a Kernel API Manual moment, bestie
okay so we're in the Kernel API Manual today and the main character is gelic_descr_prepare_rx, a little function with big "give this descriptor a whole new life" energy. π¦
β¨ NAME β¨
gelic_descr_prepare_rx β reinitializes a rx descriptor πΈ
π SYNOPSIS π
int gelic_descr_prepare_rx (struct gelic_card *card , struct gelic_descr
*descr , bool napi_mode );
π ARGUMENTS π
cardβ the card structure, like, the whole vibe container bestie π«Άdescrβ the descriptor we're re-initing, glow-up incoming β¨napi_modeβ literally just answering "is it running in napi poll?" yes or no π
π DESCRIPTION π
returns 0 on success, <0 on failure β no cap, that's the whole mood report π
It allocates a brand new rx skb, iommu-maps it, and attaches it to the descriptor. Then it activates the descriptor state-wise, which is giving "main character energy, but for a buffer." π
Gelic RX sk_buffs must be aligned toGELIC_NET_RXBUF_ALIGNand the length must be a multiple ofGELIC_NET_RXBUF_ALIGN. Not optional, not negotiable, fr fr β that's the vibe check and you will be failing it if you skip it π
π₯ SEE ALSO π₯
The kernel file lives right here: ./drivers/net/ethernet/toshiba/ps3_gelic_net.c π
and honestly bestie, the whole friend group is iconic, go say hi:
gelic_descr_get_status(9)gelic_card_disable_txdmac(9)gelic_card_enable_rxdmac(9)gelic_card_disable_rxdmac(9)gelic_descr_set_status(9)gelic_card_reset_chain(9)gelic_card_free_chain(9)gelic_card_init_chain(9)gelic_card_release_rx_chain(9)gelic_card_fill_rx_chain(9)gelic_card_alloc_rx_skbs(9)gelic_descr_release_tx(9)gelic_card_release_tx_chain(9)gelic_net_set_multi(9)gelic_net_stop(9)gelic_card_get_next_tx_descr(9)gelic_descr_set_tx_cmdstat(9)gelic_descr_prepare_tx(9)gelic_card_kick_txdma(9)gelic_net_xmit(9)gelic_net_pass_skb_up(9)gelic_card_decode_one_descr(9)gelic_net_poll(9)gelic_net_poll_controller(9)gelic_net_open(9)gelic_net_tx_timeout_task(9)gelic_net_tx_timeout(9)gelic_ether_setup_netdev_ops(9)gelic_net_setup_netdev(9)gelic_alloc_card_net(9)
and that's the tea, bestie π this little page came from ./drivers/net/ethernet/toshiba, dated October 2026 β slay, iconic, 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