Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c418 char sfmr_pl[MLXSW_REG_SFMR_LEN]; in mlxsw_sp_fid_op() local
420 mlxsw_reg_sfmr_pack(sfmr_pl, mlxsw_sp_sfmr_op(valid), fid_index, in mlxsw_sp_fid_op()
422 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl); in mlxsw_sp_fid_op()
429 char sfmr_pl[MLXSW_REG_SFMR_LEN]; in mlxsw_sp_fid_vni_op() local
431 mlxsw_reg_sfmr_pack(sfmr_pl, MLXSW_REG_SFMR_OP_CREATE_FID, fid_index, in mlxsw_sp_fid_vni_op()
433 mlxsw_reg_sfmr_vv_set(sfmr_pl, vni_valid); in mlxsw_sp_fid_vni_op()
434 mlxsw_reg_sfmr_vni_set(sfmr_pl, be32_to_cpu(vni)); in mlxsw_sp_fid_vni_op()
435 mlxsw_reg_sfmr_vtfp_set(sfmr_pl, nve_flood_index_valid); in mlxsw_sp_fid_vni_op()
436 mlxsw_reg_sfmr_nve_tunnel_flood_ptr_set(sfmr_pl, nve_flood_index); in mlxsw_sp_fid_vni_op()
437 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sfmr), sfmr_pl); in mlxsw_sp_fid_vni_op()