Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c690 struct mlx4_qp_context *qp_ctx = inbox->buf + 8; in update_gid() local
692 u32 ts = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in update_gid()
696 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
698 qp_ctx->pri_path.mgid_index = in update_gid()
701 qp_ctx->pri_path.mgid_index = slave | 0x80; in update_gid()
705 port = (qp_ctx->pri_path.sched_queue >> 6 & 1) + 1; in update_gid()
707 qp_ctx->pri_path.mgid_index += in update_gid()
709 qp_ctx->pri_path.mgid_index &= 0x7f; in update_gid()
711 qp_ctx->pri_path.mgid_index = slave & 0x7F; in update_gid()
715 port = (qp_ctx->alt_path.sched_queue >> 6 & 1) + 1; in update_gid()
[all …]