netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Krishna Kumar <kumarkr@us.ibm.com>
Cc: "David S. Miller" <davem@redhat.com>,
	ajtuomin@tml.hut.fi, kkumar@beaverton.ibm.com.sgi.com,
	kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org,
	lpetande@tml.hut.fi, netdev@oss.sgi.com,
	Venkata Jagana <jagana@us.ibm.com>,
	yoshfuji@wide.ad.jp
Subject: Re: [PATCHSET] Mobile IPv6 for 2.5.45
Date: Sat, 02 Nov 2002 03:23:53 -0500	[thread overview]
Message-ID: <3DC38B99.6080703@pobox.com> (raw)
In-Reply-To: OFCFEE31E7.E8F27031-ON88256C65.00068E7B@boulder.ibm.com

Krishna Kumar wrote:

>Hi Dave,
>
>  
>
>>None of the things you've listed make it desirable to put the home
>>agent registration into the kernel.  All of the operations you
>>describe could be invoked by the userland home agent daemon using very
>>minimal glue logic in the kernel (invoked, for example, via netlink
>>messages).
>>    
>>
>
>I had a couple of comments about putting the registration part in
>userspace.
>When the HA gets a registration request, it needs to perform the following
>actions :
>        1. perform DAD
>        2. get the list of prefixes supported on the home link of the MN.
>        3. create a tunnel between the HA and the MN
>        4. join the solicited node multicast group of the MN's home
>address.
>        5. add the MN's home address to the list of proxy neigh cache entry
>for the HA.
>        6. Send NA on behalf of the MN
>        7. add the new location of the MN in the binding cache.
>        8. and finally send the Binding Registration Success/Failure
>message.
>
>In the above list, the only activities which can be done in userspace are
>#7 and #8 (that I am aware of). The rest of the items can only be done in
>the
>kernel, atleast we need to move the support to kernel. If the HA
>registration
>is completely moved to userspace, it would still need these facilities (#1
>to #6) in the kernel to perform the actions for registration. So even with
>netlink
>we still need the infrastructure in the kernel.
>  
>

Heck no -- the list you sent only further enforces the notion that most 
of this can be in userspace.

Sure, some of the facilities you list are completely in the kernel -- 
but it is best IMO to control them from userspace.  That allows for 
flexibility when it comes to policy decisions being made (if any) as 
well as increased cleanliness of kernel code.

    Jeff

  parent reply	other threads:[~2002-11-02  8:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-02  1:15 [PATCHSET] Mobile IPv6 for 2.5.45 Krishna Kumar
2002-11-02  3:00 ` YOSHIFUJI Hideaki / 吉藤英明
2002-11-02  8:36   ` Pekka Savola
2002-11-02  8:23 ` Jeff Garzik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-02 21:13 Krishna Kumar
2002-11-03  2:23 ` Werner Almesberger
2002-11-02  0:32 Venkata Jagana
2002-11-01  6:51 Venkata Jagana
2002-11-01 10:37 ` David S. Miller
2002-11-01  2:19 Krishna Kumar
2002-11-01  2:17 ` David S. Miller
2002-11-01  2:36   ` YOSHIFUJI Hideaki / 吉藤英明

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DC38B99.6080703@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=ajtuomin@tml.hut.fi \
    --cc=davem@redhat.com \
    --cc=jagana@us.ibm.com \
    --cc=kkumar@beaverton.ibm.com.sgi.com \
    --cc=kumarkr@us.ibm.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpetande@tml.hut.fi \
    --cc=netdev@oss.sgi.com \
    --cc=yoshfuji@wide.ad.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).