Searched refs:user_mtu (Results 1 – 4 of 4) sorted by relevance
1286 u16 user_mtu, prev_user_mtu; in mlx4_en_set_port_user_mtu() local1291 user_mtu = be16_to_cpu(gen_context->user_mtu); in mlx4_en_set_port_user_mtu()1292 user_mtu = min_t(int, user_mtu, dev->caps.eth_mtu_cap[port]); in mlx4_en_set_port_user_mtu()1293 prev_user_mtu = slave_st->user_mtu[port]; in mlx4_en_set_port_user_mtu()1294 slave_st->user_mtu[port] = user_mtu; in mlx4_en_set_port_user_mtu()1295 if (user_mtu > master->max_user_mtu[port]) in mlx4_en_set_port_user_mtu()1296 master->max_user_mtu[port] = user_mtu; in mlx4_en_set_port_user_mtu()1297 if (user_mtu < prev_user_mtu && in mlx4_en_set_port_user_mtu()1301 slave_st->user_mtu[port] = user_mtu; in mlx4_en_set_port_user_mtu()1302 master->max_user_mtu[port] = user_mtu; in mlx4_en_set_port_user_mtu()[all …]
489 u16 user_mtu[MLX4_MAX_PORTS + 1]; member811 __be16 user_mtu; member
2080 int user_mtu; in dsa_user_change_mtu() local2093 user_mtu = new_mtu; in dsa_user_change_mtu()2095 user_mtu = other_dp->user->mtu; in dsa_user_change_mtu()2097 if (largest_mtu < user_mtu) in dsa_user_change_mtu()2098 largest_mtu = user_mtu; in dsa_user_change_mtu()
1405 int mlx4_SET_PORT_user_mtu(struct mlx4_dev *dev, u8 port, u16 user_mtu);