Searched refs:qport_context (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c74 struct mlx4_en_query_port_context *qport_context; mlx4_en_QUERY_PORT() local
88 qport_context = mailbox->buf; mlx4_en_QUERY_PORT()
92 state->link_state = !!(qport_context->link_up & MLX4_EN_LINK_UP_MASK); mlx4_en_QUERY_PORT()
93 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) { mlx4_en_QUERY_PORT()
118 state->transceiver = qport_context->transceiver; mlx4_en_QUERY_PORT()
121 state->flags |= (qport_context->link_up & MLX4_EN_ANC_MASK) ? mlx4_en_QUERY_PORT()
123 state->flags |= (qport_context->autoneg & MLX4_EN_AUTONEG_MASK) ? mlx4_en_QUERY_PORT()

Completed in 96 milliseconds