Home
last modified time | relevance | path

Searched refs:mc_stats (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def100_nic.c592 __le64 *mc_stats = kmalloc(array_size(efx->num_mac_stats, sizeof(__le64)), GFP_ATOMIC); in ef100_update_stats() local
600 if (!mc_stats) in ef100_update_stats()
603 efx_nic_copy_stats(efx, mc_stats); in ef100_update_stats()
605 stats, mc_stats, false); in ef100_update_stats()
607 kfree(mc_stats); in ef100_update_stats()
Dnic.h274 __le64 *mc_stats; member
Def10.c1300 kfree(nic_data->mc_stats); in efx_ef10_fini_nic()
1301 nic_data->mc_stats = NULL; in efx_ef10_fini_nic()
1326 nic_data->mc_stats = kmalloc(efx->num_mac_stats * sizeof(__le64), in efx_ef10_init_nic()
1328 if (!nic_data->mc_stats) in efx_ef10_init_nic()
1828 efx_nic_copy_stats(efx, nic_data->mc_stats); in efx_ef10_update_stats_pf()
1830 mask, stats, nic_data->mc_stats, false); in efx_ef10_update_stats_pf()