Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c120 struct dpsw_acl_entry_cfg *acl_entry_cfg = &entry->cfg; in dpaa2_switch_acl_entry_add() local
133 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_add()
136 if (unlikely(dma_mapping_error(dev, acl_entry_cfg->key_iova))) { in dpaa2_switch_acl_entry_add()
143 filter_block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_add()
145 dma_unmap_single(dev, acl_entry_cfg->key_iova, in dpaa2_switch_acl_entry_add()
163 struct dpsw_acl_entry_cfg *acl_entry_cfg = &entry->cfg; in dpaa2_switch_acl_entry_remove() local
176 acl_entry_cfg->key_iova = dma_map_single(dev, cmd_buff, in dpaa2_switch_acl_entry_remove()
179 if (unlikely(dma_mapping_error(dev, acl_entry_cfg->key_iova))) { in dpaa2_switch_acl_entry_remove()
186 block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_remove()
188 dma_unmap_single(dev, acl_entry_cfg->key_iova, in dpaa2_switch_acl_entry_remove()