Searched refs:filter_block (Results 1 – 3 of 3) sorted by relevance
137 dpaa2_switch_acl_tbl_is_full(struct dpaa2_switch_filter_block *filter_block) in dpaa2_switch_acl_tbl_is_full() argument139 if ((filter_block->num_acl_rules + DPAA2_ETHSW_PORT_DEFAULT_TRAPS) >= in dpaa2_switch_acl_tbl_is_full()162 struct dpaa2_switch_filter_block *filter_block; member
1186 if (port_priv->filter_block) in dpaa2_switch_port_acl_tbl_bind()1199 port_priv->filter_block = block; in dpaa2_switch_port_acl_tbl_bind()1213 if (port_priv->filter_block != block) in dpaa2_switch_port_acl_tbl_unbind()1226 port_priv->filter_block = NULL; in dpaa2_switch_port_acl_tbl_unbind()1246 if (port_priv->filter_block == block) in dpaa2_switch_port_block_bind()1314 filter_block = port_priv->filter_block; in dpaa2_switch_setup_tc_block_bind()1317 ethsw, filter_block, NULL); in dpaa2_switch_setup_tc_block_bind()3159 filter_block->ethsw = ethsw; in dpaa2_switch_port_init()3160 filter_block->acl_id = acl_tbl_id; in dpaa2_switch_port_init()3161 filter_block->in_use = true; in dpaa2_switch_port_init()[all …]
114 int dpaa2_switch_acl_entry_add(struct dpaa2_switch_filter_block *filter_block, in dpaa2_switch_acl_entry_add() argument118 struct ethsw_core *ethsw = filter_block->ethsw; in dpaa2_switch_acl_entry_add()139 filter_block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_add()
Completed in 11 milliseconds