Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_nve.c | 46 u16 fid_index; member 642 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_add() 672 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_del() 714 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_flush() 776 u16 fid_index) in mlxsw_sp_nve_fdb_flush_by_fid() argument 781 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_nve_fdb_flush_by_fid() 802 u16 fid_index; member 833 u16 fid_index) in mlxsw_sp_nve_ipv6_ht_node_lookup() argument 838 key.fid_index = fid_index; in mlxsw_sp_nve_ipv6_ht_node_lookup() 844 const char *mac, u16 fid_index, in mlxsw_sp_nve_ipv6_ht_insert() argument [all …]
|
D | spectrum_fid.c | 35 u16 fid_index; member 61 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index), 62 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index), 140 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index) in mlxsw_sp_fid_is_dummy() argument 147 return fid_family->start_index == fid_index; in mlxsw_sp_fid_is_dummy() 151 u16 fid_index) in mlxsw_sp_fid_lookup_by_index() argument 155 fid = rhashtable_lookup_fast(&mlxsw_sp->fid_core->fid_ht, &fid_index, in mlxsw_sp_fid_lookup_by_index() 363 fid->fid_index, local_port, member); in mlxsw_sp_fid_flood_set() 382 return fid->fid_index; in mlxsw_sp_fid_index() 420 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021q_setup() [all …]
|
D | spectrum_switchdev.c | 136 u16 fid_index); 141 u16 fid_index); 509 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument 517 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid() 1525 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument 1533 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush() 1768 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local 1781 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set() 1787 fdb_info->addr, fid_index, vid, in mlxsw_sp_port_fdb_set() 1792 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() [all …]
|
D | spectrum_flower.c | 151 u16 fid_index; in mlxsw_sp_flower_parse_actions() local 164 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions() 166 fid_index, extack); in mlxsw_sp_flower_parse_actions()
|
D | spectrum.h | 1270 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index); 1272 u16 fid_index); 1389 u16 fid_index, 1392 u16 fid_index);
|
D | spectrum_router.c | 8991 u16 fid_index; in mlxsw_sp_router_port_change_event() local 8994 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event() 8996 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event() 9011 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event() 9042 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event() 9421 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local 9431 err = mlxsw_sp_rif_fid_op(rif, fid_index, true); in mlxsw_sp_rif_fid_configure() 9466 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_configure() 9474 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local 9486 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()
|