gelic_descr_prepare_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to GELIC_NET_RXBUF_ALIGN and the length must be a multiple of GELIC_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:


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