All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krishnamraju Eraparaju <krishna2@chelsio.com>
To: Bernard Metzler <BMT@zurich.ibm.com>
Cc: Doug Ledford <dledford@redhat.com>, "jgg@ziepe.ca" <jgg@ziepe.ca>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	Potnuri Bharat Teja <bharat@chelsio.com>,
	Nirranjan Kirubaharan <nirranjan@chelsio.com>
Subject: Re: Re: [PATCH for-rc] siw: fix for 'is_kva' flag issue in siw_tx_hdt()
Date: Thu, 22 Aug 2019 16:20:39 +0530	[thread overview]
Message-ID: <20190822105037.GA18600@chelsio.com> (raw)
In-Reply-To: <OF1D1F6B77.321AEAB1-ON0025845D.004B601C-0025845D.004B6025@notes.na.collabserv.com>

On Wednesday, August 08/21/19, 2019 at 19:13:18 +0530, Bernard Metzler wrote:
> -----"Doug Ledford" <dledford@redhat.com> wrote: -----
> 
> >To: "Bernard Metzler" <BMT@zurich.ibm.com>, "Krishnamraju Eraparaju"
> ><krishna2@chelsio.com>
> >From: "Doug Ledford" <dledford@redhat.com>
> >Date: 08/20/2019 07:56PM
> >Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, bharat@chelsio.com,
> >nirranjan@chelsio.com
> >Subject: [EXTERNAL] Re: [PATCH for-rc] siw: fix for 'is_kva' flag
> >issue in siw_tx_hdt()
> >
> >On Mon, 2019-08-19 at 21:44 +0000, Bernard Metzler wrote:
> >> Hi Krishna,
> >> That is a good catch. I was not aware of the possibility of mixed
> >> PBL and kernel buffer addresses in one SQE.
> >> 
> >> A correct fix must also handle the un-mapping of any kmap()'d
> >> buffers. The current TX code expects all buffers be either kmap()'d
> >or
> >> all not kmap()'d. So the fix is a little more complex, if we must
> >> handle mixed SGL's during un-mapping. I think I can provide it by
> >> tomorrow. It's almost midnight ;)
> >
> >I'll wait for a proper fix.  Dropping this patch.  Thanks.
> >
> Thanks Doug!
> 
> I have a fix ready but still have to test it with iSER. 
> Unfortunately I have a hard time to test iSER with siw, since
> both iSCSI-TCP target and iSER want to bind to the same
> TCP port. While this may be considered a bug in that code,
> siw is the first RDMA provider to take notice (since using
> kernel sockets and not offloaded, hitting a TCP port
> already bound).
Not sure if this will become a serious problem when a iSCSI target
is configured to serve both iSCSI-TCP & iSER connections simultaniously.
Because, offloaded iSER CM handles all the TCP SYN packets that were
destined to iSCSI-TCP.
> 
> I sent the patch to Chelsio folks and hope for
> the best. They know the trick to make it working.
I have tested your patch, it's working fine.
> 
> Thanks
> Bernard.
> 

      reply	other threads:[~2019-08-22 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-19 11:13 [PATCH for-rc] siw: fix for 'is_kva' flag issue in siw_tx_hdt() Krishnamraju Eraparaju
2019-08-19 21:44 ` Bernard Metzler
2019-08-20 17:55   ` Doug Ledford
2019-08-21 13:43     ` Bernard Metzler
2019-08-22 10:50       ` Krishnamraju Eraparaju [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=20190822105037.GA18600@chelsio.com \
    --to=krishna2@chelsio.com \
    --cc=BMT@zurich.ibm.com \
    --cc=bharat@chelsio.com \
    --cc=dledford@redhat.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=nirranjan@chelsio.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.