idpf_chk_linearize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_chk_linearize β€” a whole manual page, bestie

okay so real talk, this one is from the Kernel API Manual and it is literally about checking whether a packet is doing too much. stay with me 🫢


✨ NAME ✨

idpf_chk_linearize β€” the little function that checks if your skb is out here exceeding the max descriptors per packet 😭 no cap, that's the whole job.


🌸 SYNOPSIS 🌸

bool idpf_chk_linearize (const struct sk_buff *skb , unsigned int
       max_bufs , unsigned int count );

it returns a bool, she takes three args, and she is very serious about her job πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the send buffer itself, the main character of this whole situation πŸ‘‘
  • max_bufs β€” the absolute ceiling on scatter gather buffers for a single packet, like the velvet rope at the club 🚫
  • count β€” how many buffers this particular packet actually needs, so we can compare vibes ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole point: make sure we don't exceed the maximum scatter gather buffers for a single packet. that's it. that's the function. 🎯

and before you come for her β€” the TSO case has been handled earlier from idpf_features_check, so don't @ her about it, she already knows πŸ’β€β™€οΈ


⭐ RETURN ⭐

  • true β€” the skb exceeds max descriptors per packet (too much, bestie, too much πŸ’€)
  • false β€” nope, she's fine, everything's within budget πŸ’–

🌈 SEE ALSO 🌈

okay this section is long long, grab a snack πŸ“ β€” first up, the kernel file herself:

  • Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c

and now, the extended friend group, in the exact order they showed up 🫢:


ngl, that's a lot of cross references. she's popular. she's booked and busy. πŸ’…βœ¨

and that's the whole page, bestie β€” this lil cutie lives in ./drivers/net/ethernet/intel/idpf, dated October 2026, and she ate, no crumbs, periodt πŸ’–πŸ¦‹

πŸ“¦ where this page comes from