Home
last modified time | relevance | path

Searched refs:pmtu_pl (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dswitchib.c135 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in mlxsw_sib_port_mtu_set() local
139 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, 0); in mlxsw_sib_port_mtu_set()
140 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set()
143 max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl); in mlxsw_sib_port_mtu_set()
148 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, mtu); in mlxsw_sib_port_mtu_set()
149 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set()
H A Dswitchx2.c191 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in __mlxsw_sx_port_mtu_set() local
195 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sx_port->local_port, 0); in __mlxsw_sx_port_mtu_set()
196 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set()
199 max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl); in __mlxsw_sx_port_mtu_set()
204 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sx_port->local_port, mtu); in __mlxsw_sx_port_mtu_set()
205 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set()
H A Dspectrum.c327 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in mlxsw_sp_port_max_mtu_get() local
330 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, 0); in mlxsw_sp_port_max_mtu_get()
331 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_max_mtu_get()
335 *p_max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl); in mlxsw_sp_port_max_mtu_get()
342 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in mlxsw_sp_port_mtu_set() local
348 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, mtu); in mlxsw_sp_port_mtu_set()
349 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_mtu_set()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c409 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in mlxsw_sp_port_max_mtu_get() local
412 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, 0); in mlxsw_sp_port_max_mtu_get()
413 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_max_mtu_get()
417 *p_max_mtu = mlxsw_reg_pmtu_max_mtu_get(pmtu_pl); in mlxsw_sp_port_max_mtu_get()
424 char pmtu_pl[MLXSW_REG_PMTU_LEN]; in mlxsw_sp_port_mtu_set() local
430 mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, mtu); in mlxsw_sp_port_mtu_set()
431 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_mtu_set()

Completed in 17 milliseconds