idpf_rx_singleq_csum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– idpf_rx_singleq_csum(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, and it's literally all about telling the skb whether the checksum came out good. bestie, it's giving "final vibe check before the packet ships" energy πŸ¦‹


🌸 NAME 🌸

idpf_rx_singleq_csum β€” Indicate in skb if checksum is good ✨


πŸŽ€ SYNOPSIS πŸŽ€

void idpf_rx_singleq_csum (struct idpf_rx_queue *rxq , struct sk_buff
*skb , struct libeth_rx_csum csum_bits , struct libeth_rx_pt decoded );

no cap, that's the whole signature, and yes she returns void β€” this function's job is vibes and side effects on the skb, not a return value πŸ’…


🫢 ARGUMENTS 🫢

  • rxq β€” the Rx ring that's currently being processed, aka the main character of this little operation πŸ‘‘
  • skb β€” the skb that's being received right now, and like… also being modified. yes, she's getting edited live, no cap 😭
  • csum_bits β€” the checksum bits straight from the descriptor, the raw tea β˜•
  • decoded β€” the packet type that the hardware already decoded for us, hardware did its homework fr fr 🧚

πŸ”₯ DESCRIPTION πŸ”₯

okay, important, don't skip this part: skb->protocol must be set before this function is called. that's not a suggestion, that's the rule. set it first or it's not gonna go well πŸ™ˆ


πŸ’€ SEE ALSO πŸ’€

the whole friend group, and they're all in the kernel file ./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c πŸ“


and that's the whole page, bestie, you ate that πŸ’–

sign-off time: this one lives in ./drivers/net/ethernet/intel/idpf, dated October 2026, from the Kernel API Manual, and she's filed under idpf_rx_singleq_csum(9) for whenever you need her again βœ¨πŸŽ€

πŸ“¦ where this page comes from