[ewg] RAW_ETH support [PATCH 1/2]

Aleksey Senin alekseys at voltaire.com
Tue Jun 8 06:54:01 PDT 2010


This patch will fix existing NES code to support RAW_ETH instead of RAW_ETY type.


Signed-off-by: Aleksey Senin <alekseys at voltaire.com>
---
 kernel_patches/fixes/nes_0033_ima.patch |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/kernel_patches/fixes/nes_0033_ima.patch b/kernel_patches/fixes/nes_0033_ima.patch
index ed21edd..304fe73 100755
--- a/kernel_patches/fixes/nes_0033_ima.patch
+++ b/kernel_patches/fixes/nes_0033_ima.patch
@@ -1,8 +1,8 @@
 RDMA/nes: add support of iWARP multicast acceleration over
-	IB_QPT_RAW_ETY QP type
+	IB_QPT_RAW_ETH QP type
 
 This patch implements iWarp multicast acceleration (IMA)
-over IB_QPT_RAW_ETY QP type in nes driver.
+over IB_QPT_RAW_ETH QP type in nes driver.
 
 Application creates a raw eth QP (IBV_QPT_RAW_ETH in user-space) and
 manages the multicast via ibv_attach_mcast and ibv_detach_mcast calls.
@@ -2301,7 +2301,7 @@ index 098b56f..1801a54 100644
 -			nes_debug(NES_DBG_QP, "Invalid QP type: %d\n", init_attr->qp_type);
 -			return ERR_PTR(-EINVAL);
 +
-+	case IB_QPT_RAW_ETY:
++	case IB_QPT_RAW_ETH:
 +	if (!ibpd->uobject)
 +		return ERR_PTR(-EINVAL);
 +
@@ -2428,7 +2428,7 @@ index 098b56f..1801a54 100644
  	atomic_inc(&sw_qps_destroyed);
  	nesqp->destroyed = 1;
  
-+	if (nesqp->ibqp.qp_type == IB_QPT_RAW_ETY) {
++	if (nesqp->ibqp.qp_type == IB_QPT_RAW_ETH) {
 +		/* check the QP refernece count */
 +		if (atomic_read(&nesqp->refcount) == 0)
 +			BUG();
@@ -2558,7 +2558,7 @@ index 098b56f..1801a54 100644
  			nesqp->hwqp.qp_id, attr->qp_state, nesqp->ibqp_state,
  			nesqp->iwarp_state, atomic_read(&nesqp->refcount));
  
-+	if (ibqp->qp_type == IB_QPT_RAW_ETY)
++	if (ibqp->qp_type == IB_QPT_RAW_ETH)
 +		return 0;
 +
  	spin_lock_irqsave(&nesqp->lock, qplockflags);
-- 
1.6.4.2





More information about the ewg mailing list