Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c666 struct mlx4_qp_context *qp_ctx = inbox->buf + 8; in update_gid() local
668 u32 ts = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in update_gid()
672 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
674 qp_ctx->pri_path.mgid_index = in update_gid()
677 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid()
681 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
683 qp_ctx->pri_path.mgid_index += in update_gid()
685 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid()
687 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()
691 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()
[all …]