Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/dpaa2/
H A 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 …]
H A Ddpsw-cmd.h339 __le16 fdb_id; member
347 __le16 fdb_id; member
374 __le16 fdb_id; member
378 __le16 fdb_id; member
386 __le16 fdb_id; member
396 __le16 fdb_id; member
409 __le16 fdb_id; member
461 __le16 fdb_id; member
H A Ddpsw.h432 u16 fdb_id; member
455 u16 fdb_id; member
496 u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg);
499 u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg);
518 int dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id,
536 u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg);
539 u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg);
610 int dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id,
613 int dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id);
626 u16 fdb_id; member
H A Ddpaa2-switch.c33 return port_priv->fdb->fdb_id; in dpaa2_switch_port_get_fdb_id()
182 static void dpaa2_switch_fdb_get_flood_cfg(struct ethsw_core *ethsw, u16 fdb_id, in dpaa2_switch_fdb_get_flood_cfg() argument
196 if (ethsw->ports[j]->fdb->fdb_id != fdb_id) in dpaa2_switch_fdb_get_flood_cfg()
208 cfg->fdb_id = fdb_id; in dpaa2_switch_fdb_get_flood_cfg()
213 static int dpaa2_switch_fdb_set_egress_flood(struct ethsw_core *ethsw, u16 fdb_id) in dpaa2_switch_fdb_set_egress_flood() argument
219 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_BROADCAST, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood()
228 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_FLOODING, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood()
255 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_add_vlan()
355 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_port_add_vlan()
484 u16 fdb_id; in dpaa2_switch_port_fdb_add_uc() local
[all …]
H A Ddpaa2-switch.h115 u16 fdb_id; member