Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2010 19:35:46 +0000
From:      "Robert N. M. Watson" <rwatson@freebsd.org>
To:        Qing Li <qingli@FreeBSD.org>
Cc:        src-committers@freebsd.org, Juli Mallett <jmallett@freebsd.org>, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, Julian Elischer <julian@elischer.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r205024 - head/sys/net
Message-ID:  <821C1A82-27B6-4E09-9B56-93A687BE6445@freebsd.org>
In-Reply-To: <9ace436c1003121056q1ebc90f6gf9f87c54dd187a20@mail.gmail.com>
References:  <201003111756.o2BHukJu042449@svn.freebsd.org> <alpine.BSF.2.00.1003112128020.97017@fledge.watson.org> <9ace436c1003111530s3bd0de9cq451671909fb6aa64@mail.gmail.com> <eaa228be1003111535s12febe62x91124b0a015fd0ff@mail.gmail.com> <9ace436c1003111539t2af8439cn315c695d4b90e28d@mail.gmail.com> <eaa228be1003111607s4e78fe73k26a67161642d510d@mail.gmail.com> <4B99EA09.80108@elischer.org> <20100312151931.GS37184@FreeBSD.org> <9ace436c1003121056q1ebc90f6gf9f87c54dd187a20@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mar 12, 2010, at 6:56 PM, Qing Li wrote:

> Right now I like to implement Robert's suggestion of using if_capabilities
> field. I'd like to create a new flag, IFCAP_LINKSTATE_NOTIFY flag.
> The routing decision will check against the if_link_state if this bit
> is set.
> 
> Only a handful of drivers have this capability. So updating those drivers
> is a small task.
> 
> Do we agree on this approach?

I'm good with this approach -- do you mind going with IFCAP_LINKSTATE or something similarly a bit shorter? Most of the other capability names are pretty short, and it will prevent the display in ifconfig from growing too much as the capability will be common.

Thanks!

Robert


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?821C1A82-27B6-4E09-9B56-93A687BE6445>