Home
last modified time | relevance | path

Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve.c46 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 …]
Dspectrum_fid.c36 u16 fid_index; member
62 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index),
63 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index),
190 u16 fid_index) in mlxsw_sp_fid_lookup_by_index() argument
194 fid = rhashtable_lookup_fast(&mlxsw_sp->fid_core->fid_ht, &fid_index, in mlxsw_sp_fid_lookup_by_index()
450 fid->fid_index, local_port, member); in mlxsw_sp_fid_flood_set()
469 return fid->fid_index; in mlxsw_sp_fid_index()
507 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021q_setup()
523 smpe = fid->fid_family->smpe_index_valid ? fid->fid_index : 0; in mlxsw_sp_fid_pack()
525 mlxsw_reg_sfmr_pack(sfmr_pl, op, fid->fid_index, in mlxsw_sp_fid_pack()
[all …]
Dspectrum_switchdev.c136 u16 fid_index);
141 u16 fid_index);
594 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument
602 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid()
1620 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument
1628 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush()
1863 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local
1876 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set()
1882 fdb_info->addr, fid_index, vid, in mlxsw_sp_port_fdb_set()
1887 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
[all …]
Dspectrum_flower.c151 u16 fid_index; in mlxsw_sp_flower_parse_actions() local
174 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions()
176 fid_index, extack); in mlxsw_sp_flower_parse_actions()
Dspectrum.h1277 u16 fid_index);
1394 u16 fid_index,
1397 u16 fid_index);
Dspectrum_router.c9706 u16 fid_index; in mlxsw_sp_router_port_change_event() local
9709 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event()
9711 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event()
9726 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event()
9757 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event()
10521 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local
10531 err = mlxsw_sp_rif_fid_op(rif, fid_index, true); in mlxsw_sp_rif_fid_configure()
10572 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_configure()
10581 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local
10593 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()