bnx2x_set_pbd_csum_enc(9)
π bnx2x_set_pbd_csum_enc(9) β like, the kernel API manual bestie π
okay so welcome to the bnx2x_set_pbd_csum_enc page from the Kernel API Manual, bestie β buckle up, this one's short but it's giving β¨niche driver magicβ¨
β¨ NAME β¨
bnx2x_set_pbd_csum_enc β update PBD with checksum and return header length π§
like, that's literally the whole job. PBD gets its checksum glow-up, and the function hands you back the header length. slay π
πΈ SYNOPSIS πΈ
u8 bnx2x_set_pbd_csum_enc (struct bnx2x *bp , struct sk_buff *skb , u32
*parsing_data , u32 xmit_type );
notice the return type is u8, okay? it's not out here returning some giant struct, it's a lil byte. iconic behavior honestly π«Ά
π¦ ARGUMENTS π¦
bpβ the driver handle π your main character pointer, fr frskbβ the packet skb π the actual packet we're out here fussing overparsing_dataβ data to be updated β¨ like, this is the thing getting rewritten, no capxmit_typeβ xmit flags π the flags that tell you what kind of transmit situation we're in
π₯ DESCRIPTION π₯
57712/578xx related, when skb has encapsulation π
that's it. that's the whole description. it's giving minimalist. it's giving "iykyk". if you're on 57712/578xx silicon and your skb is carrying encapsulation, this is your function, periodt π
quick vibe check: the manpage really is this brief β no extra lore, no secret options, nothing hidden in the back. just those two facts and a whole lot of aura π§
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c π go read it, bestie, it's right there
and here's the whole friend group, all of them, in order, no skipping:
bnx2x_move_fp(9), bnx2x_fill_fw_str(9), bnx2x_shrink_eth_fp(9), bnx2x_set_gro_params(9), bnx2x_fill_report_data(9), bnx2x_link_report(9), __bnx2x_link_report(9), bnx2x_free_msix_irqs(9), bnx2x_set_real_num_queues(9), bnx2x_bz_fp(9), bnx2x_set_pbd_gso(9), bnx2x_set_pbd_csum_e2(9), bnx2x_set_pbd_csum(9), bnx2x_setup_tc(9)
like, bnx2x_set_pbd_csum_e2(9) and bnx2x_set_pbd_csum(9) are literally cousins of this one. family reunion π
and that's the page!! mwah π this lil doc came from ./drivers/net/ethernet/broadco... and it's stamped October 2026 β so like, future vibes, we love to see it β bye bestie, go checksum something πΈπ
π¦ 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