Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c233 u32 in[MLX5_ST_SZ_DW(pmtu_reg)] = {0}; in mlx5_query_port_mtu()
234 u32 out[MLX5_ST_SZ_DW(pmtu_reg)]; in mlx5_query_port_mtu()
236 MLX5_SET(pmtu_reg, in, local_port, port); in mlx5_query_port_mtu()
241 *max_mtu = MLX5_GET(pmtu_reg, out, max_mtu); in mlx5_query_port_mtu()
243 *oper_mtu = MLX5_GET(pmtu_reg, out, oper_mtu); in mlx5_query_port_mtu()
245 *admin_mtu = MLX5_GET(pmtu_reg, out, admin_mtu); in mlx5_query_port_mtu()
250 u32 in[MLX5_ST_SZ_DW(pmtu_reg)] = {0}; in mlx5_set_port_mtu()
251 u32 out[MLX5_ST_SZ_DW(pmtu_reg)]; in mlx5_set_port_mtu()
253 MLX5_SET(pmtu_reg, in, admin_mtu, mtu); in mlx5_set_port_mtu()
254 MLX5_SET(pmtu_reg, in, local_port, port); in mlx5_set_port_mtu()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h10687 struct mlx5_ifc_pmtu_reg_bits pmtu_reg; member