Re: [PATCH] mlx4: decreasing ref count when removing mac

2011-08-05 Thread David Miller
From: Roland Dreier rol...@kernel.org Date: Thu, 4 Aug 2011 05:55:39 -0700 For older FW versions, when a Mac address removed from Mac table, we should set 0 for reference count for the corresponding Mac index. Fixes a bug where removing Mac from the table still left that entry as invalid.

Re: [patch v2 01/37] add slice by 8 algorithm to crc32.c

2011-08-05 Thread Bart Van Assche
On Sun, Jul 24, 2011 at 9:43 PM, rpear...@systemfabricworks.com wrote: -#if CRC_BE_BITS 8 || CRC_BE_BITS 1 || CRC_BE_BITS CRC_BE_BITS-1 -# error CRC_BE_BITS must be a power of 2 between 1 and 8 +#if CRC_BE_BITS 64 || CRC_BE_BITS 1 || CRC_BE_BITS == 16 || \ +       CRC_BE_BITS

Re: [patch v2 37/37] add Kconfig

2011-08-05 Thread Bart Van Assche
On Sun, Jul 24, 2011 at 9:43 PM, rpear...@systemfabricworks.com wrote: +config INFINIBAND_RXE + tristate Software RDMA over Ethernet (RoCE) driver + depends on INET PCI INFINIBAND + ---help--- + This driver implements the InfiniBand RDMA transport over + the Linux

Re: [patch v2 33/37] add rxe_net.c

2011-08-05 Thread Bart Van Assche
On Sun, Jul 24, 2011 at 9:43 PM, rpear...@systemfabricworks.com wrote: (resending as plain text) +static __be64 rxe_mac_to_eui64(struct net_device *ndev) +{ +unsigned char *mac_addr = ndev-dev_addr; +__be64 eui64; +unsigned char *dst = (unsigned char *)eui64; + +dst[0] =

RE: [patch v2 33/37] add rxe_net.c

2011-08-05 Thread Bob Pearson
-Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Bart Van Assche Sent: Friday, August 05, 2011 1:48 PM To: rpear...@systemfabricworks.com Cc: linux-rdma@vger.kernel.org Subject: Re: [patch v2 33/37] add rxe_net.c

RE: [patch v2 37/37] add Kconfig

2011-08-05 Thread Bob Pearson
-Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Bart Van Assche Sent: Friday, August 05, 2011 1:44 PM To: rpear...@systemfabricworks.com Cc: linux-rdma@vger.kernel.org Subject: Re: [patch v2 37/37] add Kconfig On

RE: [patch v2 01/37] add slice by 8 algorithm to crc32.c

2011-08-05 Thread Bob Pearson
This patch has been submitted to linux-kernel and is being reviewed and changing. When that is done I'll replace this one with whatever comes out there. -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Bart Van Assche

[PATCH] ibnetdisc: Fix build for windows

2011-08-05 Thread Hefty, Sean
Fix a couple of compile errors that occur building on windows. Signed-off-by: Sean Hefty sean.he...@intel.com --- libibnetdisc/src/chassis.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libibnetdisc/src/chassis.c b/libibnetdisc/src/chassis.c index

[PATCH] ibsim: fix size of slid/dlid fields in sim_request structure

2011-08-05 Thread Rolf Manderscheid
The code treats them as 16-bit fields (by using htons), make the structure match. This also avoids the 32 bits of padding before the length field. Signed-off-by: Rolf Manderscheid r...@obsidianresearch.com --- include/ibsim.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] ibsim: support LID portions of directed-route SMPs

2011-08-05 Thread Rolf Manderscheid
Heed the DRSLID and DRDLID fields in DR SMPs. Signed-off-by: Rolf Manderscheid r...@obsidianresearch.com --- ibsim/sim_mad.c | 35 +-- 1 files changed, 25 insertions(+), 10 deletions(-) diff --git a/ibsim/sim_mad.c b/ibsim/sim_mad.c index 61d4866..9396ca3

[PATCH] ibsim: fix non-debug path in run_opensm.sh script

2011-08-05 Thread Rolf Manderscheid
Signed-off-by: Rolf Manderscheid r...@obsidianresearch.com --- scripts/run_opensm.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/run_opensm.sh b/scripts/run_opensm.sh index a225d81..a299dc0 100755 --- a/scripts/run_opensm.sh +++ b/scripts/run_opensm.sh @@

Re: ib-diags and ib_get_err_str

2011-08-05 Thread Ira Weiny
On Fri, 5 Aug 2011 16:31:17 -0700 Hefty, Sean sean.he...@intel.com wrote: Can anyone tell me how ib_get_err_str() gets pulled in on Linux? I see it is ib_types.h in opensm, which references ib_error_str array. When are the diags depending on to pick this up? This is picked up by

RE: ib-diags and ib_get_err_str

2011-08-05 Thread Hefty, Sean
This is picked up by libosmcomp.so Is this a new library built as part of opensm? I'm trying to update the windows build and haven't followed the changes recently. Why are the diags dependent on error types outside of what ibmad reports? -- To unsubscribe from this list: send the line

Re: ib-diags and ib_get_err_str

2011-08-05 Thread Ira Weiny
On Fri, 5 Aug 2011 16:57:02 -0700 Hefty, Sean sean.he...@intel.com wrote: This is picked up by libosmcomp.so Is this a new library built as part of opensm? opensm-libs is the specific package. I don't think it is that new. I'm trying to update the windows build and haven't followed

Re: [PATCH] ibnetdisc: Fix build for windows

2011-08-05 Thread Ira Weiny
On Fri, 5 Aug 2011 13:44:39 -0700 Hefty, Sean sean.he...@intel.com wrote: Fix a couple of compile errors that occur building on windows. Signed-off-by: Sean Hefty sean.he...@intel.com Thanks applied, Ira --- libibnetdisc/src/chassis.c |7 +++ 1 files changed, 3 insertions(+), 4