Lines Matching full:unlikely
77 if (unlikely(!(*size))) in copy_to_scat()
99 if (unlikely(qp->wq_sig)) in mlx5_copy_to_recv_wqe()
139 if (unlikely((void *)(scat + max) > qp->sq.qend)) { in mlx5_copy_to_send_wqe()
251 if (unlikely(src == qp->sq.qend)) in mlx5_bf_copy()
290 if (unlikely(inl > qp->max_inline_data)) in set_data_inl_seg()
293 if (unlikely(wqe + len > qend)) { in set_data_inl_seg()
368 if (unlikely(wr->num_sge < 1)) { in copy_eth_inline_headers()
389 if (unlikely(inl_hdr_size)) { in copy_eth_inline_headers()
402 if (unlikely(wr->sg_list[j].length == inl_hdr_copy_size)) { in copy_eth_inline_headers()
545 if (unlikely((*seg == qend))) in set_bind_wr()
552 if (unlikely((seg == qend))) in set_bind_wr()
571 if (unlikely(wr->tso.hdr_sz < MLX5_ETH_L2_MIN_HEADER_SIZE || in set_tso_eth_seg()
600 if (unlikely(copy_sz < left)) { in set_tso_eth_seg()
643 if (unlikely(wr->opcode < 0 || in _mlx5_post_send()
651 if (unlikely(mlx5_wq_overflow(&qp->sq, nreq, in _mlx5_post_send()
659 if (unlikely(wr->num_sge > qp->sq.max_gs)) { in _mlx5_post_send()
687 if (unlikely(wr->opcode != IBV_WR_BIND_MW && in _mlx5_post_send()
708 if (unlikely(!qp->atomics_enabled)) { in _mlx5_post_send()
812 if (unlikely((seg == qend))) in _mlx5_post_send()
833 if (unlikely(err)) { in _mlx5_post_send()
839 if (unlikely(err)) { in _mlx5_post_send()
860 if (unlikely(err)) { in _mlx5_post_send()
871 if (unlikely(dpseg == qend)) { in _mlx5_post_send()
876 if (unlikely(wr->opcode == in _mlx5_post_send()
882 if (unlikely(wr->opcode == IBV_WR_TSO)) { in _mlx5_post_send()
906 if (unlikely(qp->wq_sig)) in _mlx5_post_send()
1077 if (unlikely(mlx5_wq_overflow(&rwq->rq, nreq, in mlx5_post_wq_recv()
1084 if (unlikely(wr->num_sge > rwq->rq.max_gs)) { in mlx5_post_wq_recv()
1092 if (unlikely(rwq->wq_sig)) { in mlx5_post_wq_recv()
1098 if (unlikely(!wr->sg_list[i].length)) in mlx5_post_wq_recv()
1109 if (unlikely(rwq->wq_sig)) in mlx5_post_wq_recv()
1150 if (unlikely(mlx5_wq_overflow(&qp->rq, nreq, in mlx5_post_recv()
1157 if (unlikely(wr->num_sge > qp->rq.max_gs)) { in mlx5_post_recv()
1165 if (unlikely(qp->wq_sig)) { in mlx5_post_recv()
1171 if (unlikely(!wr->sg_list[i].length)) in mlx5_post_recv()
1182 if (unlikely(qp->wq_sig)) in mlx5_post_recv()