public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Krishna Kumar <krkumar2@in•ibm.com>
To: johnpol@2ka•mipt.ru, herbert@gondor•apana.org.au,
	hadi@cyberus•ca, kaber@trash•net,
	shemminger@linux-foundation•org, davem@davemloft•net
Cc: jagana@us•ibm.com, Robert.Olsson@data•slu.se,
	peter.p.waskiewicz.jr@intel•com, xma@us•ibm.com,
	gaagaan@gmail•com, kumarkr@linux•ibm.com, rdreier@cisco•com,
	rick.jones2@hp•com, mcarlson@broadcom•com, jeff@garzik•org,
	general@lists•openfabrics.org, mchan@broadcom•com, tgraf@suug•ch,
	netdev@vger•kernel.org, Krishna Kumar <krkumar2@in•ibm.com>,
	sri@us•ibm.com
Subject: [PATCH 5/10 Rev4] [IPoIB] Header file changes
Date: Wed, 22 Aug 2007 14:00:13 +0530	[thread overview]
Message-ID: <20070822083013.11964.62026.sendpatchset@localhost.localdomain> (raw)
In-Reply-To: <20070822082839.11964.63503.sendpatchset@localhost.localdomain>

IPoIB header file changes to use batching.

Signed-off-by: Krishna Kumar <krkumar2@in•ibm.com>
---
 ipoib.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib.h new/drivers/infiniband/ulp/ipoib/ipoib.h
--- org/drivers/infiniband/ulp/ipoib/ipoib.h	2007-08-20 14:26:26.000000000 +0530
+++ new/drivers/infiniband/ulp/ipoib/ipoib.h	2007-08-22 08:33:51.000000000 +0530
@@ -271,8 +271,8 @@ struct ipoib_dev_priv {
 	struct ipoib_tx_buf *tx_ring;
 	unsigned             tx_head;
 	unsigned             tx_tail;
-	struct ib_sge        tx_sge;
-	struct ib_send_wr    tx_wr;
+	struct ib_sge        *tx_sge;
+	struct ib_send_wr    *tx_wr;
 
 	struct ib_wc ibwc[IPOIB_NUM_WC];
 
@@ -367,8 +367,11 @@ static inline void ipoib_put_ah(struct i
 int ipoib_open(struct net_device *dev);
 int ipoib_add_pkey_attr(struct net_device *dev);
 
+int ipoib_process_skb(struct net_device *dev, struct sk_buff *skb,
+		      struct ipoib_dev_priv *priv, struct ipoib_ah *address,
+		      u32 qpn, int wr_num);
 void ipoib_send(struct net_device *dev, struct sk_buff *skb,
-		struct ipoib_ah *address, u32 qpn);
+		struct ipoib_ah *address, u32 qpn, int num_skbs);
 void ipoib_reap_ah(struct work_struct *work);
 
 void ipoib_flush_paths(struct net_device *dev);

  parent reply	other threads:[~2007-08-22  8:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22  8:28 [PATCH 0/10 Rev4] Implement skb batching and support in IPoIB Krishna Kumar
2007-08-22  8:28 ` [PATCH 1/10 Rev4] [Doc] HOWTO Documentation for batching Krishna Kumar
2007-08-22 15:50   ` [ofa-general] " Randy Dunlap
2007-08-23  2:48     ` Krishna Kumar2
2007-08-22  8:29 ` [PATCH 2/10 Rev4] [core] Add skb_blist & support " Krishna Kumar
2007-08-22  8:29 ` [PATCH 3/10 Rev4] [sched] Modify qdisc_run to support batching Krishna Kumar
2007-08-22  8:29 ` [PATCH 4/10 Rev4] [ethtool] Add ethtool support Krishna Kumar
2007-08-22  8:30 ` Krishna Kumar [this message]
2007-08-22  8:30 ` [PATCH 6/10 Rev4] [IPoIB] CM & Multicast changes Krishna Kumar
2007-08-22  8:30 ` [PATCH 7/10 Rev4] [IPoIB] Verbs changes Krishna Kumar
2007-08-22  8:31 ` [PATCH 8/10 Rev4] [IPoIB] Post and work completion handler changes Krishna Kumar
2007-08-22  8:31 ` [PATCH 9/10 Rev4] [IPoIB] Implement batching Krishna Kumar
2007-08-22  8:31 ` [PATCH 10/10 Rev4] [E1000] " Krishna Kumar
2007-08-22 14:39   ` [ofa-general] " Kok, Auke
2007-08-23  2:44     ` Krishna Kumar2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070822083013.11964.62026.sendpatchset@localhost.localdomain \
    --to=krkumar2@in$(echo .)ibm.com \
    --cc=Robert.Olsson@data$(echo .)slu.se \
    --cc=davem@davemloft$(echo .)net \
    --cc=gaagaan@gmail$(echo .)com \
    --cc=general@lists$(echo .)openfabrics.org \
    --cc=hadi@cyberus$(echo .)ca \
    --cc=herbert@gondor$(echo .)apana.org.au \
    --cc=jagana@us$(echo .)ibm.com \
    --cc=jeff@garzik$(echo .)org \
    --cc=johnpol@2ka$(echo .)mipt.ru \
    --cc=kaber@trash$(echo .)net \
    --cc=kumarkr@linux$(echo .)ibm.com \
    --cc=mcarlson@broadcom$(echo .)com \
    --cc=mchan@broadcom$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=peter.p.waskiewicz.jr@intel$(echo .)com \
    --cc=rdreier@cisco$(echo .)com \
    --cc=rick.jones2@hp$(echo .)com \
    --cc=shemminger@linux-foundation$(echo .)org \
    --cc=sri@us$(echo .)ibm.com \
    --cc=tgraf@suug$(echo .)ch \
    --cc=xma@us$(echo .)ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox