Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
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()
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()
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()