All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found] ` <4C62F86C.6060504-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
@ 2010-08-12  6:35   ` Or Gerlitz
       [not found]     ` <4C639635.4090704-smomgflXvOZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2010-08-12  6:35 UTC (permalink / raw)
  To: Bob Pearson; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Bob Pearson wrote:
> I was wondering if I could use this to cause ConnectX RDMAoE senders to slow down 
> in response to these packets. There is a challenge managing fast ROCE senders 
> in networks that may not fully implement per priority pause.
>   
Hi Bob,

QCN (IEEE 802.1 based Ethernet congestion control mechanism) can apply 
for IBoE traffic, in the same manner it would for FCoE, IP etc. Is there 
a specific reason you wanted to apply the IB mechanism and not use the 
Ethernet one? Yep, PFC is helpful.

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found]     ` <4C639635.4090704-smomgflXvOZWk0Htik3J/w@public.gmane.org>
@ 2010-08-16 16:23       ` Bob Pearson
       [not found]         ` <4C6965EA.2050208-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Bob Pearson @ 2010-08-16 16:23 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 08/12/2010 01:35 AM, Or Gerlitz wrote:
> Bob Pearson wrote:
>> I was wondering if I could use this to cause ConnectX RDMAoE senders 
>> to slow down in response to these packets. There is a challenge 
>> managing fast ROCE senders in networks that may not fully implement 
>> per priority pause.
> Hi Bob,
>
> QCN (IEEE 802.1 based Ethernet congestion control mechanism) can apply 
> for IBoE traffic, in the same manner it would for FCoE, IP etc. Is 
> there a specific reason you wanted to apply the IB mechanism and not 
> use the Ethernet one? Yep, PFC is helpful.
>
> Or.
>
Hi Or,

As I mentioned I did not pursue this. I was curious to see if I could 
force a ConnectX device to slow down from a remote application. But 
since the MADs have been crippled for IBOE there is no way to configure it.

Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found]         ` <4C6965EA.2050208-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
@ 2010-08-19  8:54           ` Or Gerlitz
       [not found]             ` <4C6CF139.1020405-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Or Gerlitz @ 2010-08-19  8:54 UTC (permalink / raw)
  To: Bob Pearson, Eli Cohen; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Bob Pearson wrote:
> I was curious to see if I could force a ConnectX device to slow down from a remote application.
> But since the MADs have been crippled for IBOE there is no way to configure it.

QP1 MADs are working for ConnectX, e.g the IB CM is fully functional for IBoE, and I don't think the 
mad layer was modified to emulate MADs for the CM over regular UD QP, UDP or their such, Eli, 
am I correct in that? For some reason the PMA (QP1 performance counters) service isn't exposed, but
it should be working (and helpful) as well.

Or.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found]             ` <4C6CF139.1020405-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
@ 2010-08-19  9:34               ` Eli Cohen
       [not found]                 ` <OFD964C280.7B7E4A90-ONC1257784.0038AAF8-C1257784.0039E842@ch.ibm.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Cohen @ 2010-08-19  9:34 UTC (permalink / raw)
  To: Or Gerlitz; +Cc: Bob Pearson, Eli Cohen, linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Thu, Aug 19, 2010 at 11:54:17AM +0300, Or Gerlitz wrote:
> Bob Pearson wrote:
> > I was curious to see if I could force a ConnectX device to slow down from a remote application.
> > But since the MADs have been crippled for IBOE there is no way to configure it.
> 
> QP1 MADs are working for ConnectX, e.g the IB CM is fully functional for IBoE, and I don't think the 
> mad layer was modified to emulate MADs for the CM over regular UD QP, UDP or their such, Eli, 
> am I correct in that?
Right. QP1 is supported for kernel consumers.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IBoE and congestion management
       [not found]                   ` <OFD964C280.7B7E4A90-ONC1257784.0038AAF8-C1257784.0039E842-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
@ 2010-08-19 10:41                     ` Or Gerlitz
  0 siblings, 0 replies; 8+ messages in thread
From: Or Gerlitz @ 2010-08-19 10:41 UTC (permalink / raw)
  To: Fredy Neeser; +Cc: Eli Cohen, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Bob Pearson

Fredy Neeser wrote:
> Not sure what you mean by "IB CM is fully functional for IBoE"  with 
> ConnectX.
>
The IB CM (Connection Manager) is used for the connection establishment, 
it has nothing do to with Congestion Management. I mentioned it in the 
context of IB MAD (Management Datagrams) support by IBoE. I believe that 
the RXE driver (IBoE hw emulation on regular Eth nics) emulates mads for 
the CM to work.
> Is your solution based on IB CCA?  If so, how will it interact with 
> 802.1Qau Congestion Notification?
>
I believe that IB CCA is not the correct path to go, but rather QCN 
which you've mentioned.

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found]       ` <4C616D38.7090506-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
@ 2010-08-11  7:12         ` Or Gerlitz
  0 siblings, 0 replies; 8+ messages in thread
From: Or Gerlitz @ 2010-08-11  7:12 UTC (permalink / raw)
  To: Bob Pearson, Paul Grun; +Cc: Hefty, Sean, linux-rdma-u79uwXL29TY76Z2rM5mHXA

Bob Pearson wrote:
> My interest is supporting the rxe driver, a software implementation of
> the IB transport over Ethernet, [...] I spent a little time looking at
> trying to exploit congestion notification to see if it would bu useful in this context.

Hi Bob,

As the IB congestion control / notification has the part of the IB switches marking 
packets with FECNs, I don't see how does IB CCA fits into IBoE scheme, Paul?

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
       [not found]   ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25A954BCAF-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2010-08-10 15:16     ` Bob Pearson
       [not found]       ` <4C616D38.7090506-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Bob Pearson @ 2010-08-10 15:16 UTC (permalink / raw)
  To: Hefty, Sean; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 08/09/2010 06:36 PM, Hefty, Sean wrote:
>> Several new opcodes have been added since the last time ib_pack.h was
>> updated.
>> These changes add them.
>>      
> Will anything make use of these?
>
>    
>> diff --git a/include/rdma/ib_pack.h b/include/rdma/ib_pack.h
>> index cbb50f4..df10acc 100644
>> --- a/include/rdma/ib_pack.h
>> +++ b/include/rdma/ib_pack.h
>> @@ -73,8 +73,11 @@ enum {
>>          IB_OPCODE_UC                                = 0x20,
>>          IB_OPCODE_RD                                = 0x40,
>>          IB_OPCODE_UD                                = 0x60,
>> +       IB_OPCODE_CN                                = 0x80,
>> +       IB_OPCODE_XRC                               = 0xA0,
>>      
> The XRC and RD values all look correct, but I must have fallen asleep and missed something.  What's CN
>    
> - Sean
>
>    

Or also asked this question. Thanks to both of you.

CN is (backwards) congestion notification. It has a single opcode and 
caries no payload. It is described in an annex in IBA Vol 1.
I started adding the opcodes for send_xxx_with_invalidate but figured we 
may as well capture all of them.
My interest is supporting the rxe driver, a software implementation of 
the IB transport over Ethernet, and we have
looked at supporting xrc as an option, and I spent a little time looking 
at trying to exploit congestion notification to see if it
would bu useful in this context.

Bob Pearson

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH v2] rdma/ib_pack.h: add new bth opcodes
  2010-08-09  5:39 FW: [PATCH v2] rdma/ib_pack.h: add new bth opcodes Robert Pearson
@ 2010-08-09 23:36 ` Hefty, Sean
       [not found]   ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25A954BCAF-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Hefty, Sean @ 2010-08-09 23:36 UTC (permalink / raw)
  To: Robert Pearson, linux-rdma-u79uwXL29TY76Z2rM5mHXA

> Several new opcodes have been added since the last time ib_pack.h was
> updated.
> These changes add them.

Will anything make use of these?

> diff --git a/include/rdma/ib_pack.h b/include/rdma/ib_pack.h
> index cbb50f4..df10acc 100644
> --- a/include/rdma/ib_pack.h
> +++ b/include/rdma/ib_pack.h
> @@ -73,8 +73,11 @@ enum {
>         IB_OPCODE_UC                                = 0x20,
>         IB_OPCODE_RD                                = 0x40,
>         IB_OPCODE_UD                                = 0x60,
> +       IB_OPCODE_CN                                = 0x80,
> +       IB_OPCODE_XRC                               = 0xA0,

The XRC and RD values all look correct, but I must have fallen asleep and missed something.  What's CN?

- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-19 10:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4C62F86C.6060504@systemfabricworks.com>
     [not found] ` <4C62F86C.6060504-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2010-08-12  6:35   ` [PATCH v2] rdma/ib_pack.h: add new bth opcodes Or Gerlitz
     [not found]     ` <4C639635.4090704-smomgflXvOZWk0Htik3J/w@public.gmane.org>
2010-08-16 16:23       ` Bob Pearson
     [not found]         ` <4C6965EA.2050208-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2010-08-19  8:54           ` Or Gerlitz
     [not found]             ` <4C6CF139.1020405-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org>
2010-08-19  9:34               ` Eli Cohen
     [not found]                 ` <OFD964C280.7B7E4A90-ONC1257784.0038AAF8-C1257784.0039E842@ch.ibm.com>
     [not found]                   ` <OFD964C280.7B7E4A90-ONC1257784.0038AAF8-C1257784.0039E842-Xeyd2O9EBijQT0dZR+AlfA@public.gmane.org>
2010-08-19 10:41                     ` IBoE and congestion management Or Gerlitz
2010-08-09  5:39 FW: [PATCH v2] rdma/ib_pack.h: add new bth opcodes Robert Pearson
2010-08-09 23:36 ` Hefty, Sean
     [not found]   ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25A954BCAF-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-08-10 15:16     ` Bob Pearson
     [not found]       ` <4C616D38.7090506-klaOcWyJdxkshyMvu7JE4pqQE7yCjDx5@public.gmane.org>
2010-08-11  7:12         ` Or Gerlitz

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.