Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Def100_nic.c633 __le64 *mc_stats = kmalloc(array_size(efx->num_mac_stats, sizeof(__le64)), GFP_ATOMIC); in ef100_update_stats() local
641 if (!mc_stats) in ef100_update_stats()
644 efx_nic_copy_stats(efx, mc_stats); in ef100_update_stats()
646 stats, mc_stats, false); in ef100_update_stats()
648 kfree(mc_stats); in ef100_update_stats()
Dnic.h274 __le64 *mc_stats; member
Def10.c1301 kfree(nic_data->mc_stats); in efx_ef10_fini_nic()
1302 nic_data->mc_stats = NULL; in efx_ef10_fini_nic()
1329 nic_data->mc_stats = kmalloc(efx->num_mac_stats * sizeof(__le64), in efx_ef10_init_nic()
1331 if (!nic_data->mc_stats) in efx_ef10_init_nic()
1860 if (nic_data->mc_stats) { in efx_ef10_update_stats_pf()
1861 efx_nic_copy_stats(efx, nic_data->mc_stats); in efx_ef10_update_stats_pf()
1863 mask, stats, nic_data->mc_stats, false); in efx_ef10_update_stats_pf()