Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.c1371 int dpsw_acl_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *acl_id, in dpsw_acl_add() argument
1388 *acl_id = le16_to_cpu(rsp_params->acl_id); in dpsw_acl_add()
1403 u16 acl_id) in dpsw_acl_remove() argument
1411 cmd_params->acl_id = cpu_to_le16(acl_id); in dpsw_acl_remove()
1427 u16 acl_id, const struct dpsw_acl_if_cfg *cfg) in dpsw_acl_add_if() argument
1435 cmd_params->acl_id = cpu_to_le16(acl_id); in dpsw_acl_add_if()
1453 u16 acl_id, const struct dpsw_acl_if_cfg *cfg) in dpsw_acl_remove_if() argument
1462 cmd_params->acl_id = cpu_to_le16(acl_id); in dpsw_acl_remove_if()
1529 u16 acl_id, const struct dpsw_acl_entry_cfg *cfg) in dpsw_acl_add_entry() argument
1537 cmd_params->acl_id = cpu_to_le16(acl_id); in dpsw_acl_add_entry()
[all …]
Ddpsw.h644 int dpsw_acl_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *acl_id,
648 u16 acl_id);
661 u16 acl_id, const struct dpsw_acl_if_cfg *cfg);
664 u16 acl_id, const struct dpsw_acl_if_cfg *cfg);
756 u16 acl_id, const struct dpsw_acl_entry_cfg *cfg);
759 u16 acl_id, const struct dpsw_acl_entry_cfg *cfg);
Ddpsw-cmd.h479 __le16 acl_id; member
483 __le16 acl_id; member
487 __le16 acl_id; member
532 __le16 acl_id; member
Ddpaa2-switch.h130 u16 acl_id; member
Ddpaa2-switch-flower.c139 filter_block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_add()
179 block->acl_id, acl_entry_cfg); in dpaa2_switch_acl_entry_remove()
Ddpaa2-switch.c1192 block->acl_id, &acl_if_cfg); in dpaa2_switch_port_acl_tbl_bind()
1219 block->acl_id, &acl_if_cfg); in dpaa2_switch_port_acl_tbl_unbind()
3160 filter_block->acl_id = acl_tbl_id; in dpaa2_switch_port_init()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h2416 MLXSW_ITEM32(reg, pacl, acl_id, 0x08, 0, 16);
2428 static inline void mlxsw_reg_pacl_pack(char *payload, u16 acl_id, in mlxsw_reg_pacl_pack() argument
2432 mlxsw_reg_pacl_acl_id_set(payload, acl_id); in mlxsw_reg_pacl_pack()
2480 MLXSW_ITEM32_INDEXED(reg, pagt, acl_id, 0x30, 0, 16, 0x04, 0x00, false);
2489 u16 acl_id, bool multi) in mlxsw_reg_pagt_acl_id_pack() argument
2496 mlxsw_reg_pagt_acl_id_set(payload, index, acl_id); in mlxsw_reg_pagt_acl_id_pack()