public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Ram Amrani <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org,
	Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org,
	Michal.Kalderon-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core v2] qedr: Set immediate data sent via EDPM as is.
Date: Wed, 21 Jun 2017 09:36:08 +0300	[thread overview]
Message-ID: <20170621063608.GA1248@mtr-leonro.local> (raw)
In-Reply-To: <1498026775-7927-1-git-send-email-Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

On Wed, Jun 21, 2017 at 09:32:55AM +0300, Ram Amrani wrote:
> Enhanced Direct Packet Mode doesn't require flipping of bytes as it
> is sent directly to the transmitting HW and isn't processed by the
> FW that requires specific order.
>
> Fixes: c0965e4fe6fe ("libqedr (qelr) verbs")
>
> Signed-off-by: Ram Amrani <Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
> ---
>  providers/qedr/qelr_verbs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Please try to avoid usage of dot mark at the end of patch subject.

Thanks

>
> diff --git a/providers/qedr/qelr_verbs.c b/providers/qedr/qelr_verbs.c
> index 676b18c..68429df 100644
> --- a/providers/qedr/qelr_verbs.c
> +++ b/providers/qedr/qelr_verbs.c
> @@ -1259,7 +1259,7 @@ static int __qelr_post_send(struct qelr_devctx *cxt, struct qelr_qp *qp,
>  		swqe->wqe_size = 2;
>  		swqe2 = (struct rdma_sq_send_wqe_2st *)qelr_chain_produce(&qp->sq.chain);
>  		swqe->inv_key_or_imm_data = htobe32(htole32(wr->imm_data));
> -		qelr_edpm_set_inv_imm(qp, &edpm, swqe->inv_key_or_imm_data);
> +		qelr_edpm_set_inv_imm(qp, &edpm, wr->imm_data);
>  		qelr_prepare_sq_send_data(qp, &edpm, data_size, swqe, swqe2, wr);
>  		qelr_edpm_set_msg_data(qp, &edpm,
>  				       QELR_IB_OPCODE_SEND_ONLY_WITH_IMMEDIATE,
> @@ -1291,7 +1291,7 @@ static int __qelr_post_send(struct qelr_devctx *cxt, struct qelr_qp *qp,
>  		rwqe->imm_data = htobe32(htole32(wr->imm_data));
>  		qelr_edpm_set_rdma_ext(qp, &edpm, wr->wr.rdma.remote_addr,
>  				       wr->wr.rdma.rkey);
> -		qelr_edpm_set_inv_imm(qp, &edpm, rwqe->imm_data);
> +		qelr_edpm_set_inv_imm(qp, &edpm, wr->imm_data);
>  		rwqe2 = (struct rdma_sq_rdma_wqe_2nd *)qelr_chain_produce(&qp->sq.chain);
>  		qelr_prepare_sq_rdma_data(qp, &edpm, data_size, rwqe, rwqe2, wr);
>  		qelr_edpm_set_msg_data(qp, &edpm,
> --
> 1.8.3.1
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-06-21  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21  6:32 [PATCH rdma-core v2] qedr: Set immediate data sent via EDPM as is Ram Amrani
     [not found] ` <1498026775-7927-1-git-send-email-Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2017-06-21  6:36   ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170621063608.GA1248@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=Ariel.Elior-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=Michal.Kalderon-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=Ram.Amrani-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox