Lines Matching refs:sfn_pl
750 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()
791 mlxsw_sp_fdb_notify_mac_process(mlxsw_sp, sfn_pl, in mlxsw_sp_fdb_notify_rec_process()
795 mlxsw_sp_fdb_notify_mac_process(mlxsw_sp, sfn_pl, in mlxsw_sp_fdb_notify_rec_process()
810 char *sfn_pl; in mlxsw_sp_fdb_notify_work() local
815 sfn_pl = kmalloc(MLXSW_REG_SFN_LEN, GFP_KERNEL); in mlxsw_sp_fdb_notify_work()
816 if (!sfn_pl) in mlxsw_sp_fdb_notify_work()
823 mlxsw_reg_sfn_pack(sfn_pl); in mlxsw_sp_fdb_notify_work()
824 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(sfn), sfn_pl); in mlxsw_sp_fdb_notify_work()
829 num_rec = mlxsw_reg_sfn_num_rec_get(sfn_pl); in mlxsw_sp_fdb_notify_work()
831 mlxsw_sp_fdb_notify_rec_process(mlxsw_sp, sfn_pl, i); in mlxsw_sp_fdb_notify_work()
836 kfree(sfn_pl); in mlxsw_sp_fdb_notify_work()