[PATCH 2.6.21 2/6] iw_cxgb3: Move QP to error on destroy if the state is IDLE.

2007-03-01 Thread Steve Wise
Move QP to error on destroy if the state is IDLE. Change iwch_destroy_qp() to always move the QP to ERROR and let iwch_modify_qp() decide what to do. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_provider.c |6 ++ 1 files changed, 2 inse

[PATCH 2.6.21 6/6] iw_cxgb3: Fix MR permission problems.

2007-03-01 Thread Steve Wise
to utilize the new functions. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 24 +++- drivers/infiniband/hw/cxgb3/iwch_provider.h | 33 +++ drivers/infiniband/hw/cxgb3/iwch_qp.c |2 +- 3

[PATCH 2.6.21 3/6] iw_cxgb3: Stop the endpoint timer when the MPA exchange is aborted by the peer.

2007-03-01 Thread Steve Wise
Stop the endpoint timer when the MPA exchange is aborted by the peer. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infinib

[PATCH 2.6.21 5/6] iw_cxgb3: Don't reuse skbuffs that are non-linear or cloned.

2007-03-01 Thread Steve Wise
Don't reuse skbuffs that are non-linear or cloned. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb

[PATCH 2.6.21 1/6] iw_cxgb3: Fixes for "normal close" failures.

2007-03-01 Thread Steve Wise
Fixes for "normal close" failures. - Start normal close timer when moving to CLOSING state. - Handle ABORTING state in close_con_rpl(). - Stop timer correctly on abort during a normal close. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/

[PATCH 2.6.21 0/6] iw_cxgb3: Bug Fixes

2007-03-01 Thread Steve Wise
Hey Roland, Here is a set of bug fixes for iw_cxgb3 that I'd like to roll into 2.6.21. Thanks, Steve. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 7/7] cxgb3 - Add SW LRO support

2007-02-27 Thread Steve Wise
On Tue, 2007-02-27 at 09:53 -0500, Jeff Garzik wrote: > Steve Wise wrote: > > On Mon, 2007-02-26 at 05:13 +, Christoph Hellwig wrote: > >> On Sat, Feb 24, 2007 at 04:44:23PM -0800, [EMAIL PROTECTED] wrote: > >>> From: Divy Le Ray <[EMAIL PROTECTED]> &

Re: [PATCH 7/7] cxgb3 - Add SW LRO support

2007-02-27 Thread Steve Wise
On Mon, 2007-02-26 at 05:13 +, Christoph Hellwig wrote: > On Sat, Feb 24, 2007 at 04:44:23PM -0800, [EMAIL PROTECTED] wrote: > > From: Divy Le Ray <[EMAIL PROTECTED]> > > > > Add all-in-sw lro support. > > Doing this in a LLDD doesn't sound like a good idea. Have you > tried doing this in th

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Steve Wise
> I would rather fix the code to use constants, and thus avoid this > problem ever happening again. > > Jeff > How's this (not tested)? --- drivers/net/cxgb3/t3_hw.c |6 -- drivers/net/cxgb3/version.h |2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Steve Wise
Hey Divy, You missed a printk change. Here is an updated patch. Update FW version to 3.2 Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/net/cxgb3/t3_hw.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/cxgb3/t3_hw.c b/d

Re: [PATCH 0/7] cxgb3 - Chelsio T3 1G/10G driver updates

2007-02-22 Thread Steve Wise
Divy, Do these need to be pulled into OFED 1.2 as well? Steve. On Thu, 2007-02-22 at 03:58 -0800, Divy Le Ray wrote: > Jeff, > > I'm sending a series of incremental patches updating > the cxgb3 driver. These patches are built against Linus'git tree. > > Cheers, > Divy > - > To unsubscribe fro

[PATCH 2.6.21] iw_cxgb3: Stop the EP Timer on BAD CLOSE.

2007-02-21 Thread Steve Wise
Stop the ep timer in ec_status() if the status indicates a bad close. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infinib

[PATCH] iw_cxgb3 Fix copyrights in the iw_cxgb3 driver.

2007-02-15 Thread Steve Wise
Fix copyrights in the iw_cxgb3 driver. Remove the Open Grid Computing copyright. It shouldn't be there. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/cxio_dbg.c |1 - drivers/infiniband/hw/cxgb3/cxio_hal.c |1 - drivers/infiniba

[PATCH] cxgb3 Fix copyrights in the cxgb3 driver.

2007-02-15 Thread Steve Wise
Fix copyrights in the cxgb3 driver. Remove the Open Grid Computing copyright. It shouldn't be there. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_defs.h|1 - drivers/net/cxgb3/cxgb3_offload.c |1 - drivers/net/cxgb3/cxgb3_offload.h |1

[PATCH] 2.6.21 iw_cxgb3 Fail posts synchronously when in TERMINATE state.

2007-02-15 Thread Steve Wise
From: Steve Wise <[EMAIL PROTECTED]> Fail posts synchronously when in TERMINATE state. For T3B devices, mark user qp in error once we transition to TERMINATE. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_qp.c |2 ++ 1 files changed, 2 inse

Re: [Fwd: Re: [PATCH 1/10] cxgb3 - main header files]

2007-02-02 Thread Steve Wise
On Thu, 2007-02-01 at 20:48 -0800, Roland Dreier wrote: > > Have you had a chance to review this? > > Still on my list. > > Can we trade? Can you look at the IPoIB connected mode stuff in the > ipoib-cm branch in > > git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git > >

Re: [Fwd: Re: [PATCH 1/10] cxgb3 - main header files]

2007-02-01 Thread Steve Wise
On Fri, 2007-01-19 at 09:07 -0800, Roland Dreier wrote: > > Jeff has pulled in the Chelsio Ethernet driver. If you are ready to > > merge in the RDMA driver, you can pull it from > > Yes, I saw that... OK, I'll get serious about reviewing the RDMA stuff. Hey Roland, Have you had a chance to

[Fwd: Re: [PATCH 1/10] cxgb3 - main header files]

2007-01-19 Thread Steve Wise
Hey Roland, Jeff has pulled in the Chelsio Ethernet driver. If you are ready to merge in the RDMA driver, you can pull it from git://staging.openfabrics.org/~swise/cxgb3.git for-roland Thanks, Steve. Forwarded Message From: Jeff Garzik <[EMAIL PROTECTED]> To: Divy Le Ray

Re: [openib-general] [PATCH 1/10] cxgb3 - main header files

2007-01-09 Thread Steve Wise
iewing purposes. commit e6053f2aee764b21e28cbb19f52995cb413cf733 Author: Steve Wise <[EMAIL PROTECTED]> Date: Tue Jan 9 13:06:13 2007 -0600 Chelsio-specific solution for copying in the user cq_index. - at cq_create time, user lib passes in the address of its cq rptr u32. - kernel saves this address in t

Re: [PATCH 1/10] cxgb3 - main header files

2007-01-09 Thread Steve Wise
On Tue, 2007-01-09 at 15:57 +0200, Michael S. Tsirkin wrote: > > We also need to decide on the ib_req_notify_cq() issue. > > Let's clarify - do you oppose doing copy_from_user from a fixed > address passed in during setup? > So far its been you and I arguing over this issue. Before I go imple

Re: [PATCH 1/10] cxgb3 - main header files

2007-01-09 Thread Steve Wise
Roland, The T3 Ethernet driver is queued for inclusion into Jeff's tree. How do you want to merge in the RDMA driver? I can give you a single monolithic patch if you want. We also need to decide on the ib_req_notify_cq() issue. Steve. On Tue, 2007-01-09 at 05:28 -0500, Jeff Garzik wr

RE: [openib-general] [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-05 Thread Steve Wise
On Fri, 2007-01-05 at 09:32 -0800, Felix Marti wrote: > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:openib-general- > > [EMAIL PROTECTED] On Behalf Of Steve Wise > > Sent: Friday, January 05, 2007 6:22 AM > > To: Roland Dreier > > C

Re: [openib-general] [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-05 Thread Steve Wise
On Thu, 2007-01-04 at 13:34 -0800, Roland Dreier wrote: > OK, I'm back from vacation today. > > Anyway I don't have a definitive statement on this right now. I guess > I agree that I don't like having an extra parameter to a function that > should be pretty fast (although req notify isn't quite a

Re: [openib-general] [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-04 Thread Steve Wise
On Thu, 2007-01-04 at 13:34 -0800, Roland Dreier wrote: > OK, I'm back from vacation today. > > Anyway I don't have a definitive statement on this right now. I guess > I agree that I don't like having an extra parameter to a function that > should be pretty fast (although req notify isn't quite a

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-04 Thread Steve Wise
On Thu, 2007-01-04 at 07:07 +0200, Michael S. Tsirkin wrote: > > If you think I should not add the udata parameter to the req_notify_cq() > > provider verb, then I can rework the chelsio driver: > > > > 1) at cq creation time, pass the virtual address of the u32 used by the > > library to track th

Re: [openib-general] [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
> > > > So what does this tell you? > > To me it looks like there's a measurable speed difference, > > and so we should find a way (e.g. what I proposed) to enable chelsio > > userspace > > without adding overhead to other low level drivers or indeed chelsio kernel > > level code. > > > > What

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
On Wed, 2007-01-03 at 21:33 +0200, Michael S. Tsirkin wrote: > > Without extra param (1000 iterations in cycles): > > ave 101.283 min 91 max 247 > > With extra param (1000 iterations in cycles): > > ave 103.311 min 91 max 221 > > A 2% hit then. Not huge, but 0 either. > > > Convert cycle

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
> > > > ib_set_cq_udata() would transition into the kernel to pass in the > > > > consumer's index. In addition, ib_req_notify_cq would also transition > > > > into the kernel since its not a bypass function for chelsio. > > > > > > We misunderstand each other. > > > > > > ib_uverbs_req_notify_c

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
On Wed, 2007-01-03 at 17:00 +0200, Michael S. Tsirkin wrote: > > > > > > No, it won't need 2 transitions - just an extra function call, > > > so it won't hurt performance - it would improve performance. > > > > > > ib_uverbs_req_notify_cq would call > > > > > > ib_uverbs_req_notify_cq() > > >

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
On Wed, 2007-01-03 at 17:02 +0200, Michael S. Tsirkin wrote: > > I've run this code with mthca and didn't notice any performance > > degradation, but I wasn't specifically measuring cq_poll overhead in a > > tight loop... > > We were speaking about ib_req_notify_cq here, actually, not cq poll. > S

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
> > > > > > It seems all Chelsio needs is to pass in a consumer index - so, how about > > > a new > > > entry point? Something like void set_cq_udata(struct ib_cq *cq, struct > > > ib_udata *udata)? > > > > > > > Adding a new entry point would hurt chelsio's user mode performance if > > if the

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2007-01-03 Thread Steve Wise
> > @@ -1373,7 +1374,7 @@ int ib_peek_cq(struct ib_cq *cq, int wc_ > > static inline int ib_req_notify_cq(struct ib_cq *cq, > >enum ib_cq_notify cq_notify) > > { > > - return cq->device->req_notify_cq(cq, cq_notify); > > + return cq->device->req_notify_cq(cq, c

[PATCH v5 13/13] iw_cxgb3 Kconfig/Makefile

2006-12-20 Thread Steve Wise
Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + drivers/infiniband/hw/cxgb3/Kconfig | 27 +++ drivers/infiniband/hw/cxgb3/Makefile | 12 4 files chang

[PATCH v5 12/13] iw_cxgb3 Core Debug functions

2006-12-20 Thread Steve Wise
Debug code to dump various data structs, some of which are in adapter memory. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_dbg.c | 205 +++ 1 files changed, 205 insertions(+), 0 deletions(-) diff --git a/drivers/infi

[PATCH v5 11/13] iw_cxgb3 Core Resource Allocation

2006-12-20 Thread Steve Wise
Core functions to carve up adapter memory, stag, qp, and cq IDs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_resource.c | 331 ++ drivers/infiniband/hw/cxgb3/core/cxio_resource.h | 70 + 2 files changed, 401 inse

[PATCH v5 10/13] iw_cxgb3 Core HAL

2006-12-20 Thread Steve Wise
The RDMA Core interfaces with the T3 HW and ULLD providing a low level RDMA interface. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_hal.c | 1302 +++ drivers/infiniband/hw/cxgb3/core/cxio_hal.h | 201 2 files c

[PATCH v5 09/13] iw_cxgb3 Core WQE/CQE Types

2006-12-20 Thread Steve Wise
T3 WQE and CQE structures, defines, etc... Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_wr.h | 685 1 files changed, 685 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/core/cxio_wr.h b/d

[PATCH v5 08/13] iw_cxgb3 Memory Registration

2006-12-20 Thread Steve Wise
Functions to register memory regions. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_mem.c | 170 1 files changed, 170 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_mem.c b/drivers/infi

[PATCH v5 06/13] iw_cxgb3 Completion Queues

2006-12-20 Thread Steve Wise
Functions to manipulate CQs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cq.c | 231 + 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cq.c b/drivers/infiniband/hw

[PATCH v5 07/13] iw_cxgb3 Async Event Handler

2006-12-20 Thread Steve Wise
Code to handle async events coming from the T3 RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_ev.c | 231 + 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_e

[PATCH v5 05/13] iw_cxgb3 Queue Pairs

2006-12-20 Thread Steve Wise
Code to manipulate the QP. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_qp.c | 1007 + 1 files changed, 1007 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw

[PATCH v5 03/13] iw_cxgb3 Provider Methods and Data Structures

2006-12-20 Thread Steve Wise
Provider methods to support the Linux RDMA verbs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 1171 +++ drivers/infiniband/hw/cxgb3/iwch_provider.h | 363 drivers/infiniband/hw/cxgb3/iwch_user.h

[PATCH v5 02/13] iw_cxgb3 Device Discovery and ULLD Linkage

2006-12-20 Thread Steve Wise
Code to discover all the T3 devices and register them with the T3 RDMA Core and the Linux RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch.c | 189 drivers/infiniband/hw/cxgb3/iwch.h

[PATCH v5 01/13] iw_cxgb3 Linux RDMA Core Changes

2006-12-20 Thread Steve Wise
Support provider-specific data in ib_uverbs_cmd_req_notify_cq(). The Chelsio iwarp provider library needs to pass information to the kernel verb for re-arming the CQ. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/core/uverbs_cmd.c |9 +++-- d

[PATCH v5 00/13] iw_cxgb3 - Chelsio T3 RDMA Driver

2006-12-20 Thread Steve Wise
Roland, I think this is ready to go once the ethernet driver is pulled in by Jeff. Also: I'm gone after today returning Wednesday Jan 3rd. I'll address any new issues when I return. Cheers! Steve. Version 5 changes: - BugFix: fixed broken endpoint state serialization - Merged up

Re: [PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-12-15 Thread Steve Wise
On Fri, 2006-12-15 at 12:06 -0500, Jeff Garzik wrote: > Steve Wise wrote: > > Hey Jeff, > > > > Is this driver in your queue for merging? The Chelsio T3 RDMA driver > > that depends on the T3 Ethernet driver is also ready to be merged. > > > > I was just

Re: [PATCH 0/10] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-12-15 Thread Steve Wise
Hey Jeff, Is this driver in your queue for merging? The Chelsio T3 RDMA driver that depends on the T3 Ethernet driver is also ready to be merged. I was just wondering if its in queue, or if there is something else we need to do. Thanks, Steve. On Wed, 2006-12-13 at 21:40 -0800, Divy Le Ray w

[PATCH v4 11/13] Core Resource Allocation

2006-12-14 Thread Steve Wise
Core functions to carve up adapter memory, stag, qp, and cq IDs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_resource.c | 331 ++ drivers/infiniband/hw/cxgb3/core/cxio_resource.h | 70 + 2 files changed, 401 inse

[PATCH v4 12/13] Core Debug functions

2006-12-14 Thread Steve Wise
Debug code to dump various data structs, some of which are in adapter memory. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_dbg.c | 205 +++ 1 files changed, 205 insertions(+), 0 deletions(-) diff --git a/drivers/infi

[PATCH v4 01/13] Linux RDMA Core Changes

2006-12-14 Thread Steve Wise
Support provider-specific data in ib_uverbs_cmd_req_notify_cq(). The Chelsio iwarp provider library needs to pass information to the kernel verb for re-arming the CQ. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/core/uverbs_cmd.c |9 +++-- d

[PATCH v4 10/13] Core HAL

2006-12-14 Thread Steve Wise
The RDMA Core interfaces with the T3 HW and ULLD providing a low level RDMA interface. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_hal.c | 1302 +++ drivers/infiniband/hw/cxgb3/core/cxio_hal.h | 201 2 files c

[PATCH v4 07/13] Async Event Handler

2006-12-14 Thread Steve Wise
Code to handle async events coming from the T3 RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_ev.c | 231 + 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_e

[PATCH v4 05/13] Queue Pairs

2006-12-14 Thread Steve Wise
Code to manipulate the QP. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_qp.c | 1007 + 1 files changed, 1007 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw

[PATCH v4 13/13] Kconfig/Makefile

2006-12-14 Thread Steve Wise
Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + drivers/infiniband/hw/cxgb3/Kconfig | 27 +++ drivers/infiniband/hw/cxgb3/Makefile | 12 4 files chang

[PATCH v4 02/13] Device Discovery and ULLD Linkage

2006-12-14 Thread Steve Wise
Code to discover all the T3 devices and register them with the T3 RDMA Core and the Linux RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch.c | 189 drivers/infiniband/hw/cxgb3/iwch.h

[PATCH v4 09/13] Core WQE/CQE Types

2006-12-14 Thread Steve Wise
T3 WQE and CQE structures, defines, etc... Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_wr.h | 685 1 files changed, 685 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/core/cxio_wr.h b/d

[PATCH v4 03/13] Provider Methods and Data Structures

2006-12-14 Thread Steve Wise
Provider methods to support the Linux RDMA verbs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 1171 +++ drivers/infiniband/hw/cxgb3/iwch_provider.h | 363 drivers/infiniband/hw/cxgb3/iwch_user.h

[PATCH v4 08/13] Memory Registration

2006-12-14 Thread Steve Wise
Functions to register memory regions. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_mem.c | 170 1 files changed, 170 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_mem.c b/drivers/infi

[PATCH v4 00/13] 2.6.20 Chelsio T3 RDMA Driver

2006-12-14 Thread Steve Wise
Roland, I think this is ready to go once the ethernet driver is pulled in. Version 4 changes: - Cleaned up spacing in the Kconfig file - Remove locking.txt file - its not needed - Remove -O1 from the debug config option - BugFix: support new LLD interface for dual-port adapters Version 3 chan

[PATCH v4 06/13] Completion Queues

2006-12-14 Thread Steve Wise
Functions to manipulate CQs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cq.c | 231 + 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cq.c b/drivers/infiniband/hw

Re: [PATCH v3 00/13] 2.6.20 Chelsio T3 RDMA Driver

2006-12-11 Thread Steve Wise
On Sun, 2006-12-10 at 20:02 -0800, Roland Dreier wrote: > I haven't seen any evidence of the corresponding ethernet NIC driver > being merged for 2.6.20 (which is a prerequisite, right). > > What's the status of that? > It is on its third or fourth round of review. The last driver posted on 12/

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 20:26 +0300, Evgeniy Polyakov wrote: > On Tue, Dec 05, 2006 at 10:47:25AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > > And if there were a dataflow between addr/port a.b to addr/port c.d > > > already, it will either terminated? > > >

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 19:31 +0300, Evgeniy Polyakov wrote: > On Tue, Dec 05, 2006 at 10:12:42AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > Ah. Data from an offloaded connection cannot leak into the main stack > > nor vice-verse. We can take an active RDMA connectio

Re: [openib-general] [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 10:02 -0600, Steve Wise wrote: > On Tue, 2006-12-05 at 11:45 +0100, Brice Goglin wrote: > > Steve Wise wrote: > > > There is no SW TCP stack in this driver. The HW supports RDMA over > > > TCP/IP/10GbE in HW and this is required for zero-copy RD

Re: [openib-general] [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 10:12 -0600, Steve Wise wrote: > On Tue, 2006-12-05 at 18:59 +0300, Evgeniy Polyakov wrote: > > On Tue, Dec 05, 2006 at 09:39:58AM -0600, Steve Wise ([EMAIL PROTECTED]) > > wrote: > > > > Phrases like "MPA-aware TCP" rises a lot of qu

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 18:59 +0300, Evgeniy Polyakov wrote: > On Tue, Dec 05, 2006 at 09:39:58AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > > Phrases like "MPA-aware TCP" rises a lot of questions - briefly saying > > > that hardware (even if it is call

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 11:45 +0100, Brice Goglin wrote: > Steve Wise wrote: > > There is no SW TCP stack in this driver. The HW supports RDMA over > > TCP/IP/10GbE in HW and this is required for zero-copy RDMA over Ethernet > > (aka iWARP). The device is a 10 GbE device, not

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 18:27 +0300, Evgeniy Polyakov wrote: > On Tue, Dec 05, 2006 at 09:14:36AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > Chelsio doesn't implement TCP stack in the driver. Just like Ammasso, > > it sends messages to the HW to setup connec

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 18:19 +0300, Evgeniy Polyakov wrote: > On Tue, Dec 05, 2006 at 09:02:05AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > > > > This and a lot of other changes in this driver definitely says you > > > > > implement your own sta

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Mon, 2006-12-04 at 21:27 -0800, Roland Dreier wrote: > > So will each new NIC implement some parts of TCP stack in theirs drivers? > > I hope not. The driver we merged (amso1100) did it completely in FW, > with a separate MAC and IP interface for the RDMA connections. I > think we better und

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 08:13 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 04, 2006 at 10:20:51AM -0600, Steve Wise ([EMAIL PROTECTED]) > wrote: > > > > This and a lot of other changes in this driver definitely says you > > > > implement your own stack of protocols

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Mon, 2006-12-04 at 21:13 -0800, Roland Dreier wrote: > > It is for iwarp/rdma from description. > > Yes, iWARP on top of 10G ethernet. > > > If it is 10ge, then why does it parse incomping packet headers and > > implements initial tcp state machine? > > To establish connections to run RDMA

Re: [PATCH v2 04/13] Connection Manager

2006-12-05 Thread Steve Wise
On Tue, 2006-12-05 at 08:07 +0300, Evgeniy Polyakov wrote: > On Mon, Dec 04, 2006 at 07:45:52AM -0800, Roland Dreier ([EMAIL PROTECTED]) > wrote: > > > This and a lot of other changes in this driver definitely says you > > > implement your own stack of protocols on top of infiniband hardware. >

Re: [PATCH v2 03/13] Provider Methods and Data Structures

2006-12-04 Thread Steve Wise
On Mon, 2006-12-04 at 08:45 -0800, Roland Dreier wrote: > > Roland, I think at one time we were talking about changing the Core to > > better handle this? Either with attributes/capabilities that the low > > level driver can set, or by set these method ptrs to NULL and the core > > should hand

Re: [PATCH v2 03/13] Provider Methods and Data Structures

2006-12-04 Thread Steve Wise
On Sun, 2006-12-03 at 13:07 +0100, Arjan van de Ven wrote: > On Sat, 2006-12-02 at 16:49 -0600, Steve Wise wrote: > > > + > > +static struct ib_ah *iwch_ah_create(struct ib_pd *pd, > > + struct ib_ah_attr *ah_attr) > > +{

Re: [PATCH v2 04/13] Connection Manager

2006-12-04 Thread Steve Wise
On Mon, 2006-12-04 at 07:45 -0800, Roland Dreier wrote: > > Could you convince network core developers that it is not own TCP > > implementation which will mess with existing one? > > I'm not qualified to comment on this... > I don't understand your question? > > This and a lot of other chan

Re: [PATCH v2 00/13] 2.6.20 Chelsio T3 RDMA Driver

2006-12-04 Thread Steve Wise
> >> > > > > I understood that Stephen expressed some doubts regarding the inclusion > > of TOE enabled features. > > > > Was his point addressed ? > > > > > > My comments were about different hardware. Just to clarify: Stephen is working on the Chelsio T2 HW driver. The drivers Di

[PATCH v2 06/13] Completion Queues

2006-12-02 Thread Steve Wise
Functions to manipulate CQs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_cq.c | 231 + 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_cq.c b/drivers/infiniband/hw

[PATCH v2 11/13] Core Resource Allocation

2006-12-02 Thread Steve Wise
Core functions to carve up adapter memory, stag, qp, and cq IDs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_resource.c | 331 ++ drivers/infiniband/hw/cxgb3/core/cxio_resource.h | 70 + 2 files changed, 401 inse

[PATCH v2 12/13] Core Debug functions

2006-12-02 Thread Steve Wise
Debug code to dump various data structs, some of which are in adapter memory. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_dbg.c | 205 +++ 1 files changed, 205 insertions(+), 0 deletions(-) diff --git a/drivers/infi

[PATCH v2 05/13] Queue Pairs

2006-12-02 Thread Steve Wise
Code to manipulate the QP. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_qp.c | 1007 + 1 files changed, 1007 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw

[PATCH v2 08/13] Memory Registration

2006-12-02 Thread Steve Wise
Functions to register memory regions. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_mem.c | 170 1 files changed, 170 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_mem.c b/drivers/infi

[PATCH v2 13/13] Kconfig/Makefile

2006-12-02 Thread Steve Wise
Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + drivers/infiniband/hw/cxgb3/Kconfig | 27 +++ drivers/infiniband/hw/cxgb3/Makefile| 12 d

[PATCH v2 10/13] Core HAL

2006-12-02 Thread Steve Wise
The RDMA Core interfaces with the T3 HW and ULLD providing a low level RDMA interface. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_hal.c | 1302 +++ drivers/infiniband/hw/cxgb3/core/cxio_hal.h | 201 2 files c

[PATCH v2 09/13] Core WQE/CQE Types

2006-12-02 Thread Steve Wise
T3 WQE and CQE structures, defines, etc... Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_wr.h | 685 1 files changed, 685 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/core/cxio_wr.h b/d

[PATCH v2 02/13] Device Discovery and ULLD Linkage

2006-12-02 Thread Steve Wise
Code to discover all the T3 devices and register them with the T3 RDMA Core and the Linux RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch.c | 189 drivers/infiniband/hw/cxgb3/iwch.h

[PATCH v2 01/13] Linux RDMA Core Changes

2006-12-02 Thread Steve Wise
Support provider-specific data in ib_uverbs_cmd_req_notify_cq(). The Chelsio iwarp provider library needs to pass information to the kernel verb for re-arming the CQ. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/core/uverbs_cmd.c |9 +++-- d

[PATCH v2 07/13] Async Event Handler

2006-12-02 Thread Steve Wise
Code to handle async events coming from the T3 RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_ev.c | 228 + 1 files changed, 228 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_e

[PATCH v2 03/13] Provider Methods and Data Structures

2006-12-02 Thread Steve Wise
Provider methods to support the Linux RDMA verbs. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 1170 +++ drivers/infiniband/hw/cxgb3/iwch_provider.h | 362 drivers/infiniband/hw/cxgb3/iwch_user.h

[PATCH v2 00/13] 2.6.20 Chelsio T3 RDMA Driver

2006-12-02 Thread Steve Wise
Version 2 changes: - Make code sparse endian clean - Use IDRs for mapping QP and CQ IDs to structure pointers instead of arrays - Clean up confusing bitfields - Use random32() instead of local random function - Use krefs to track endpoint reference counts - Misc nits - The following series

Re: [openib-general] [PATCH 09/13] Core WQE/CQE Types

2006-11-17 Thread Steve Wise
On Fri, 2006-11-17 at 10:19 -0800, Bryan O'Sullivan wrote: > Steve Wise wrote: > > T3 WQE and CQE structures, defines, etc... > > I notice that none of the fields in these structs seem to be > endianness-annotated, but that there's a lot of cpu_to_be64 and so on >

Re: [openib-general] [PATCH 04/13] Connection Manager

2006-11-17 Thread Steve Wise
On Fri, 2006-11-17 at 10:07 -0800, Bryan O'Sullivan wrote: > Steve Wise wrote: > > > +static void release_tid(struct t3cdev *tdev, u32 hwtid, struct sk_buff > > *skb) > > +{ > > + struct cpl_tid_release *req; > > + > > + skb = get_skb(

Re: [openib-general] [PATCH 02/13] Device Discovery and ULLD Linkage

2006-11-17 Thread Steve Wise
On Fri, 2006-11-17 at 09:53 -0800, Bryan O'Sullivan wrote: > Steve Wise wrote: > > > +static inline void *vzmalloc(int size) > > +{ > > + void *p = vmalloc(size); > > + memset(p, 0, size); > > + return p; > > +} > > This isn't ch

Re: [PATCH 11/13] Core Resource Allocation

2006-11-17 Thread Steve Wise
On Fri, 2006-11-17 at 08:54 -0800, Roland Dreier wrote: > > +static u32 next_random(u32 rand) > > +{ > > + u32 y, ylast; > > + > > + y = rand; > > + ylast = y; > > + y = (y * 69069) & 0x; > > + y = (y & 0x8000) + (ylast & 0x7fff); > > + if ((y & 1)) > > +

Re: [PATCH 09/13] Core WQE/CQE Types

2006-11-17 Thread Steve Wise
On Thu, 2006-11-16 at 20:45 -0800, Roland Dreier wrote: > > +struct t3_send_wr { > > + struct fw_riwrh wrh;/* 0 */ > > + union t3_wrid wrid; /* 1 */ > > + > > + enum t3_rdma_opcode rdmaop:8; > > + u32 reserved:24;/* 2 */ > > Does this do the right thing wrt endianness? I

Re: [PATCH] cxgb3: Chelsio T3 1G/10G ethernet device driver

2006-11-15 Thread Steve WIse
On Wed, 2006-11-15 at 16:33 -0800, Stephen Hemminger wrote: > On Wed, 15 Nov 2006 16:11:36 -0800 > divy <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > This patch adds support for the latest Chelsio adapter, T3. > > > > Since some files are bigger than the 40kB advertized in the submit > > guidelin

[PATCH 10/13] Core HAL

2006-11-15 Thread Steve Wise
The RDMA Core interfaces with the T3 HW and ULLD providing a low level RDMA interface. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_hal.c | 1306 +++ drivers/infiniband/hw/cxgb3/core/cxio_hal.h | 201 2 files c

[PATCH 07/13] Async Event Handler

2006-11-15 Thread Steve Wise
Code to handle async events coming from the T3 RDMA Core. Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/iwch_ev.c | 228 + 1 files changed, 228 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/iwch_e

[PATCH 13/13] Kconfig/Makefile

2006-11-15 Thread Steve Wise
Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + drivers/infiniband/hw/cxgb3/Kconfig | 27 +++ drivers/infiniband/hw/cxgb3/Makefile| 12 d

[PATCH 09/13] Core WQE/CQE Types

2006-11-15 Thread Steve Wise
T3 WQE and CQE structures, defines, etc... Signed-off-by: Steve Wise <[EMAIL PROTECTED]> --- drivers/infiniband/hw/cxgb3/core/cxio_wr.h | 658 1 files changed, 658 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/core/cxio_wr.h b/d

<    1   2   3   4   5   6   >