Searched refs:fdb_dump_size (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/ |
| D | ethsw.c | 630 u32 fdb_dump_size; in port_fdb_dump() local 634 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in port_fdb_dump() 635 dma_mem = kzalloc(fdb_dump_size, GFP_KERNEL); in port_fdb_dump() 639 fdb_dump_iova = dma_map_single(dev, dma_mem, fdb_dump_size, in port_fdb_dump() 648 fdb_dump_iova, fdb_dump_size, &num_fdb_entries); in port_fdb_dump() 654 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_FROM_DEVICE); in port_fdb_dump() 676 dma_unmap_single(dev, fdb_dump_iova, fdb_dump_size, DMA_TO_DEVICE); in port_fdb_dump()
|