Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h379 static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, in mlxsw_reg_sfd_uc_pack() argument
387 if (rec_index >= num_rec) in mlxsw_reg_sfd_uc_pack()
388 mlxsw_reg_sfd_num_rec_set(payload, rec_index + 1); in mlxsw_reg_sfd_uc_pack()
389 mlxsw_reg_sfd_rec_swid_set(payload, rec_index, 0); in mlxsw_reg_sfd_uc_pack()
390 mlxsw_reg_sfd_rec_type_set(payload, rec_index, in mlxsw_reg_sfd_uc_pack()
392 mlxsw_reg_sfd_rec_policy_set(payload, rec_index, policy); in mlxsw_reg_sfd_uc_pack()
393 mlxsw_reg_sfd_rec_mac_memcpy_to(payload, rec_index, mac); in mlxsw_reg_sfd_uc_pack()
394 mlxsw_reg_sfd_uc_sub_port_set(payload, rec_index, 0); in mlxsw_reg_sfd_uc_pack()
395 mlxsw_reg_sfd_uc_fid_vid_set(payload, rec_index, vid); in mlxsw_reg_sfd_uc_pack()
396 mlxsw_reg_sfd_rec_action_set(payload, rec_index, action); in mlxsw_reg_sfd_uc_pack()
[all …]
Dspectrum_switchdev.c750 char *sfn_pl, int rec_index, in mlxsw_sp_fdb_notify_mac_process() argument
759 mlxsw_reg_sfn_mac_unpack(sfn_pl, rec_index, mac, &vid, &local_port); in mlxsw_sp_fdb_notify_mac_process()
787 char *sfn_pl, int rec_index) in mlxsw_sp_fdb_notify_rec_process() argument
789 switch (mlxsw_reg_sfn_rec_type_get(sfn_pl, rec_index)) { in mlxsw_sp_fdb_notify_rec_process()
792 rec_index, true); in mlxsw_sp_fdb_notify_rec_process()
796 rec_index, false); in mlxsw_sp_fdb_notify_rec_process()