Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1301 u8 num_rec; in mlxsw_sp_port_fdb_tunnel_uc_op() local
1325 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_tunnel_uc_op()
1330 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_tunnel_uc_op()
1344 u8 num_rec; in __mlxsw_sp_port_fdb_uc_op() local
1353 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in __mlxsw_sp_port_fdb_uc_op()
1358 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in __mlxsw_sp_port_fdb_uc_op()
1388 u8 num_rec; in mlxsw_sp_port_fdb_uc_lag_op() local
1399 num_rec = mlxsw_reg_sfd_num_rec_get(sfd_pl); in mlxsw_sp_port_fdb_uc_lag_op()
1404 if (num_rec != mlxsw_reg_sfd_num_rec_get(sfd_pl)) in mlxsw_sp_port_fdb_uc_lag_op()
1453 u8 num_rec; in mlxsw_sp_port_mdb_op() local
[all …]
Dspectrum_router_xm.c642 u8 num_rec; in mlxsw_sp_router_ll_xm_fib_entry_commit() local
673 num_rec = mlxsw_reg_xmdr_num_rec_get(op_ctx_xm->xmdr_pl); in mlxsw_sp_router_ll_xm_fib_entry_commit()
674 if (num_rec > op_ctx_xm->entries_count) { in mlxsw_sp_router_ll_xm_fib_entry_commit()
679 for (i = 0; i < num_rec; i++) { in mlxsw_sp_router_ll_xm_fib_entry_commit()
Dreg.h277 MLXSW_ITEM32(reg, sfd, num_rec, 0x08, 0, 8);
396 u8 num_rec = mlxsw_reg_sfd_num_rec_get(payload); in mlxsw_reg_sfd_rec_pack() local
398 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
625 MLXSW_ITEM32(reg, sfn, num_rec, 0x04, 0, 8);
927 MLXSW_ITEM32(reg, spvm, num_rec, 0x00, 0, 8);
1957 MLXSW_ITEM32(reg, spvmlr, num_rec, 0x00, 0, 8);
1978 int num_rec = vid_end - vid_begin + 1; in mlxsw_reg_spvmlr_pack() local
1981 WARN_ON(num_rec < 1 || num_rec > MLXSW_REG_SPVMLR_REC_MAX_COUNT); in mlxsw_reg_spvmlr_pack()
1985 mlxsw_reg_spvmlr_num_rec_set(payload, num_rec); in mlxsw_reg_spvmlr_pack()
1987 for (i = 0; i < num_rec; i++) { in mlxsw_reg_spvmlr_pack()
[all …]
Dspectrum_router.c2396 u8 num_rec, last_rec_index, num_entries; in mlxsw_sp_router_rauhtd_is_full() local
2398 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2399 last_rec_index = num_rec - 1; in mlxsw_sp_router_rauhtd_is_full()
2401 if (num_rec < MLXSW_REG_RAUHTD_REC_MAX_NUM) in mlxsw_sp_router_rauhtd_is_full()
2419 int i, num_rec; in __mlxsw_sp_router_neighs_update_rauhtd() local
2432 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2433 for (i = 0; i < num_rec; i++) in __mlxsw_sp_router_neighs_update_rauhtd()
Dspectrum.c2156 u8 num_rec; in mlxsw_sp1_ptp_fifo_event_func() local
2160 num_rec = mlxsw_reg_mtpptr_num_rec_get(mtpptr_pl); in mlxsw_sp1_ptp_fifo_event_func()
2161 for (i = 0; i < num_rec; i++) { in mlxsw_sp1_ptp_fifo_event_func()