nfp_nfd3_tx_csum(9)
π nfp_nfd3_tx_csum(9) β Kernel API Manual πΈ
okay so bestie, we're diving into nfp_nfd3_tx_csum today β it lives in the Kernel API Manual and honestly? it's giving tiny-but-essential. it does exactly one job and does it slay. β¨
π NAME π
nfp_nfd3_tx_csum β set those TX CSUM offload flags in the TX descriptor, periodt.
π¦ SYNOPSIS π¦
void nfp_nfd3_tx_csum (struct nfp_net_dp *dp , struct nfp_net_r_vector
*r_vec , struct nfp_nfd3_tx_buf *txbuf , struct nfp_nfd3_tx_desc *txd ,
struct sk_buff *skb );
no return value, it's void, she just does the thing and leaves π
πΈ ARGUMENTS πΈ
dpβ the NFP Net data path struct. main character energy, she's the config brain of the operation π§r_vecβ the per-ring structure. one of these per ring, living her best ring life πtxbufβ pointer to the driver soft TX descriptor. soft as in software, not soft as in fragile, don't worry π«Άtxdβ pointer to the TX descriptor. this is the real one, the hardware-facing icon πskbβ pointer to the SKB. the packet itself, the moment, the whole point π
π DESCRIPTION π
so what does she actually do? this function sets the TX checksum flags in the TX descriptor, and it figures them out from two things: the configuration and the protocol of the packet that's about to be transmitted. that's it. that's the whole vibe check. no cap, that's the entire job description π₯
she reads the situation, she drops the right flags into txd, and she's out. not me being obsessed with a function this focused π
π SEE ALSO π
kernel file: ./drivers/net/ethernet/netronome/nfp/nfd3/dp.c
and the whole friend group, fr fr:
nfp_nfd3_tx_ring_stop(9)nfp_nfd3_tx_tso(9)nfp_nfd3_tx(9)nfp_nfd3_tx_complete(9)nfp_nfd3_rx_give_one(9)nfp_nfd3_rx_ring_fill_freelist(9)nfp_nfd3_rx_csum_has_errors(9)nfp_nfd3_rx_csum(9)nfp_nfd3_rx(9)nfp_nfd3_poll(9)
ngl bestie, if you're writing driver code around this, read the whole squad above β they all hang out in the same TX/RX ring ecosystem π
mwah, that's the page π«Ά this one's stamped ./drivers/net/ethernet/netrono... and dated October 2026 β so go forth, set those flags, and slay the checksum offload πβ¨
π¦ 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