Home
last modified time | relevance | path

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

/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.h487 u16 user_mtu[MLX4_MAX_PORTS + 1]; member
809 __be16 user_mtu; member