[ewg] Re: [PATCH 3/6] nes: add missing unlock in error path of nes_alloc_fmr()

2007-12-13 Thread Roland Dreier
Be careful how you forward patches on so that you preserve author and
Signed-off-by information.  This patch is fairly trivial so it's no
big deal, but I did write the original patch and it appears in my tree
as:

commit 772bbcb6b5d310bf29a184d280a4d1d8b3350422
Author: Roland Dreier <[EMAIL PROTECTED]>
Date:   Wed Dec 12 14:09:29 2007 -0800

RDMA/nes: Add missing unlock in error path of nes_alloc_fmr()

Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

To avoid problems in the future you should fix up your procedure to
preserve the Author: and Signed-off-by: lines when assimilating a
patch.

 - R.
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH 6/6] nes: remove unnecessary kernel macro #ifdefs

2007-12-13 Thread Glenn Grundstrom (NetEffect)

NETIF_F_xxx and HAVE_xxx macro #ifdefs are not needed and
have been removed.

>From Rolands infiniband git tree to update OFED.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/nes_nic.c 
b/drivers/infiniband/hw/nes/nes_nic.c
index 0f50cd5..f196c43 100644
--- a/drivers/infiniband/hw/nes/nes_nic.c
+++ b/drivers/infiniband/hw/nes/nes_nic.c
@@ -357,9 +357,7 @@ static int nes_nic_send(struct sk_buff *skb, struct 
net_device *netdev)
struct nes_device *nesdev = nesvnic->nesdev;
struct nes_hw_nic *nesnic = &nesvnic->nic;
struct nes_hw_nic_sq_wqe *nic_sqe;
-#ifdef NETIF_F_TSO
struct tcphdr *tcph;
-#endif
u16 *wqe_fragment_length;
u32 wqe_misc;
u16 wqe_fragment_index = 1; /* first fragment (0) is used by copy 
buffer */
@@ -385,7 +383,6 @@ static int nes_nic_send(struct sk_buff *skb, struct 
net_device *netdev)
if (skb->ip_summed == CHECKSUM_PARTIAL) {
tcph = tcp_hdr(skb);
if (1) {
-#ifdef NETIF_F_TSO
if (skb_is_gso(skb)) {
/* nes_debug(NES_DBG_NIC_TX, "%s: TSO 
request... seg size = %u\n",
netdev->name, skb_is_gso(skb)); 
*/
@@ -395,11 +392,8 @@ static int nes_nic_send(struct sk_buff *skb, struct 
net_device *netdev)
cpu_to_le32(((u32)tcph->doff) |
(((u32)(((unsigned char *)tcph) 
- skb->data)) << 4));
} else {
-#endif
wqe_misc |= NES_NIC_SQ_WQE_COMPLETION;
-#ifdef NETIF_F_TSO
}
-#endif
}
} else {/* CHECKSUM_HW */
wqe_misc |= NES_NIC_SQ_WQE_DISABLE_CHKSUM | 
NES_NIC_SQ_WQE_COMPLETION;
@@ -475,7 +469,6 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
struct nes_device *nesdev = nesvnic->nesdev;
struct nes_hw_nic *nesnic = &nesvnic->nic;
struct nes_hw_nic_sq_wqe *nic_sqe;
-#ifdef NETIF_F_TSO
struct tcphdr *tcph;
/* struct udphdr *udph; */
 #define NES_MAX_TSO_FRAGS 18
@@ -486,7 +479,6 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
u32 tso_frag_count;
u32 tso_wqe_length;
u32 curr_tcp_seq;
-#endif
u32 wqe_count=1;
u32 send_rc;
struct iphdr *iph;
@@ -499,10 +491,8 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
u16 wqe_fragment_index=1;
u16 hoffset;
u16 nhoffset;
-#ifdef NETIF_F_TSO
u16 wqes_needed;
u16 wqes_available;
-#endif
u32 old_head;
u32 wqe_misc;
 
@@ -532,7 +522,6 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
}
/* Check if too many fragments */
if (unlikely((nr_frags > 4))) {
-#ifdef NETIF_F_TSO
if (skb_is_gso(skb)) {
nesvnic->segmented_tso_requests++;
nesvnic->tso_requests++;
@@ -663,7 +652,6 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
nesnic->sq_head &= nesnic->sq_size-1;
}
} else {
-#endif
nesvnic->linearized_skbs++;
hoffset = skb_transport_header(skb) - skb->data;
nhoffset = skb_network_header(skb) - skb->data;
@@ -675,9 +663,7 @@ static int nes_netdev_start_xmit(struct sk_buff *skb, 
struct net_device *netdev)
spin_unlock_irqrestore(&nesnic->sq_lock, flags);
return NETDEV_TX_OK;
}
-#ifdef NETIF_F_TSO
}
-#endif
} else {
send_rc = nes_nic_send(skb, netdev);
if (send_rc != NETDEV_TX_OK) {
@@ -802,7 +788,6 @@ static void nes_netdev_tx_timeout(struct net_device *netdev)
 }
 
 
-#ifdef HAVE_SET_MAC_ADDR
 /**
  * nes_netdev_set_mac_address
  */
@@ -845,10 +830,8 @@ static int nes_netdev_set_mac_address(struct net_device 
*netdev, void *p)
}
return 0;
 }
-#endif
 
 
-#ifdef HAVE_MULTICAST
 /**
  * nes_netdev_set_multicast_list
  */
@@ -931,7 +914,6 @@ void nes_netdev_set_multicast_list(struct net_device 
*netdev)
}
}
 }
-#endif
 
 
 /**
@@ -1500,14 +1482,11 @@ static struct ethtool_ops nes_ethtool_ops = {
.set_tx_csum = ethtool_op_set_tx_csum,
.set_rx_csum = nes_netdev_set_rx_csum,
.set_sg = ethtool_op_set_sg,
-#ifdef NETIF_F_TSO
.get_tso = ethtool_op_get_tso,
.set_tso = ethtool_op_set_tso,
-#endif
 };
 
 
-#ifdef NETIF_F_HW_VLAN_TX
 static void nes_netdev_vlan_rx_register(struct net_device *netdev, struct 
vlan_group *grp)
 {
struct nes_vnic *nesvnic = netdev

[ewg] [PATCH 5/6] nes: fix napi enable for multiport boards

2007-12-13 Thread Glenn Grundstrom (NetEffect)

napi_enable() was not being called for ports after
the first.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/nes_nic.c 
b/drivers/infiniband/hw/nes/nes_nic.c
index dcff1b8..0f50cd5 100644
--- a/drivers/infiniband/hw/nes/nes_nic.c
+++ b/drivers/infiniband/hw/nes/nes_nic.c
@@ -276,12 +276,11 @@ static int nes_netdev_open(struct net_device *netdev)
/* Enable network packets */
nesvnic->linkup = 1;
netif_start_queue(netdev);
+   netif_carrier_on(netdev);
+   }
 #ifdef NES_NAPI
-   napi_enable(&nesvnic->napi);
+   napi_enable(&nesvnic->napi);
 #endif
-   } else {
-   netif_carrier_off(netdev);
-   }
nesvnic->netdev_open = 1;
 
return 0;
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH 4/6] nes: fix nes_get_encoded_size() prototype

2007-12-13 Thread Glenn Grundstrom (NetEffect)

Change the argument type from u32 * to int * to match how
it is called.

>From Rolands infiniband git tree to update OFED.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/nes_verbs.c 
b/drivers/infiniband/hw/nes/nes_verbs.c
index cd95aba..97cb51e 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -1046,7 +1046,7 @@ static int nes_destroy_ah(struct ib_ah *ah)
 /**
  * nes_get_encoded_size
  */
-static inline u8 nes_get_encoded_size(u32 *size)
+static inline u8 nes_get_encoded_size(int *size)
 {
u8 encoded_size = 0;
if (*size <= 32) {
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH 3/6] nes: add missing unlock in error path of nes_alloc_fmr()

2007-12-13 Thread Glenn Grundstrom (NetEffect)

A spin_unlock_irqrestore() was missing in an error case
of nes_alloc_fmr().

>From Rolands infiniband tree to update OFED.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/nes_verbs.c 
b/drivers/infiniband/hw/nes/nes_verbs.c
index ea7625a..cd95aba 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -479,6 +479,7 @@ static struct ib_fmr *nes_alloc_fmr(struct ib_pd *ibpd,
 
if (!vpbl.pbl_vbase) {
ret = -ENOMEM;
+   spin_unlock_irqrestore(&nesadapter->pbl_lock, 
flags);
goto failed_leaf_vpbl_pages_alloc;
}
 
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH 2/6] nes: fix external crc32c() dependency

2007-12-13 Thread Glenn Grundstrom (NetEffect)

Add Select LIBCRC32C to make sure crc32c() can be resolved.  Without
this the driver may not link.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/Kconfig 
b/drivers/infiniband/hw/nes/Kconfig
index d5f2a12..2aeb7ac 100644
--- a/drivers/infiniband/hw/nes/Kconfig
+++ b/drivers/infiniband/hw/nes/Kconfig
@@ -1,6 +1,7 @@
 config INFINIBAND_NES
tristate "NetEffect RNIC Driver"
depends on PCI && INET && INFINIBAND
+   select LIBCRC32C
---help---
  This is a low-level driver for NetEffect RDMA enabled
  Network Interface Cards (RNIC).
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH 1/6] nes: cosmetic and whitespace cleanup

2007-12-13 Thread Glenn Grundstrom (NetEffect)

Run cleanfile to fix up whitespace

>From Rolands infiniband tree to update OFED.

Signed-off-by: Glenn Grundstrom <[EMAIL PROTECTED]>

---

diff --git a/drivers/infiniband/hw/nes/nes_cm.c 
b/drivers/infiniband/hw/nes/nes_cm.c
index d101117..638bc51 100644
--- a/drivers/infiniband/hw/nes/nes_cm.c
+++ b/drivers/infiniband/hw/nes/nes_cm.c
@@ -283,7 +283,7 @@ struct sk_buff *form_cm_frame(struct sk_buff *skb, struct 
nes_cm_node *cm_node,
iph->tos = 0;
iph->tot_len = htons(packetsize);
iph->id = htons(++cm_node->tcp_cntxt.loc_id);
-   
+
iph->frag_off = ntohs(0x4000);
iph->ttl = 0x40;
iph->protocol= 0x06;/* IPPROTO_TCP */
@@ -1078,8 +1078,8 @@ static struct nes_cm_node *make_cm_node(struct 
nes_cm_core *cm_core,
atomic_inc(&cm_core->session_id);
cm_node->session_id = (u32)(atomic_read(&cm_core->session_id) + 
current->tgid);
cm_node->conn_type = cm_info->conn_type;
-   cm_node->apbvt_set = 0;
-   cm_node->accept_pend = 0;
+   cm_node->apbvt_set = 0;
+   cm_node->accept_pend = 0;
 
cm_node->nesvnic = nesvnic;
/* get some device handles, for arp lookup */
@@ -2019,22 +2019,22 @@ static int nes_cm_init_tsa_conn(struct nes_qp *nesqp, 
struct nes_cm_node *cm_nod
NES_QPCONTEXT_PDWSCALE_RCV_WSCALE_MASK);
 
nesqp->nesqp_context->keepalive = cpu_to_le32(0x80);
-   nesqp->nesqp_context->ts_recent = 0;
-   nesqp->nesqp_context->ts_age = 0;   
-   nesqp->nesqp_context->snd_nxt = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
-   nesqp->nesqp_context->snd_wnd = 
cpu_to_le32(cm_node->tcp_cntxt.snd_wnd);
-   nesqp->nesqp_context->rcv_nxt = 
cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
+   nesqp->nesqp_context->ts_recent = 0;
+   nesqp->nesqp_context->ts_age = 0;
+   nesqp->nesqp_context->snd_nxt = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
+   nesqp->nesqp_context->snd_wnd = cpu_to_le32(cm_node->tcp_cntxt.snd_wnd);
+   nesqp->nesqp_context->rcv_nxt = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
nesqp->nesqp_context->rcv_wnd = cpu_to_le32(cm_node->tcp_cntxt.rcv_wnd 
<<
-   cm_node->tcp_cntxt.rcv_wscale); 
-   nesqp->nesqp_context->snd_max = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
-   nesqp->nesqp_context->snd_una = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
-   nesqp->nesqp_context->srtt = 0; 
-   nesqp->nesqp_context->rttvar = cpu_to_le32(0x6);
-   nesqp->nesqp_context->ssthresh = cpu_to_le32(0x3FFFC000);   
-   nesqp->nesqp_context->cwnd = cpu_to_le32(2*cm_node->tcp_cntxt.mss); 
-   nesqp->nesqp_context->snd_wl1 = 
cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
-   nesqp->nesqp_context->snd_wl2 = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
-   nesqp->nesqp_context->max_snd_wnd = 
cpu_to_le32(cm_node->tcp_cntxt.max_snd_wnd);
+   cm_node->tcp_cntxt.rcv_wscale);
+   nesqp->nesqp_context->snd_max = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
+   nesqp->nesqp_context->snd_una = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
+   nesqp->nesqp_context->srtt = 0;
+   nesqp->nesqp_context->rttvar = cpu_to_le32(0x6);
+   nesqp->nesqp_context->ssthresh = cpu_to_le32(0x3FFFC000);
+   nesqp->nesqp_context->cwnd = cpu_to_le32(2*cm_node->tcp_cntxt.mss);
+   nesqp->nesqp_context->snd_wl1 = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt);
+   nesqp->nesqp_context->snd_wl2 = 
cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num);
+   nesqp->nesqp_context->max_snd_wnd = 
cpu_to_le32(cm_node->tcp_cntxt.max_snd_wnd);
 
nes_debug(NES_DBG_CM, "QP%u: rcv_nxt = 0x%08X, snd_nxt = 0x%08X,"
" Setting MSS to %u, PDWscale = 0x%08X, rcv_wnd = %u, 
context misc = 0x%08X.\n",
diff --git a/drivers/infiniband/hw/nes/nes_cm.h 
b/drivers/infiniband/hw/nes/nes_cm.h
index 00eaeb1..cd8e003 100644
--- a/drivers/infiniband/hw/nes/nes_cm.h
+++ b/drivers/infiniband/hw/nes/nes_cm.h
@@ -122,7 +122,7 @@ struct nes_timer_entry {
unsigned long timetosend;   /* jiffies */
struct sk_buff *skb;
u32 type;
-   u32 retrycount;  
+   u32 retrycount;
u32 retranscount;
u32 context;
u32 seq_num;
@@ -142,15 +142,15 @@ struct nes_timer_entry {
 #define NES_LONG_TIME   (2000*HZ/1000)
 
 #define NES_CM_HASHTABLE_SIZE 1024
-#define NES_CM_TCP_TIMER_INTERVAL 3000 
+#define NES_CM_TCP_TIMER_INTERVAL 3000
 #define NES_CM_DEFAULT_MTU1540
 #define NES_CM_DEFAULT_FRAME_CNT  10
-#define NES_CM_THREAD_STACK_SIZE  256  
+#define NES_CM_THREAD_STACK_SIZE  256
 #define NES_CM_DEFAULT_RCV_WND64240// before we know that window 
scaling is allowed
 #define NES_CM_DEFAULT_RCV_WND_SCALED 256960  // after we know that window 
scaling is allowed
 #define NES_CM_DEFAULT_RCV_WND_SCALE  2
-#def

[ewg] RE: [ofa-general] OFED 1.3-rc1 release is available

2007-12-13 Thread Tang, Changqing

HI,

When can you fix the backward compatible issue with OFED 1.2 ?  Thanks.


--CQ


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tziporet Koren
Sent: Thursday, December 13, 2007 10:40 AM
To: ewg@lists.openfabrics.org
Cc: [EMAIL PROTECTED]
Subject: [ofa-general] OFED 1.3-rc1 release is available


Hi,

OFED 1.3 RC1 release is available on
http://www.openfabrics.org/downloads/OFED/ofed-1.3/OFED-1.3-rc1.tgz
To get BUILD_ID run ofed_info

Please report any issues in bugzilla https://bugs.openfabrics.org/

The RC2 release is expected on December 27

Tziporet & Vlad



Release information:

OS support:
Novell:
- SLES10
- SLES10 SP1 and up1
Redhat:
- Redhat EL4 up4 and up5
- Redhat EL5 and up1
kernel.org:
- 2.6.23 and 2.6.24-rc2

Systems:
* x86_64
* x86
* ia64
* ppc64

Main Changes from OFED 1.3-beta
===

 *   Fix SDP stability issues
 *   Force 32bit libraries installation on the SLES10 SP1 U1
 *   Open MPI: Enable compilation when using compilers that were not installed 
as RPMs.
 *   RDS: clean up handling of congested destinations vs poll
 *   RDS: Fix download issue when removing low level driver (fix was in CMA)
 *   IPoIB: Fix kernel Oops resulting from xmit following dev_down.
 *   MPI packages update:
*   mvapich-1.0.0-1639.src.rpm
*   openmpi-1.2.5rc1-1.src.rpm
*   mpitests-3.0-773.src.rpm

mlx4 specific changes:

 *   Fix segmentation fault in mlx4_clear_xrc_srq.
 *   Fix max_eq's read from FW in QUERY_DEV_CAP.
 *   Post send in the kernel is now using WQE building block.
 *   Set default CQ moderation parameters for IPoIB

ehca specific changes:

 *   Fix error of sense context opts with multiple adapter
 *   Add files for older abi_versions


Tasks that should be completed for RC2 release:
===
1. IPoIB performance improvements for small messages
2. Fix bugs



___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

[ewg] which kernel addons w/ RHEL5.0?

2007-12-13 Thread Arthur Jones
hi vlad,  which kernel_addons backport directory
goes with RHEL5 (no updates) in your build tests?

arthur
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] Re: [PATCH] IB/ehca: Fix lock flag location, bump version number

2007-12-13 Thread Roland Dreier
applied, thanks
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] OFED 1.3-rc1 release is available

2007-12-13 Thread Tziporet Koren
Hi, 

OFED 1.3 RC1 release is available on
http://www.openfabrics.org/downloads/OFED/ofed-1.3/OFED-1.3-rc1.tgz
To get BUILD_ID run ofed_info 

Please report any issues in bugzilla https://bugs.openfabrics.org/

The RC2 release is expected on December 27

Tziporet & Vlad 



Release information: 

OS support: 
Novell: 
- SLES10 
- SLES10 SP1 and up1
Redhat: 
- Redhat EL4 up4 and up5 
- Redhat EL5 and up1
kernel.org: 
- 2.6.23 and 2.6.24-rc2

Systems: 
* x86_64 
* x86 
* ia64 
* ppc64

Main Changes from OFED 1.3-beta
===
*   Fix SDP stability issues
*   Force 32bit libraries installation on the SLES10 SP1 U1
*   Open MPI: Enable compilation when using compilers that were not
installed as RPMs.
*   RDS: clean up handling of congested destinations vs poll
*   RDS: Fix download issue when removing low level driver (fix was
in CMA)
*   IPoIB: Fix kernel Oops resulting from xmit following dev_down.
*   MPI packages update:
*   mvapich-1.0.0-1639.src.rpm
*   openmpi-1.2.5rc1-1.src.rpm
*   mpitests-3.0-773.src.rpm

mlx4 specific changes:
*   Fix segmentation fault in mlx4_clear_xrc_srq.
*   Fix max_eq's read from FW in QUERY_DEV_CAP.
*   Post send in the kernel is now using WQE building block.
*   Set default CQ moderation parameters for IPoIB

ehca specific changes:
*   Fix error of sense context opts with multiple adapter
*   Add files for older abi_versions


Tasks that should be completed for RC2 release:
===
1. IPoIB performance improvements for small messages
2. Fix bugs




___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

[ewg] [PATCH] IB/iser: update open-iscsi kernel code to release 2.0-865.15

2007-12-13 Thread Erez Zilber
Vlad,

I've updated open-iscsi kernel code to release 2.0-865.15.

Please pull from git://git.openfabrics.org/~erezz/linux-2.6.git ofed_kernel

Thanks,
Erez
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH] IB/ehca: Fix lock flag location, bump version number

2007-12-13 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]>
---

This addresses a comment of Roland and bumps the version number. If it's not
too late, please apply for 2.6.24. Thanks!

 drivers/infiniband/hw/ehca/ehca_classes.h |1 +
 drivers/infiniband/hw/ehca/ehca_main.c|2 +-
 drivers/infiniband/hw/ehca/hcp_if.c   |1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_classes.h 
b/drivers/infiniband/hw/ehca/ehca_classes.h
index 87f12d4..74d2b72 100644
--- a/drivers/infiniband/hw/ehca/ehca_classes.h
+++ b/drivers/infiniband/hw/ehca/ehca_classes.h
@@ -322,6 +322,7 @@ extern int ehca_static_rate;
 extern int ehca_port_act_time;
 extern int ehca_use_hp_mr;
 extern int ehca_scaling_code;
+extern int ehca_lock_hcalls;
 
 struct ipzu_queue_resp {
u32 qe_size;  /* queue entry size */
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c 
b/drivers/infiniband/hw/ehca/ehca_main.c
index c7bff3e..6a56d86 100644
--- a/drivers/infiniband/hw/ehca/ehca_main.c
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
@@ -50,7 +50,7 @@
 #include "ehca_tools.h"
 #include "hcp_if.h"
 
-#define HCAD_VERSION "0024"
+#define HCAD_VERSION "0025"
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("Christoph Raisch <[EMAIL PROTECTED]>");
diff --git a/drivers/infiniband/hw/ehca/hcp_if.c 
b/drivers/infiniband/hw/ehca/hcp_if.c
index 331b5e8..7029aa6 100644
--- a/drivers/infiniband/hw/ehca/hcp_if.c
+++ b/drivers/infiniband/hw/ehca/hcp_if.c
@@ -89,7 +89,6 @@
 #define HCALL9_REGS_FORMAT HCALL7_REGS_FORMAT " r11=%lx r12=%lx"
 
 static DEFINE_SPINLOCK(hcall_lock);
-extern int ehca_lock_hcalls;
 
 static u32 get_longbusy_msecs(int longbusy_rc)
 {
-- 
1.5.2



___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [GIT PULL] ~sashak/management.git

2007-12-13 Thread Sasha Khapyorsky
Hi Vlad,

Please pull recent ofed_1_3 branch of ~sashak/management.git.

The changes are:

Al Chu (1):
  OpenSM: Fix error return corner case

Hal Rosenstock (1):
  opensm/libvendor/osm_vendor_ibumad_sa.c: In __osmv_sa_mad_rcv_cb, handle 
attribute offset of 0

Sasha Khapyorsky (9):
  opensm/osm_ucast_updn.c: indentation fixes
  opensm/libvendor: indentation fixes
  infiniband-diags/ibcheckerrors: for CAs query only single ports
  opensm/config/osmvsel.m4: update LDADD variable, not LDFLAGS
  infiniband-diags/ibcheckerrors: fix port errors count
  infiniband-diags/scripts: fix perfquery usage
  opensm: don't zero base LID when invalid value is received
  opensm: remove old style code formatters
  opensm/Makefile: remove opensm_CXXFLAGS

Yevgeny Kliteynik (3):
  opensm: trivial change of log message
  opensm: fixing coredump in QoS policy pkey validation
  opensm: QoS policy - fixing pkey range implementation


Thanks,
Sasha
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg