Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.h137 dpaa2_switch_acl_tbl_is_full(struct dpaa2_switch_filter_block *filter_block) in dpaa2_switch_acl_tbl_is_full() argument
139 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
H A Ddpaa2-switch.c1147 dpaa2_switch_setup_tc_cls_flower(struct dpaa2_switch_filter_block *filter_block, in dpaa2_switch_setup_tc_cls_flower() argument
1152 return dpaa2_switch_cls_flower_replace(filter_block, f); in dpaa2_switch_setup_tc_cls_flower()
1154 return dpaa2_switch_cls_flower_destroy(filter_block, f); in dpaa2_switch_setup_tc_cls_flower()
1199 if (port_priv->filter_block) in dpaa2_switch_port_acl_tbl_bind()
1212 port_priv->filter_block = block; in dpaa2_switch_port_acl_tbl_bind()
1226 if (port_priv->filter_block != block) in dpaa2_switch_port_acl_tbl_unbind()
1239 port_priv->filter_block = NULL; in dpaa2_switch_port_acl_tbl_unbind()
1246 struct dpaa2_switch_filter_block *old_block = port_priv->filter_block; in dpaa2_switch_port_block_bind()
1259 if (port_priv->filter_block == block) in dpaa2_switch_port_block_bind()
1313 struct dpaa2_switch_filter_block *filter_block; in dpaa2_switch_setup_tc_block_bind() local
1363 struct dpaa2_switch_filter_block *filter_block; dpaa2_switch_setup_tc_block_unbind() local
3165 struct dpaa2_switch_filter_block *filter_block; dpaa2_switch_port_init() local
[all...]
H A Ddpaa2-switch-flower.c117 int dpaa2_switch_acl_entry_add(struct dpaa2_switch_filter_block *filter_block, in dpaa2_switch_acl_entry_add() argument
121 struct ethsw_core *ethsw = filter_block->ethsw; in dpaa2_switch_acl_entry_add()
143 filter_block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_add()