netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
@ 2005-10-03 18:48 Hal Rosenstock
  2005-10-03 20:54 ` Stephen Hemminger
  2005-10-03 21:29 ` Roland Dreier
  0 siblings, 2 replies; 10+ messages in thread
From: Hal Rosenstock @ 2005-10-03 18:48 UTC (permalink / raw)
  To: netdev; +Cc: openib-general

netdevice.h: Add RDMA private pointer to the net_device structure

Signed-off-by: Hal Rosenstock <halr@voltaire.com>

--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -366,6 +366,7 @@ struct net_device
        void                    *ip6_ptr;       /* IPv6 specific data */
        void                    *ec_ptr;        /* Econet specific data */
        void                    *ax25_ptr;      /* AX.25 specific data */
+       void                    *rdma_ptr;      /* RDMA specific data */
 
 /*
  * Cache line mostly used on receive path (including eth_type_trans())

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 20:54 ` Stephen Hemminger
@ 2005-10-03 20:53   ` Hal Rosenstock
  2005-10-03 21:30   ` Roland Dreier
  1 sibling, 0 replies; 10+ messages in thread
From: Hal Rosenstock @ 2005-10-03 20:53 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, openib-general

On Mon, 2005-10-03 at 16:54, Stephen Hemminger wrote:
> On 03 Oct 2005 14:48:44 -0400
> Hal Rosenstock <halr@voltaire.com> wrote:
> 
> > netdevice.h: Add RDMA private pointer to the net_device structure
> > 
> > Signed-off-by: Hal Rosenstock <halr@voltaire.com>
> 
> Who is going to use it? Is RDMA being submitted for code review?

IB (and ultimately RDMA) will use it.

-- Hal

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 18:48 [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure Hal Rosenstock
@ 2005-10-03 20:54 ` Stephen Hemminger
  2005-10-03 20:53   ` Hal Rosenstock
  2005-10-03 21:30   ` Roland Dreier
  2005-10-03 21:29 ` Roland Dreier
  1 sibling, 2 replies; 10+ messages in thread
From: Stephen Hemminger @ 2005-10-03 20:54 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: netdev, openib-general

On 03 Oct 2005 14:48:44 -0400
Hal Rosenstock <halr@voltaire.com> wrote:

> netdevice.h: Add RDMA private pointer to the net_device structure
> 
> Signed-off-by: Hal Rosenstock <halr@voltaire.com>

Who is going to use it? Is RDMA being submitted for code review?

-- 
Stephen Hemminger <shemminger@osdl.org>
OSDL http://developer.osdl.org/~shemminger

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 21:29 ` Roland Dreier
@ 2005-10-03 21:26   ` Hal Rosenstock
  2005-10-03 21:35     ` Roland Dreier
  2005-10-03 21:34   ` David S. Miller
  1 sibling, 1 reply; 10+ messages in thread
From: Hal Rosenstock @ 2005-10-03 21:26 UTC (permalink / raw)
  To: Roland Dreier; +Cc: netdev, openib-general

On Mon, 2005-10-03 at 17:29, Roland Dreier wrote:
>     Hal> netdevice.h: Add RDMA private pointer to the net_device structure
> 
> I don't think there's any point in making this change until we have
> some code that will use the pointer.

We will have this shortly. I have been waiting for this to propose the
changes to SDP et al.

-- Hal

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 18:48 [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure Hal Rosenstock
  2005-10-03 20:54 ` Stephen Hemminger
@ 2005-10-03 21:29 ` Roland Dreier
  2005-10-03 21:26   ` Hal Rosenstock
  2005-10-03 21:34   ` David S. Miller
  1 sibling, 2 replies; 10+ messages in thread
From: Roland Dreier @ 2005-10-03 21:29 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: netdev, openib-general

    Hal> netdevice.h: Add RDMA private pointer to the net_device structure

I don't think there's any point in making this change until we have
some code that will use the pointer.

 - R.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 20:54 ` Stephen Hemminger
  2005-10-03 20:53   ` Hal Rosenstock
@ 2005-10-03 21:30   ` Roland Dreier
  1 sibling, 0 replies; 10+ messages in thread
From: Roland Dreier @ 2005-10-03 21:30 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: openib-general, netdev

    Stephen> Who is going to use it? Is RDMA being submitted for code
    Stephen> review?

I agree that we should hold off on this until there's an in-tree user.
However, just as a clarification, we're trying to move from "ib" to
"rdma" nomenclature as we try to make the existing kernel InfiniBand
layer a more generic layer than can support both IB and iWARP.  So new
code should use "rdma" names.

 - R.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 21:29 ` Roland Dreier
  2005-10-03 21:26   ` Hal Rosenstock
@ 2005-10-03 21:34   ` David S. Miller
  1 sibling, 0 replies; 10+ messages in thread
From: David S. Miller @ 2005-10-03 21:34 UTC (permalink / raw)
  To: rolandd; +Cc: openib-general, netdev

From: Roland Dreier <rolandd@cisco.com>
Date: Mon, 03 Oct 2005 14:29:08 -0700

>     Hal> netdevice.h: Add RDMA private pointer to the net_device structure
> 
> I don't think there's any point in making this change until we have
> some code that will use the pointer.

I definitely agree.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 21:26   ` Hal Rosenstock
@ 2005-10-03 21:35     ` Roland Dreier
  2005-10-03 21:50       ` Hal Rosenstock
  0 siblings, 1 reply; 10+ messages in thread
From: Roland Dreier @ 2005-10-03 21:35 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: netdev, openib-general

    Hal> We will have this shortly. I have been waiting for this to
    Hal> propose the changes to SDP et al.

OK, but I don't think it makes sense to merge this upstream until
there is in-tree code that will use it.

 - R.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 21:35     ` Roland Dreier
@ 2005-10-03 21:50       ` Hal Rosenstock
  2005-10-03 22:17         ` Roland Dreier
  0 siblings, 1 reply; 10+ messages in thread
From: Hal Rosenstock @ 2005-10-03 21:50 UTC (permalink / raw)
  To: Roland Dreier; +Cc: netdev, openib-general

On Mon, 2005-10-03 at 17:35, Roland Dreier wrote:
>     Hal> We will have this shortly. I have been waiting for this to
>     Hal> propose the changes to SDP et al.
> 
> OK, but I don't think it makes sense to merge this upstream until
> there is in-tree code that will use it.

I wanted to get this in so I could add the code to IPoIB to use this so SDP
and others no longer poke at IPoIB's private data. This is a small
change. Should this change be made locally (in OpenIB) first (and we'll
have our own modified netdevice.h for a short time) ?

-- Hal

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure
  2005-10-03 21:50       ` Hal Rosenstock
@ 2005-10-03 22:17         ` Roland Dreier
  0 siblings, 0 replies; 10+ messages in thread
From: Roland Dreier @ 2005-10-03 22:17 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: netdev, openib-general

    Hal> I wanted to get this in so I could add the code to IPoIB to
    Hal> use this so SDP and others no longer poke at IPoIB's private
    Hal> data. This is a small change. Should this change be made
    Hal> locally (in OpenIB) first (and we'll have our own modified
    Hal> netdevice.h for a short time) ?

Yes, I think that's the way to develop this sort of thing.

 - R.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-10-03 22:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 18:48 [PATCH] netdevice.h: Add RDMA private pointer to the net_device structure Hal Rosenstock
2005-10-03 20:54 ` Stephen Hemminger
2005-10-03 20:53   ` Hal Rosenstock
2005-10-03 21:30   ` Roland Dreier
2005-10-03 21:29 ` Roland Dreier
2005-10-03 21:26   ` Hal Rosenstock
2005-10-03 21:35     ` Roland Dreier
2005-10-03 21:50       ` Hal Rosenstock
2005-10-03 22:17         ` Roland Dreier
2005-10-03 21:34   ` David S. Miller

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).