On Sun, Jul 24, 2011 at 9:43 PM, rpear...@systemfabricworks.com wrote:
+static __be64 rxe_mac_to_eui64(struct net_device *ndev)
+{
+ unsigned char *mac_addr = ndev-dev_addr;
+ __be64 eui64;
+ unsigned char *dst = (unsigned char *)eui64;
+
+ dst[0] = mac_addr[0] ^ 2;
+ dst[1] =
On Sun, Jul 24, 2011 at 9:43 PM, rpear...@systemfabricworks.com wrote:
(resending as plain text)
+static __be64 rxe_mac_to_eui64(struct net_device *ndev)
+{
+unsigned char *mac_addr = ndev-dev_addr;
+__be64 eui64;
+unsigned char *dst = (unsigned char *)eui64;
+
+dst[0] =
-Original Message-
From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma-
ow...@vger.kernel.org] On Behalf Of Bart Van Assche
Sent: Friday, August 05, 2011 1:48 PM
To: rpear...@systemfabricworks.com
Cc: linux-rdma@vger.kernel.org
Subject: Re: [patch v2 33/37] add rxe_net.c
implements kernel module that implements an interface between
ib_rxe and the netdev stack.
Signed-off-by: Bob Pearson rpear...@systemfabricworks.com
---
drivers/infiniband/hw/rxe/rxe_net.c | 580
1 file changed, 580 insertions(+)
Index: