efx_nic_update_stats(9)
β¨ NAME β¨ β from the Kernel API Manual, bestie π«Ά
okay so efx_nic_update_stats(9) is the function whose whole vibe is Convert statistics DMA buffer to array of u64 β thatβs the main character energy here, periodt. π
π SYNOPSIS β¨
void efx_nic_update_stats (const struct efx_hw_stat_desc *desc , size_t
count , const unsigned long *mask , u64 *stats , const void *dma_buf ,
bool accumulate );
πΈ ARGUMENTS πΈ
descβ this is the array ofstruct efx_hw_stat_descthat describes the DMA buffer layout, okay? DMA widths of0,16,32and64are supported; where the width is specified as0, the corresponding element ofstatsis not updated. Not me pointing at the zero width like π.countβ length of thedescarray. literally the count ofdesc, bestie.maskβ bitmask of which elements ofdescare enabled. β¨statsβ buffer to update with the converted statistics. The length of this array must be at leastcount. no cap, that length requirement is real.dma_bufβ DMA buffer containing hardware statistics. π«Άaccumulateβ if set, the converted values will be added rather than directly stored to the corresponding elements ofstats. itβs giving βplus equalsβ energy, but only when set π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ethernet/sfc/nic.c β efx_nic_describe_stats(9), efx_nic_copy_stats(9).
π mwah, this page is sourced from ./drivers/net/ethernet/sfc and dated October 2026 β bye bestie! π
π¦ 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