efx_nic_copy_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘

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