Messages in this thread Patch in this message | | | From | Ed L Cashin <> | Subject | [PATCH] ETH_P_AOE (was Re: [PATCH] ATA over Ethernet driver for 2.6.10-rc3-bk11) | Date | Mon, 20 Dec 2004 11:21:05 -0500 |
| |
Scott Feldman <sfeldma@pobox.com> writes:
> On Fri, 2004-12-17 at 07:38, Ed L Cashin wrote: > >> + ETH_P_AOE = 0x88a2, > > include/linux/if_ether.h already defines this as ETH_P_EDP2=0x88A2; use > that.
Ah, that's old. It's not just "EtherDrive protocol" but the ATA over Ethernet protocol.
Here's a patch for 2.6.10-rc3-bk11 that goes on top of the aoe patch in this thread.
diff -urNp linux-2.6.10-rc3-bk11-aoe/drivers/block/aoe/aoe.h linux-2.6.10-rc3-bk11-aoe-2/drivers/block/aoe/aoe.h --- linux-2.6.10-rc3-bk11-aoe/drivers/block/aoe/aoe.h 2004-12-20 11:15:04.000000000 -0500 +++ linux-2.6.10-rc3-bk11-aoe-2/drivers/block/aoe/aoe.h 2004-12-20 11:16:23.000000000 -0500 @@ -26,7 +26,6 @@ enum { AOECCMD_FSET, AOE_HVER = 0x10, - ETH_P_AOE = 0x88a2, }; struct aoe_hdr { diff -urNp linux-2.6.10-rc3-bk11-aoe/include/linux/if_ether.h linux-2.6.10-rc3-bk11-aoe-2/include/linux/if_ether.h --- linux-2.6.10-rc3-bk11-aoe/include/linux/if_ether.h 2004-12-20 10:51:20.000000000 -0500 +++ linux-2.6.10-rc3-bk11-aoe-2/include/linux/if_ether.h 2004-12-20 11:16:55.000000000 -0500 @@ -69,7 +69,7 @@ #define ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport * over Ethernet */ -#define ETH_P_EDP2 0x88A2 /* Coraid EDP2 */ +#define ETH_P_AOE 0x88A2 /* ATA over Ethernet */ /* * Non DIX types. Won't clash for 1500 types.
-- Ed L Cashin <ecashin@coraid.com>
| |