Searched refs:fdb_id (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpsw.c | 690 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 D | dpsw.h | 430 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
|
H A D | dpsw-cmd.h | 336 __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
|
H A D | dpaa2-switch.c | 30 return port_priv->fdb->fdb_id; in dpaa2_switch_port_get_fdb_id() 124 static void dpaa2_switch_fdb_get_flood_cfg(struct ethsw_core *ethsw, u16 fdb_id, in dpaa2_switch_fdb_get_flood_cfg() argument 138 if (ethsw->ports[j]->fdb->fdb_id != fdb_id) in dpaa2_switch_fdb_get_flood_cfg() 150 cfg->fdb_id = fdb_id; in dpaa2_switch_fdb_get_flood_cfg() 155 static int dpaa2_switch_fdb_set_egress_flood(struct ethsw_core *ethsw, u16 fdb_id) in dpaa2_switch_fdb_set_egress_flood() argument 161 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_BROADCAST, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood() 170 dpaa2_switch_fdb_get_flood_cfg(ethsw, fdb_id, DPSW_FLOODING, &flood_cfg); in dpaa2_switch_fdb_set_egress_flood() 197 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_add_vlan() 301 vcfg.fdb_id = dpaa2_switch_port_get_fdb_id(port_priv); in dpaa2_switch_port_add_vlan() 407 u16 fdb_id; in dpaa2_switch_port_fdb_add_uc() local [all …]
|
H A D | dpaa2-switch.h | 104 u16 fdb_id; member
|