Home
last modified time | relevance | path

Searched refs:rec_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h357 static inline void mlxsw_reg_sfd_rec_pack(char *payload, int rec_index, in mlxsw_reg_sfd_rec_pack() argument
364 if (rec_index >= num_rec) in mlxsw_reg_sfd_rec_pack()
365 mlxsw_reg_sfd_num_rec_set(payload, rec_index + 1); in mlxsw_reg_sfd_rec_pack()
366 mlxsw_reg_sfd_rec_swid_set(payload, rec_index, 0); in mlxsw_reg_sfd_rec_pack()
367 mlxsw_reg_sfd_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_sfd_rec_pack()
368 mlxsw_reg_sfd_rec_mac_memcpy_to(payload, rec_index, mac); in mlxsw_reg_sfd_rec_pack()
369 mlxsw_reg_sfd_rec_action_set(payload, rec_index, action); in mlxsw_reg_sfd_rec_pack()
372 static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, in mlxsw_reg_sfd_uc_pack() argument
378 mlxsw_reg_sfd_rec_pack(payload, rec_index, in mlxsw_reg_sfd_uc_pack()
380 mlxsw_reg_sfd_rec_policy_set(payload, rec_index, policy); in mlxsw_reg_sfd_uc_pack()
[all …]
Dspectrum_switchdev.c3046 char *sfn_pl, int rec_index, in mlxsw_sp_fdb_notify_mac_process() argument
3059 mlxsw_reg_sfn_mac_unpack(sfn_pl, rec_index, mac, &fid, &local_port); in mlxsw_sp_fdb_notify_mac_process()
3114 char *sfn_pl, int rec_index, in mlxsw_sp_fdb_notify_mac_lag_process() argument
3129 mlxsw_reg_sfn_mac_lag_unpack(sfn_pl, rec_index, mac, &fid, &lag_id); in mlxsw_sp_fdb_notify_mac_lag_process()
3233 int rec_index, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
3247 mlxsw_reg_sfn_uc_tunnel_unpack(sfn_pl, rec_index, mac, &fid_index, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3297 char *sfn_pl, int rec_index) in mlxsw_sp_fdb_notify_rec_process() argument
3299 switch (mlxsw_reg_sfn_rec_type_get(sfn_pl, rec_index)) { in mlxsw_sp_fdb_notify_rec_process()
3302 rec_index, true); in mlxsw_sp_fdb_notify_rec_process()
3306 rec_index, false); in mlxsw_sp_fdb_notify_rec_process()
[all …]
Dspectrum_buffers.c1570 int rec_index = 0; in mlxsw_sp_sb_sr_occ_query_cb() local
1589 mlxsw_reg_sbsr_rec_unpack(sbsr_pl, rec_index++, in mlxsw_sp_sb_sr_occ_query_cb()
1603 mlxsw_reg_sbsr_rec_unpack(sbsr_pl, rec_index++, in mlxsw_sp_sb_sr_occ_query_cb()
Dspectrum_router.c2445 int rec_index) in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2452 mlxsw_reg_rauhtd_ent_ipv6_unpack(rauhtd_pl, rec_index, &rif, in mlxsw_sp_router_neigh_ent_ipv6_process()
2472 int rec_index) in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2479 int rec_index) in mlxsw_sp_router_neigh_rec_ipv4_process() argument
2485 rec_index); in mlxsw_sp_router_neigh_rec_ipv4_process()
2493 ent_index = rec_index * MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC + i; in mlxsw_sp_router_neigh_rec_ipv4_process()
2502 int rec_index) in mlxsw_sp_router_neigh_rec_ipv6_process() argument
2506 rec_index); in mlxsw_sp_router_neigh_rec_ipv6_process()
2510 char *rauhtd_pl, int rec_index) in mlxsw_sp_router_neigh_rec_process() argument
2512 switch (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, rec_index)) { in mlxsw_sp_router_neigh_rec_process()
[all …]