Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dport.c1286 u16 user_mtu, prev_user_mtu; in mlx4_en_set_port_user_mtu() local
1291 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 …]
Dmlx4.h489 u16 user_mtu[MLX4_MAX_PORTS + 1]; member
811 __be16 user_mtu; member
/linux-6.12.1/net/dsa/
Duser.c2080 int user_mtu; in dsa_user_change_mtu() local
2093 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()
/linux-6.12.1/include/linux/mlx4/
Ddevice.h1405 int mlx4_SET_PORT_user_mtu(struct mlx4_dev *dev, u8 port, u16 user_mtu);