Re: [PATCH] stacked ifs (was Re: [PATCH 02/12] handle multiple network paths to AoE device)

2007-07-18 Thread Jan Engelhardt
On Jul 16 2007 17:01, Greg KH wrote: >> >> > > ugh. Do this: >> > > >> > > do { >> > > if (t == d->htgt) >> > > continue; >> > > if (!(*t)->ifp->nd) >> > > continue; >> > > if ((*t)->nout >= (*t)->maxout) >> > > cont

Re: [PATCH] stacked ifs (was Re: [PATCH 02/12] handle multiple network paths to AoE device)

2007-07-16 Thread Greg KH
On Mon, Jul 16, 2007 at 03:31:55PM -0700, Andrew Morton wrote: > On Mon, 16 Jul 2007 18:17:44 -0400 > "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: > > > > ugh. Do this: > > > > > > do { > > > if (t == d->htgt) > > > continue; > > > if (!(*t)->ifp->nd) > > >

Re: [PATCH] stacked ifs (was Re: [PATCH 02/12] handle multiple network paths to AoE device)

2007-07-16 Thread Andrew Morton
On Mon, 16 Jul 2007 18:17:44 -0400 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: > > ugh. Do this: > > > > do { > > if (t == d->htgt) > > continue; > > if (!(*t)->ifp->nd) > > continue; > > if ((*t)->nout >= (*t)->maxout

[PATCH] stacked ifs (was Re: [PATCH 02/12] handle multiple network paths to AoE device)

2007-07-16 Thread Ed L. Cashin
On Mon, Jul 02, 2007 at 09:29:49PM -0700, Andrew Morton wrote: > On Tue, 26 Jun 2007 14:50:10 -0400 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: ... > > +static struct frame * > > +freeframe(struct aoedev *d) > > { > > + struct frame *f, *e; > > + struct aoetgt **t; > > + ulong n; > > + > > +

Re: [PATCH 02/12] handle multiple network paths to AoE device

2007-07-11 Thread Ed L. Cashin
On Mon, Jul 02, 2007 at 09:29:49PM -0700, Andrew Morton wrote: > On Tue, 26 Jun 2007 14:50:10 -0400 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: ... > > +loop: > > + skb = aoecmd_ata_id(d); > > spin_unlock_irqrestore(&d->lock, flags); > > + if (!skb && !msleep_interruptible(200)) { > > +

Re: [PATCH 02/12] handle multiple network paths to AoE device

2007-07-02 Thread Andrew Morton
On Tue, 26 Jun 2007 14:50:10 -0400 "Ed L. Cashin" <[EMAIL PROTECTED]> wrote: > Handle multiple network paths to AoE device. > > ... > > > struct buf *inprocess; /* the one we're currently working on */ > - ushort lostjumbo; > - ushort nframes; /* number of frames below */ >

[PATCH 02/12] handle multiple network paths to AoE device

2007-06-26 Thread Ed L. Cashin
Handle multiple network paths to AoE device. Signed-off-by: Ed L. Cashin <[EMAIL PROTECTED]> --- drivers/block/aoe/aoe.h| 58 +++-- drivers/block/aoe/aoeblk.c | 63 - drivers/block/aoe/aoechr.c | 14 +- drivers/block/aoe/aoecmd.c | 660 +-- d