Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dnic.h181 __le64 *mc_stats; member
H A Def100_nic.c643 __le64 *mc_stats = kmalloc(array_size(efx->num_mac_stats, sizeof(__le64)), GFP_ATOMIC); in ef100_update_stats() local
651 if (!mc_stats) in ef100_update_stats()
654 efx_nic_copy_stats(efx, mc_stats); in ef100_update_stats()
656 stats, mc_stats, false); in ef100_update_stats()
658 kfree(mc_stats); in ef100_update_stats()
H A 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()