Deleted Added
full compact
ipoib_cm.c (357428) ipoib_cm.c (369540)
1/*
2 * Copyright (c) 2006 Mellanox Technologies. All rights reserved
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 137 unchanged lines hidden (view full) ---

146
147 return ret;
148}
149
150static struct mbuf *
151ipoib_cm_alloc_rx_mb(struct ipoib_dev_priv *priv, struct ipoib_cm_rx_buf *rx_req)
152{
153 return ipoib_alloc_map_mb(priv, (struct ipoib_rx_buf *)rx_req,
1/*
2 * Copyright (c) 2006 Mellanox Technologies. All rights reserved
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 137 unchanged lines hidden (view full) ---

146
147 return ret;
148}
149
150static struct mbuf *
151ipoib_cm_alloc_rx_mb(struct ipoib_dev_priv *priv, struct ipoib_cm_rx_buf *rx_req)
152{
153 return ipoib_alloc_map_mb(priv, (struct ipoib_rx_buf *)rx_req,
154 priv->cm.max_cm_mtu);
154 priv->cm.max_cm_mtu, IPOIB_CM_RX_SG);
155}
156
157static void ipoib_cm_free_rx_ring(struct ipoib_dev_priv *priv,
158 struct ipoib_cm_rx_buf *rx_ring)
159{
160 int i;
161
162 for (i = 0; i < ipoib_recvq_size; ++i)

--- 1299 unchanged lines hidden ---
155}
156
157static void ipoib_cm_free_rx_ring(struct ipoib_dev_priv *priv,
158 struct ipoib_cm_rx_buf *rx_ring)
159{
160 int i;
161
162 for (i = 0; i < ipoib_recvq_size; ++i)

--- 1299 unchanged lines hidden ---