Home
last modified time | relevance | path

Searched refs:num_mac_stats (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c1162 efx->num_mac_stats * sizeof(u64) : 0; in efx_mcdi_mac_stats()
1193 dma_stats[efx->num_mac_stats - 1] = EFX_MC_STATS_GENERATION_INVALID; in efx_siena_mcdi_mac_start_stats()
1211 dma_stats[efx->num_mac_stats - 1] = EFX_MC_STATS_GENERATION_INVALID; in efx_siena_mcdi_mac_pull_stats()
1214 while (dma_stats[efx->num_mac_stats - 1] == in efx_siena_mcdi_mac_pull_stats()
1224 if (!efx->num_mac_stats) in efx_siena_mcdi_mac_init_stats()
1229 efx->num_mac_stats * sizeof(u64), in efx_siena_mcdi_mac_init_stats()
H A Defx_common.c1018 efx->num_mac_stats = MC_CMD_MAC_NSTATS; in efx_siena_init_struct()
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c1166 efx->num_mac_stats * sizeof(u64) : 0; in efx_mcdi_mac_stats()
1197 dma_stats[efx->num_mac_stats - 1] = EFX_MC_STATS_GENERATION_INVALID; in efx_mcdi_mac_start_stats()
1215 dma_stats[efx->num_mac_stats - 1] = EFX_MC_STATS_GENERATION_INVALID; in efx_mcdi_mac_pull_stats()
1218 while (dma_stats[efx->num_mac_stats - 1] == in efx_mcdi_mac_pull_stats()
1228 if (!efx->num_mac_stats) in efx_mcdi_mac_init_stats()
1233 efx->num_mac_stats * sizeof(u64), GFP_KERNEL); in efx_mcdi_mac_init_stats()
H A Def10.c168 efx->num_mac_stats = MCDI_WORD(outbuf, in efx_ef10_init_datapath_caps()
172 efx->num_mac_stats); in efx_ef10_init_datapath_caps()
177 efx->num_mac_stats); in efx_ef10_init_datapath_caps()
1329 nic_data->mc_stats = kmalloc(efx->num_mac_stats * sizeof(__le64), in efx_ef10_init_nic()
1730 if (efx->num_mac_stats >= MC_CMD_MAC_NSTATS_V2) in efx_ef10_get_stat_mask()
1737 if (efx->num_mac_stats >= MC_CMD_MAC_NSTATS_V3 && in efx_ef10_get_stat_mask()
1901 u32 dma_len = efx->num_mac_stats * sizeof(u64); in efx_ef10_try_update_nic_stats_vf()
1917 dma_stats[efx->num_mac_stats - 1] = EFX_MC_STATS_GENERATION_INVALID; in efx_ef10_try_update_nic_stats_vf()
1936 generation_end = dma_stats[efx->num_mac_stats - 1]; in efx_ef10_try_update_nic_stats_vf()