* [PATCH] net: Add the FCoE Initialization Protocol ethertype
@ 2009-05-01 18:55 Robert Love
2009-05-01 22:04 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Robert Love @ 2009-05-01 18:55 UTC (permalink / raw)
To: davem, netdev
FIP is the FCoE Initialization Protocol and this patch
adds the protocol ethertype to the kernel's list of
ethertypes.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
---
include/linux/if_ether.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index cfe4fe1..60e8934 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -79,6 +79,7 @@
#define ETH_P_AOE 0x88A2 /* ATA over Ethernet */
#define ETH_P_TIPC 0x88CA /* TIPC */
#define ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */
+#define ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */
#define ETH_P_EDSA 0xDADA /* Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ] */
/*
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Add the FCoE Initialization Protocol ethertype
2009-05-01 18:55 [PATCH] net: Add the FCoE Initialization Protocol ethertype Robert Love
@ 2009-05-01 22:04 ` David Miller
2009-05-01 22:53 ` Love, Robert W
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2009-05-01 22:04 UTC (permalink / raw)
To: robert.w.love; +Cc: netdev
From: Robert Love <robert.w.love@intel.com>
Date: Fri, 01 May 2009 11:55:32 -0700
> FIP is the FCoE Initialization Protocol and this patch
> adds the protocol ethertype to the kernel's list of
> ethertypes.
>
> Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
> Signed-off-by: Robert Love <robert.w.love@intel.com>
You can add this value, when you add the protocol implementation
into the upstream sources.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] net: Add the FCoE Initialization Protocol ethertype
2009-05-01 22:04 ` David Miller
@ 2009-05-01 22:53 ` Love, Robert W
2009-05-01 22:56 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Love, Robert W @ 2009-05-01 22:53 UTC (permalink / raw)
To: David Miller, James Bottomley; +Cc: netdev@vger.kernel.org
David Miller wrote:
> From: Robert Love <robert.w.love@intel.com>
> Date: Fri, 01 May 2009 11:55:32 -0700
>
>> FIP is the FCoE Initialization Protocol and this patch
>> adds the protocol ethertype to the kernel's list of ethertypes.
>>
>> Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
>> Signed-off-by: Robert Love <robert.w.love@intel.com>
>
> You can add this value, when you add the protocol implementation
> into the upstream sources.
The FIP implementation is upstream, in drivers/scsi/libfcoe.c.
There is a local define in include/scsi/fc/fc_fip.h for ETH_P_FCOE
and I'd rather move it to the propper location.
include/scsi/fc/fc_fip.h:28:#ifndef ETH_P_FIP
include/scsi/fc/fc_fip.h:29:#define ETH_P_FIP 0x8914 /* FIP Ethertype */
One thing to note is that I will later push a patch to linux-scsi
to remove the define in fc_fip.h. It may be preferable to do both
operations in one patch, but I was worried about cross-subsystem
conflicts with other patches to either netdev or fcoe code. I can
refresh this patch to include the fc_fip.h removal and you and James
can decide who takes the patch if that's a better aproach.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Add the FCoE Initialization Protocol ethertype
2009-05-01 22:53 ` Love, Robert W
@ 2009-05-01 22:56 ` David Miller
2009-05-01 22:57 ` Love, Robert W
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2009-05-01 22:56 UTC (permalink / raw)
To: robert.w.love; +Cc: James.Bottomley, netdev
From: "Love, Robert W" <robert.w.love@intel.com>
Date: Fri, 1 May 2009 15:53:32 -0700
> The FIP implementation is upstream, in drivers/scsi/libfcoe.c.
> There is a local define in include/scsi/fc/fc_fip.h for ETH_P_FCOE
> and I'd rather move it to the propper location.
Then add that local definition removal to your patch so there is
no mystery about what this is used for.
> I can refresh this patch to include the fc_fip.h removal and you and
> James can decide who takes the patch if that's a better aproach.
That works much better, and to avoid merge issues you can send it
via James with my pre-ack:
Acked-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] net: Add the FCoE Initialization Protocol ethertype
2009-05-01 22:56 ` David Miller
@ 2009-05-01 22:57 ` Love, Robert W
0 siblings, 0 replies; 5+ messages in thread
From: Love, Robert W @ 2009-05-01 22:57 UTC (permalink / raw)
To: David Miller
Cc: James.Bottomley@HansenPartnership.com, netdev@vger.kernel.org
David Miller wrote:
> From: "Love, Robert W" <robert.w.love@intel.com>
> Date: Fri, 1 May 2009 15:53:32 -0700
>
>> The FIP implementation is upstream, in drivers/scsi/libfcoe.c.
>> There is a local define in include/scsi/fc/fc_fip.h for ETH_P_FCOE
>> and I'd rather move it to the propper location.
>
> Then add that local definition removal to your patch so there is
> no mystery about what this is used for.
>
>> I can refresh this patch to include the fc_fip.h removal and you and
>> James can decide who takes the patch if that's a better aproach.
>
> That works much better, and to avoid merge issues you can send it
> via James with my pre-ack:
>
> Acked-by: David S. Miller <davem@davemloft.net>
Will do, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-01 22:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 18:55 [PATCH] net: Add the FCoE Initialization Protocol ethertype Robert Love
2009-05-01 22:04 ` David Miller
2009-05-01 22:53 ` Love, Robert W
2009-05-01 22:56 ` David Miller
2009-05-01 22:57 ` Love, Robert W
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).