Searched refs:rec_index (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 391 static inline void mlxsw_reg_sfd_rec_pack(char *payload, int rec_index, in mlxsw_reg_sfd_rec_pack() argument 398 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack() 399 mlxsw_reg_sfd_num_rec_set(payload, rec_index + 1); in mlxsw_reg_sfd_rec_pack() 400 mlxsw_reg_sfd_rec_swid_set(payload, rec_index, 0); in mlxsw_reg_sfd_rec_pack() 401 mlxsw_reg_sfd_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_sfd_rec_pack() 402 mlxsw_reg_sfd_rec_mac_memcpy_to(payload, rec_index, mac); in mlxsw_reg_sfd_rec_pack() 403 mlxsw_reg_sfd_rec_action_set(payload, rec_index, action); in mlxsw_reg_sfd_rec_pack() 406 static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, in mlxsw_reg_sfd_uc_pack() argument 412 mlxsw_reg_sfd_rec_pack(payload, rec_index, in mlxsw_reg_sfd_uc_pack() 414 mlxsw_reg_sfd_rec_policy_set(payload, rec_index, policy); in mlxsw_reg_sfd_uc_pack() [all …]
|
D | spectrum_switchdev.c | 2410 char *sfn_pl, int rec_index, in mlxsw_sp_fdb_notify_mac_process() argument 2424 mlxsw_reg_sfn_mac_unpack(sfn_pl, rec_index, mac, &fid, &local_port); in mlxsw_sp_fdb_notify_mac_process() 2471 char *sfn_pl, int rec_index, in mlxsw_sp_fdb_notify_mac_lag_process() argument 2486 mlxsw_reg_sfn_mac_lag_unpack(sfn_pl, rec_index, mac, &fid, &lag_id); in mlxsw_sp_fdb_notify_mac_lag_process() 2587 int rec_index, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument 2601 mlxsw_reg_sfn_uc_tunnel_unpack(sfn_pl, rec_index, mac, &fid_index, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() 2651 char *sfn_pl, int rec_index) in mlxsw_sp_fdb_notify_rec_process() argument 2653 switch (mlxsw_reg_sfn_rec_type_get(sfn_pl, rec_index)) { in mlxsw_sp_fdb_notify_rec_process() 2656 rec_index, true); in mlxsw_sp_fdb_notify_rec_process() 2660 rec_index, false); in mlxsw_sp_fdb_notify_rec_process() [all …]
|
D | spectrum_buffers.c | 1540 int rec_index = 0; in mlxsw_sp_sb_sr_occ_query_cb() local 1559 mlxsw_reg_sbsr_rec_unpack(sbsr_pl, rec_index++, in mlxsw_sp_sb_sr_occ_query_cb() 1573 mlxsw_reg_sbsr_rec_unpack(sbsr_pl, rec_index++, in mlxsw_sp_sb_sr_occ_query_cb()
|
D | spectrum_router.c | 2207 int rec_index) in mlxsw_sp_router_neigh_ent_ipv6_process() argument 2214 mlxsw_reg_rauhtd_ent_ipv6_unpack(rauhtd_pl, rec_index, &rif, in mlxsw_sp_router_neigh_ent_ipv6_process() 2234 int rec_index) in mlxsw_sp_router_neigh_ent_ipv6_process() argument 2241 int rec_index) in mlxsw_sp_router_neigh_rec_ipv4_process() argument 2247 rec_index); in mlxsw_sp_router_neigh_rec_ipv4_process() 2255 ent_index = rec_index * MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC + i; in mlxsw_sp_router_neigh_rec_ipv4_process() 2264 int rec_index) in mlxsw_sp_router_neigh_rec_ipv6_process() argument 2268 rec_index); in mlxsw_sp_router_neigh_rec_ipv6_process() 2272 char *rauhtd_pl, int rec_index) in mlxsw_sp_router_neigh_rec_process() argument 2274 switch (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, rec_index)) { in mlxsw_sp_router_neigh_rec_process() [all …]
|