bnx2x_set_pbd_csum_enc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 fr
  • skb β€” the packet skb πŸŽ€ the actual packet we're out here fussing over
  • parsing_data β€” data to be updated ✨ like, this is the thing getting rewritten, no cap
  • xmit_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