Searched refs:acl_entry_cfg (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch-flower.c | 117 struct dpsw_acl_entry_cfg *acl_entry_cfg = &entry->cfg; in dpaa2_switch_acl_entry_add() local 130 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_add() 133 if (unlikely(dma_mapping_error(dev, acl_entry_cfg->key_iova))) { in dpaa2_switch_acl_entry_add() 140 filter_block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_add() 142 dma_unmap_single(dev, acl_entry_cfg->key_iova, sizeof(cmd_buff), in dpaa2_switch_acl_entry_add() 159 struct dpsw_acl_entry_cfg *acl_entry_cfg = &entry->cfg; in dpaa2_switch_acl_entry_remove() local 172 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_remove() 175 if (unlikely(dma_mapping_error(dev, acl_entry_cfg->key_iova))) { in dpaa2_switch_acl_entry_remove() 182 block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_remove() 184 dma_unmap_single(dev, acl_entry_cfg->key_iova, sizeof(cmd_buff), in dpaa2_switch_acl_entry_remove()
|