Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.c690 cmd_params->fdb_id = cpu_to_le16(cfg->fdb_id); in dpsw_vlan_add()
725 cmd_params->fdb_id = cpu_to_le16(cfg->fdb_id); in dpsw_vlan_add_if()
868 int dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id, in dpsw_fdb_add() argument
888 *fdb_id = le16_to_cpu(rsp_params->fdb_id); in dpsw_fdb_add()
902 int dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id) in dpsw_fdb_remove() argument
912 cmd_params->fdb_id = cpu_to_le16(fdb_id); in dpsw_fdb_remove()
928 u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) in dpsw_fdb_add_unicast() argument
939 cmd_params->fdb_id = cpu_to_le16(fdb_id); in dpsw_fdb_add_unicast()
967 int dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, in dpsw_fdb_dump() argument
980 cmd_params->fdb_id = cpu_to_le16(fdb_id); in dpsw_fdb_dump()
[all …]
Ddpsw.h430 u16 fdb_id; member
453 u16 fdb_id; member
494 u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg);
497 u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg);
516 int dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id,
534 u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg);
537 u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg);
608 int dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id,
611 int dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id);
624 u16 fdb_id; member
Ddpsw-cmd.h336 __le16 fdb_id; member
344 __le16 fdb_id; member
371 __le16 fdb_id; member
375 __le16 fdb_id; member
383 __le16 fdb_id; member
393 __le16 fdb_id; member
406 __le16 fdb_id; member
458 __le16 fdb_id; member
Ddpaa2-switch.c31 return port_priv->fdb->fdb_id; in dpaa2_switch_port_get_fdb_id()
125 static void dpaa2_switch_fdb_get_flood_cfg(struct ethsw_core *ethsw, u16 fdb_id, in dpaa2_switch_fdb_get_flood_cfg() argument
139 if (ethsw->ports[j]->fdb->fdb_id != fdb_id) in dpaa2_switch_fdb_get_flood_cfg()
151 cfg->fdb_id = fdb_id; in dpaa2_switch_fdb_get_flood_cfg()
156 static int dpaa2_switch_fdb_set_egress_flood(struct ethsw_core *ethsw, u16 fdb_id) in dpaa2_switch_fdb_set_egress_flood() argument
162 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_BROADCAST, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood()
171 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_FLOODING, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood()
198 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_add_vlan()
302 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_port_add_vlan()
408 u16 fdb_id; in dpaa2_switch_port_fdb_add_uc() local
[all …]
Ddpaa2-switch.h104 u16 fdb_id; member