Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 11:12:33 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: Per-interface polling(4) status
Message-ID:  <40796061.1020200@mac.com>
In-Reply-To: <20040410222112.GA23046@ip.net.ua>
References:  <20040410222112.GA23046@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
[ ... ]
> Points I'm not sure about, and would like to hear the comments on:
> 
> - Should the initial polling status be on or off, on interfaces
>   that support it?  The current version of the patch makes it
>   off by default.

Given that polling will only take place if kern.polling.enable is set, 
IFF_POLLING can be enabled by default safely and changing the global sysctl 
will enable or disable all polling-capable interfaces, which retains the 
current behavior.

> - Should I add the code to ether_poll_register() to sanity check
>   that the interface doesn't attempt to register itself more
>   than once?

Sure.  I don't see how having an interface registered multiple times will do 
any good....?

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40796061.1020200>