[openib-general] Fwd: [ANNOUNCE] GIT 1.4.4

2006-11-15 Thread Michael S. Tsirkin
FYI A usual number of gitweb enhancements. git-blame is probably the most interesting. -- MST ---BeginMessage--- The latest feature release GIT 1.4.4 is available at the usual places: http://www.kernel.org/pub/software/scm/git/ git-1.4.4.tar.{gz,bz2}(tarball)

Re: [openib-general] RC v/s UD

2006-11-15 Thread Michael S. Tsirkin
With RC, you can send larger messages and hardware will perform the fragmentation. BTW, ibv_rc_pingpong/ibv_ud_pingpong are pingpong examples - they do not attempt to measure maximum streaming bandwidth. Look under the perftests directory for some benchmarks: e.g. send_bw can measure bandwidth

[openib-general] [PATCH] IB/ucm: fix deadlock in cleanup

2006-11-15 Thread Michael S. Tsirkin
ib_ucm_cleanup_events has file_mutex while calling ib_destroy_cm_id. It seems this can deadlock since ib_destroy_cm_id flushes event handlers, and ib_ucm_event_handler needs file_mutex, too. Signed-off-by: Michael S. Tsirkin [EMAIL PROTECTED] --- I'll be testing the following the next night -

Re: [openib-general] RC v/s UD

2006-11-15 Thread dotanb
One more thing: Did you use the default message size of the tests? In ibv_ud_pingpong the default message size is 2K In ibv_rc_pingpong the default message size is 4K so, 2 posts and 2 completions where handled in UD for every 1 post and 1 completion in RC ... Dotan With RC, you can

Re: [openib-general] RC v/s UD

2006-11-15 Thread john t
One more thing: Did you use the default message size of the tests? In ibv_ud_pingpong the default message size is 2K In ibv_rc_pingpong the default message size is 4Kso, 2 posts and 2 completions where handled in UD for every 1 post and 1completion in RC ... I used default message size.

[openib-general] Add module params to mthca to control the HCA profile

2006-11-15 Thread Moni Shoua
Hi, A few months ago, Leonid Arsh submitted a patch to mthca that enables to control some of the HCA profile values. This patch was discussed here (see references below) but wasn't accepted and somehow got lost and I'd like to re-submit it.

Re: [openib-general] RC v/s UD

2006-11-15 Thread dotanb
if you want to check performance i suggest you to check the ib_*_lat ib_*_bw tests and not the pingpong tests which were written as an examples .. Dotan One more thing: Did you use the default message size of the tests? In ibv_ud_pingpong the default message size is 2K In

Re: [openib-general] Add module params to mthca to control the HCA profile

2006-11-15 Thread Moni Shoua
Moni Shoua wrote: Hi, A few months ago, Leonid Arsh submitted a patch to mthca that enables to control some of the HCA profile values. This patch was discussed here (see references below) but wasn't accepted and somehow got lost and I'd like to re-submit it.

[openib-general] Add module params to mthca to control the HCA profile

2006-11-15 Thread Moni Shoua
Hi, A few months ago, Leonid Arsh submitted a patch to mthca that enables to control some of the HCA profile values. This patch was discussed here (see references below) but wasn't accepted and somehow got lost and I'd like to re-submit it.

[openib-general] [PATCH] IB/mthca: HCA profile module parameters

2006-11-15 Thread Moni Shoua
From: Leonid Arsh [EMAIL PROTECTED] Adds module parameters that enable settting some of the HCA profile values. Signed-off-by: Leonid Arsh [EMAIL PROTECTED] Signed-off-by: Moni Shoua [EMAIL PROTECTED] --- mthca_main.c | 104 +-- 1 files

Re: [openib-general] [PATCH] IB/mthca: HCA profile module parameters

2006-11-15 Thread Arthur Jones
hi moni, ... On Wed, Nov 15, 2006 at 06:39:39PM +0200, Moni Shoua wrote: From: Leonid Arsh [EMAIL PROTECTED] [...] +#define is_power_of_2(x) (x0 (x (x - 1))) this is named funny (should be is_not_power_of_2?)... arthur ___ openib-general mailing

Re: [openib-general] [PATCH/RFC 1/2] IB: Return maybe_missed_event hint from ib_req_notify_cq()

2006-11-15 Thread Shirley Ma
Roland Dreier [EMAIL PROTECTED] wrote on 11/14/2006 03:18:23 PM: Shirley The rotting packet situation consistently happens for Shirley ehca driver. The napi could poll forever with your Shirley original patch. That's the reason I defer the rotting Shirley packet process in next napi

Re: [openib-general] Add module params to mthca to control the HCA profile

2006-11-15 Thread Roland Dreier
This patch was discussed here (see references below) but wasn't accepted and somehow got lost and I'd like to re-submit it. OK... so please resubmit the patch... ___ openib-general mailing list openib-general@openib.org

Re: [openib-general] Add module params to mthca to control the HCA profile

2006-11-15 Thread Roland Dreier
OK... so please resubmit the patch... Sorry, I see the patch now. I will review soon. ___ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit

Re: [openib-general] [PATCH/RFC 1/2] IB: Return maybe_missed_event hint from ib_req_notify_cq()

2006-11-15 Thread Shirley Ma
I will rerun my test to use n! = 0 to see any difference here. It should be n == 0 to indicate empty. Thanks Shirley Ma___ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please

[openib-general] mthca question

2006-11-15 Thread Jeff Young
Howdy, I see in mthca_main.c the line which states: #warning The mthca driver is no longer kept up to date in svn. #warning For the latest code, track the upstream kernel. What does this mean? What is the upstream kernel? Where do I download the latest sources from? Thanks,

Re: [openib-general] mthca question

2006-11-15 Thread Roland Dreier
#warning The mthca driver is no longer kept up to date in svn. #warning For the latest code, track the upstream kernel. What does this mean? What is the upstream kernel? Where do I download the latest sources from? this means that the definitive source for the mthca driver is the

Re: [openib-general] mthca question

2006-11-15 Thread Steve Wise
We should put this type of warning in all the infiniband/core modules that have moved to the kernel... On Wed, 2006-11-15 at 11:29 -0800, Roland Dreier wrote: #warning The mthca driver is no longer kept up to date in svn. #warning For the latest code, track the upstream kernel. What

[openib-general] Question about multicast GIDs

2006-11-15 Thread Robert Walsh
Hi all, Is there are registration authority for multicast GIDs? Or at least a safe way of assigning a range of GIDs to a vendor? Regards, Robert. ___ openib-general mailing list openib-general@openib.org

[openib-general] ANNOUNCE: libibverbs and libmthca moving to git

2006-11-15 Thread Roland Dreier
I've converted the libibverbs and libmthca svn history into git (with some minor cleanups, mostly improving the changelog entries). I've also created git tags for all of the releases noted in the history. The git trees git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git

Re: [openib-general] [PATCH] IB/mthca: HCA profile module parameters

2006-11-15 Thread Roland Dreier
The patch is line-wrapped and bizarrely corrupted and won't apply, eg: +mthca_warn(mdev, num_qp rounded to power of 2 (%d).\n, + default_profile.num_qp); +} This is completely unnecessary: +#define to_up_power_of_2(x) (x = roundup_pow_of_two(x))

Re: [openib-general] ifconfig down stuck

2006-11-15 Thread Roland Dreier
That, in turn, is waiting for net device ref count to get to 0. But is it normal that the ref count is negative? No, that's not normal, it's the real bug. Something is doing an extra dev_put() on the device. - r. ___ openib-general mailing list

Re: [openib-general] [PATCH v2 0/11] [RFC] Support for QLogic Virtual Ethernet I/O Controller (VEx)

2006-11-15 Thread Roland Dreier
If you think these patches are good enough, could you please create a branch in your git tree based on for-2.6.20 for this code ? Yes, I will create a vex branch for this in my tree. However, moving this further upstream will depend on getting a real review of the code, and some sort of

Re: [openib-general] Question about multicast GIDs

2006-11-15 Thread Roland Dreier
Is there are registration authority for multicast GIDs? Or at least a safe way of assigning a range of GIDs to a vendor? I don't think so. Perhaps RFC 3307 would be of some use... - R. ___ openib-general mailing list openib-general@openib.org

[openib-general] [RFC PATCH] opensm: dump/restore SA database

2006-11-15 Thread Sasha Khapyorsky
This adds OpenSM SA database DB dumping and restoring functionality. In verbose mode OpenSM will dump SA DB (existing multicast groups, services and InformInfo) into dump file which named opensm-sa.dump and located under standard OpenSM dump directory (/var/log by default). If option -S is

Re: [openib-general] ANNOUNCE: libibverbs and libmthca moving to git

2006-11-15 Thread Sasha Khapyorsky
Hi Roland, On 15:32 Wed 15 Nov , Roland Dreier wrote: I've converted the libibverbs and libmthca svn history into git (with some minor cleanups, mostly improving the changelog entries). I've also created git tags for all of the releases noted in the history. The git trees

Re: [openib-general] Question about multicast GIDs

2006-11-15 Thread Robert Walsh
Roland Dreier wrote: Is there are registration authority for multicast GIDs? Or at least a safe way of assigning a range of GIDs to a vendor? I don't think so. Perhaps RFC 3307 would be of some use... Ah - looks exactly like what I was looking for. Thanks.

Re: [openib-general] ANNOUNCE: libibverbs and libmthca moving to git

2006-11-15 Thread Roland Dreier
Are you planning to mirror libibverbs and libnthca trees on the new OFA server too (git.kernel.org was overloaded last time)? I wasn't planning to try and set that up, but git makes it pretty trivial for someone else to mirror trees wherever they want. - R.

[openib-general] OpenSM log growing too big

2006-11-15 Thread Venkatesh Babu
I have OFED 1.0 stack and running OpenSM on a server connected to a IB subnet with couple of nodes. Usually the log file size is small. But ocassionally it is growing too big and filling up the whole hard disk. [EMAIL PROTECTED] ~]# ls -l /var/log/opensm* -rw-r--r-- 1 root root 33879121502

[openib-general] [Fwd: [PATCH 00/13] Chelsio T3 RDMA Driver]

2006-11-15 Thread Steve WIse
Now the fun begins... Forwarded Message From: Steve Wise [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, openib-general@openib.org Subject: [openib-general] [PATCH 00/13] Chelsio T3 RDMA Driver Date: Wed, 15 Nov 2006 21:58:26

Re: [openib-general] ANNOUNCE: libibverbs and libmthca moving to git

2006-11-15 Thread Jack Morgenstein
On Thursday 16 November 2006 01:32, Roland Dreier wrote: git clone git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git I tried invoking the above command, and got the following error: linux-hrf1:/mswg/work/jackm/g2.1git clone git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git

Re: [openib-general] ANNOUNCE: libibverbs and libmthca moving to git

2006-11-15 Thread Jack Morgenstein
On Thursday 16 November 2006 09:09, Jack Morgenstein wrote: On Thursday 16 November 2006 01:32, Roland Dreier wrote: git clone git://git.kernel.org/pub/scm/libs/infiniband/libmthca.git I tried invoking the above command, and got the following error: linux-hrf1:/mswg/work/jackm/g2.1git

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

2006-11-15 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 +++--

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

2006-11-15 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 | 222 drivers/infiniband/hw/cxgb3/iwch.h | 134 ++

[openib-general] [PATCH 03/13] Provider Methods and Data Structures

2006-11-15 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 | 1186 +++ drivers/infiniband/hw/cxgb3/iwch_provider.h | 390 + drivers/infiniband/hw/cxgb3/iwch_user.h | 68 ++

[openib-general] [PATCH 06/13] Completion Queues

2006-11-15 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

[openib-general] [PATCH 05/13] Queue Pairs

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

[openib-general] [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_ev.c

[openib-general] [PATCH 08/13] Memory Registration

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

[openib-general] [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

[openib-general] [PATCH 11/13] Core Resource Allocation

2006-11-15 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 | 357 ++ drivers/infiniband/hw/cxgb3/core/cxio_resource.h | 70 2 files changed, 427 insertions(+), 0

[openib-general] [PATCH 12/13] Core Debug functions

2006-11-15 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

[openib-general] [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