efx_nic_copy_stats(9)
π efx_nic_copy_stats β bestie's guide to the kernel API manual β¨
okay so real talk, this is the manual page for efx_nic_copy_stats(9), and yes it's a kernel API manual page, we're fancy now π
πΈ NAME πΈ
efx_nic_copy_stats β copy stats from the DMA buffer in to an intermediate buffer. This is used to get a consistent set of stats while the DMA buffer can be written at any time by the NIC.
fr fr, that's the whole point: the NIC can be out here scribbling on the DMA buffer literally whenever, so you grab a copy and work off that instead π
β¨ SYNOPSIS β¨
int efx_nic_copy_stats (struct efx_nic *efx , __le64 *dest );
π¦ ARGUMENTS π¦
efxβ the associated NIC. that's your main character struct, the one doing the network stuff πdestβ destination buffer. Must be the same size as the DMA buffer. like, non-negotiable, no cap π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/sfc/nic.c efx_nic_describe_stats(9)efx_nic_update_stats(9)
go read those too, they're the friend group, iykyk π«Ά
and that's the page!! short and sweet, ate and left no crumbs β
<cute sign-off>this iconic little page came from ./drivers/net/ethernet/sfc, dated October 2026 β catch you in the next one πβ¨</cute sign-off>
π¦ 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