Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_fid.c422 char sfmr_pl[MLXSW_REG_SFMR_LEN]; in mlxsw_sp_fid_op() local
427 mlxsw_reg_sfmr_pack(sfmr_pl, mlxsw_sp_sfmr_op(valid), fid->fid_index, in mlxsw_sp_fid_op()
431 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl); in mlxsw_sp_fid_op()
438 char sfmr_pl[MLXSW_REG_SFMR_LEN]; in mlxsw_sp_fid_edit_op() local
443 mlxsw_reg_sfmr_pack(sfmr_pl, MLXSW_REG_SFMR_OP_CREATE_FID, in mlxsw_sp_fid_edit_op()
448 mlxsw_reg_sfmr_vv_set(sfmr_pl, fid->vni_valid); in mlxsw_sp_fid_edit_op()
449 mlxsw_reg_sfmr_vni_set(sfmr_pl, be32_to_cpu(fid->vni)); in mlxsw_sp_fid_edit_op()
450 mlxsw_reg_sfmr_vtfp_set(sfmr_pl, fid->nve_flood_index_valid); in mlxsw_sp_fid_edit_op()
454 mlxsw_reg_sfmr_irif_v_set(sfmr_pl, true); in mlxsw_sp_fid_edit_op()
455 mlxsw_reg_sfmr_irif_set(sfmr_pl, mlxsw_sp_rif_index(rif)); in mlxsw_sp_fid_edit_op()
[all …]