Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622958 > unrolled thread
| Started by | Johannes Thumshirn <jthumshirn@suse.de> |
|---|---|
| First post | 2017-04-13 14:10 +0200 |
| Last post | 2017-04-13 14:30 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] IB/rxe: Don't clamp residual length to mtu Johannes Thumshirn <jthumshirn@suse.de> - 2017-04-13 14:10 +0200
Re: [PATCH] IB/rxe: Don't clamp residual length to mtu Leon Romanovsky <leon@kernel.org> - 2017-04-13 14:30 +0200
Re: [PATCH] IB/rxe: Don't clamp residual length to mtu Johannes Thumshirn <jthumshirn@suse.de> - 2017-04-13 14:30 +0200
| From | Johannes Thumshirn <jthumshirn@suse.de> |
|---|---|
| Date | 2017-04-13 14:10 +0200 |
| Subject | Re: [PATCH] IB/rxe: Don't clamp residual length to mtu |
| Message-ID | <tvLJw-2Oy-11@gated-at.bofh.it> |
On Thu, Apr 06, 2017 at 02:49:44PM +0200, Johannes Thumshirn wrote: > When reading a RDMA WRITE FIRST packet we copy the DMA length from the RDMA > header into the qp->resp.resid variable for later use. Later in check_rkey() > we clamp it to the MTU if the packet is an RDMA WRITE packet and has a > residual length bigger than the MTU. Later in write_data_in() we subtract the > payload of the packet from the residual length. If the packet happens to have a > payload of exactly the MTU size we end up with a residual length of 0 despite > the packet not being the last in the conversation. When the next packet in the > conversation arrives, we don't have any residual length left and thus set the QP Hi Moni, Sagi and Max, Any comments on this? Thanks, Johannes -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
[toc] | [next] | [standalone]
| From | Leon Romanovsky <leon@kernel.org> |
|---|---|
| Date | 2017-04-13 14:30 +0200 |
| Message-ID | <tvM2R-2Wl-11@gated-at.bofh.it> |
| In reply to | #1622958 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Apr 13, 2017 at 02:00:00PM +0200, Johannes Thumshirn wrote: > On Thu, Apr 06, 2017 at 02:49:44PM +0200, Johannes Thumshirn wrote: > > When reading a RDMA WRITE FIRST packet we copy the DMA length from the RDMA > > header into the qp->resp.resid variable for later use. Later in check_rkey() > > we clamp it to the MTU if the packet is an RDMA WRITE packet and has a > > residual length bigger than the MTU. Later in write_data_in() we subtract the > > payload of the packet from the residual length. If the packet happens to have a > > payload of exactly the MTU size we end up with a residual length of 0 despite > > the packet not being the last in the conversation. When the next packet in the > > conversation arrives, we don't have any residual length left and thus set the QP > > Hi Moni, Sagi and Max, > > Any comments on this? Hi, I'm sorry, it looks like this patch failed on the floor. We have Passover vacation these days and many people are OOO now. But anyway, I'll remind to Moni. Thanks > > Thanks, > Johannes > > -- > Johannes Thumshirn Storage > jthumshirn@suse.de +49 911 74053 689 > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg > GF: Felix Imendörffer, Jane Smithard, Graham Norton > HRB 21284 (AG Nürnberg) > Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850 > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
[toc] | [prev] | [next] | [standalone]
| From | Johannes Thumshirn <jthumshirn@suse.de> |
|---|---|
| Date | 2017-04-13 14:30 +0200 |
| Message-ID | <tvM2R-2Wl-13@gated-at.bofh.it> |
| In reply to | #1622980 |
On Thu, Apr 13, 2017 at 03:22:00PM +0300, Leon Romanovsky wrote: > On Thu, Apr 13, 2017 at 02:00:00PM +0200, Johannes Thumshirn wrote: > > On Thu, Apr 06, 2017 at 02:49:44PM +0200, Johannes Thumshirn wrote: > > > When reading a RDMA WRITE FIRST packet we copy the DMA length from the RDMA > > > header into the qp->resp.resid variable for later use. Later in check_rkey() > > > we clamp it to the MTU if the packet is an RDMA WRITE packet and has a > > > residual length bigger than the MTU. Later in write_data_in() we subtract the > > > payload of the packet from the residual length. If the packet happens to have a > > > payload of exactly the MTU size we end up with a residual length of 0 despite > > > the packet not being the last in the conversation. When the next packet in the > > > conversation arrives, we don't have any residual length left and thus set the QP > > > > Hi Moni, Sagi and Max, > > > > Any comments on this? > > Hi, > > I'm sorry, it looks like this patch failed on the floor. We have > Passover vacation these days and many people are OOO now. > > But anyway, I'll remind to Moni. Ok, thanks and happy Passover then. -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web