Re: [PATCH 11/12 -Rev2] IPoIB xmit API addition

2007-07-23 Thread Krishna Kumar2
Hi Evgeniy, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote on 07/23/2007 04:18:26 PM: > > static void ipoib_ib_handle_tx_wc(struct net_device *dev, struct ib_wc *wc) > > { > > struct ipoib_dev_priv *priv = netdev_priv(dev); > > + int i = 0, num_completions; > > + int tx_ring_index = priv->t

Re: [PATCH 11/12 -Rev2] IPoIB xmit API addition

2007-07-23 Thread Evgeniy Polyakov
On Sun, Jul 22, 2007 at 02:36:49PM +0530, Krishna Kumar ([EMAIL PROTECTED]) wrote: > diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_ib.c > rev2/drivers/infiniband/ulp/ipoib/ipoib_ib.c > --- org/drivers/infiniband/ulp/ipoib/ipoib_ib.c 2007-07-20 > 07:49:28.0 +0530 > +++ rev2/driv

Re: [PATCH 11/12 -Rev2] IPoIB xmit API addition

2007-07-22 Thread Krishna Kumar2
Hi Micheal, "Michael S. Tsirkin" <[EMAIL PROTECTED]> wrote on 07/22/2007 03:11:36 PM: > > + /* > > +* Handle skbs completion from tx_tail to wr_id. It is possible to > > +* handle WC's from earlier post_sends (possible multiple) in this > > +* iteration as we move from tx_tail to wr

Re: [PATCH 11/12 -Rev2] IPoIB xmit API addition

2007-07-22 Thread Michael S. Tsirkin
> + /* > + * Handle skbs completion from tx_tail to wr_id. It is possible to > + * handle WC's from earlier post_sends (possible multiple) in this > + * iteration as we move from tx_tail to wr_id, since if the last > + * WR (which is the one which had a completion request) f

[PATCH 11/12 -Rev2] IPoIB xmit API addition

2007-07-22 Thread Krishna Kumar
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_ib.c rev2/drivers/infiniband/ulp/ipoib/ipoib_ib.c --- org/drivers/infiniband/ulp/ipoib/ipoib_ib.c 2007-07-20 07:49:28.0 +0530 +++ rev2/drivers/infiniband/ulp/ipoib/ipoib_ib.c2007-07-22 00:08:37.0 +0530 @@ -242,8 +242,9 @@