netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* examples of setting ip address/netmask/etc.. on a device
@ 2006-12-12 21:01 Kumar Gala
  2006-12-12 22:08 ` Roland Dreier
  2006-12-13  4:48 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Kumar Gala @ 2006-12-12 21:01 UTC (permalink / raw)
  To: Netdev

I was wondering if there were any examples of net devices that expect  
to be told the ip information for their connection (things doing  
forms of offload).  If so can someone point me at a driver that does  
this.

- kumar

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

* Re: examples of setting ip address/netmask/etc.. on a device
  2006-12-12 21:01 examples of setting ip address/netmask/etc.. on a device Kumar Gala
@ 2006-12-12 22:08 ` Roland Dreier
  2006-12-13  4:48 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Roland Dreier @ 2006-12-12 22:08 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Netdev

 > I was wondering if there were any examples of net devices that expect
 > to be told the ip information for their connection (things doing
 > forms of offload).  If so can someone point me at a driver that does
 > this.

I don't know much about the HW details but drivers/infiniband/hw/amso1100
does something like that.  drivers/infiniband is somewhat misnamed
these days but amso1100 is a driver for RDMA over ethernet hardware.

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

* Re: examples of setting ip address/netmask/etc.. on a device
  2006-12-12 21:01 examples of setting ip address/netmask/etc.. on a device Kumar Gala
  2006-12-12 22:08 ` Roland Dreier
@ 2006-12-13  4:48 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2006-12-13  4:48 UTC (permalink / raw)
  To: Kumar Gala; +Cc: netdev

Kumar Gala <galak@kernel.crashing.org> wrote:
> I was wondering if there were any examples of net devices that expect  
> to be told the ip information for their connection (things doing  
> forms of offload).  If so can someone point me at a driver that does  
> this.

Try drivers/s390/net/qeth_main.c.  Of course, it's best to avoid this
if at all possible.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

end of thread, other threads:[~2006-12-13  5:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 21:01 examples of setting ip address/netmask/etc.. on a device Kumar Gala
2006-12-12 22:08 ` Roland Dreier
2006-12-13  4:48 ` Herbert Xu

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