Searched refs:fdb_dump_size (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 836 u32 fdb_dump_size; in dpaa2_switch_fdb_iterate() local 841 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate() 842 dma_mem = kzalloc(fdb_dump_size, GFP_KERNEL); in dpaa2_switch_fdb_iterate() 846 fdb_dump_iova = dma_map_single(dev, dma_mem, fdb_dump_size, in dpaa2_switch_fdb_iterate() 856 fdb_dump_iova, fdb_dump_size, &num_fdb_entries); in dpaa2_switch_fdb_iterate() 862 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_FROM_DEVICE); in dpaa2_switch_fdb_iterate() 879 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_TO_DEVICE); in dpaa2_switch_fdb_iterate()
|