Re: [PATCH] ATA over Ethernet driver for 2.6.9

From: Alan Cox
Date: Mon Dec 06 2004 - 12:18:32 EST


On Llu, 2004-12-06 at 16:21, Jan-Benedict Glaw wrote:
> > Like IP, AoE is an ethernet-level network protocol, registered with
> > the IEEE. Unlike IP, AoE is not routable.
>
> So AoE is out of scope for many uses...

Take a look at their product range and you'll see the intended uses. For
those I'm not sure routability actually matters too much. In addition
you'd want to tunnel it on a shared LAN to add crypto.

> > + n = lhget32(p+4);
> > + n <<= 32;
> > + return n |= lhget32(p);
> > +}
>
> There are function available for this, look at the endianess header
> files.

Ed:
cpu_to_le32() and friends to be more exact. These also have the
advantage they've been optimised and are asm on some systems.

> After all, especially keeping in mind that AoE isn't routeable, my
> thinking is that this had better written as a (E)NBD server process
> running in userspace. This way, you'd use the in-kernel NBD driver (or
> the ENBD which isn't in the kernel) and you the the routing stuff for
> free :)

Different problem space IMHO.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/