Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c844 u32 fdb_dump_size; in dpaa2_switch_fdb_iterate() local
849 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate()
850 dma_mem = kzalloc(fdb_dump_size, GFP_KERNEL); in dpaa2_switch_fdb_iterate()
854 fdb_dump_iova = dma_map_single(dev, dma_mem, fdb_dump_size, in dpaa2_switch_fdb_iterate()
864 fdb_dump_iova, fdb_dump_size, &num_fdb_entries); in dpaa2_switch_fdb_iterate()
870 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_FROM_DEVICE); in dpaa2_switch_fdb_iterate()
887 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_TO_DEVICE); in dpaa2_switch_fdb_iterate()