From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 17:45:15 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA1E8106564A for ; Wed, 23 Feb 2011 17:45:15 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2EA8FC18 for ; Wed, 23 Feb 2011 17:45:14 +0000 (UTC) Received: by eyg7 with SMTP id 7so1609186eyg.13 for ; Wed, 23 Feb 2011 09:45:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=sSlnDJofTAX2+lz0LLFKCFdHHCKM1LX1taiCpgyJ1SU=; b=oX/uwLj7GO6dcMTh3V2/tm0ZqPI4v3JwM+/RdziEJ/gBj4H7voWCmHIyC+KLHkF61N 18zz8i5eEG98YiN/rCthHzK3/xMuaoRQMjeNM3MpAofCbFu96tSgA1QIut96p+67rzck be/8jacQZIXWM+G6mF8qgAw8WqXjXunKEQwtA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DzX2mSZwkeV7nFetcqhN72q/HtojhWoXpWLFB0tBwLtiJ+Tm+3hAYtIpLvT5FpNpnQ bXEYaZxIha9mYrQSkdVYghBXFN6qxKyLyCmzuXRtrshT2shHf39vxEWIxxmmYYKrr+GJ NMZJP2usru/I0AUB6dZvUQlILO4aLIcz/GCuM= MIME-Version: 1.0 Received: by 10.213.7.67 with SMTP id c3mr295813ebc.68.1298482743768; Wed, 23 Feb 2011 09:39:03 -0800 (PST) Received: by 10.213.20.135 with HTTP; Wed, 23 Feb 2011 09:39:03 -0800 (PST) In-Reply-To: References: Date: Wed, 23 Feb 2011 12:39:03 -0500 Message-ID: From: Ryan Stone To: freebsd-net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: New device_polling algorithm X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 17:45:15 -0000 A couple of things that I forgot: - Note that DEVICE_POLLING is not included in GENERIC. You'll have to add the following to your kernel config to get polling support: options DEVICE_POLLING - you can enable polling on a interface with ifconfig(provided the driver supports polling) ifconfig polling - Thanks to attilio@ and emaste@ for reviewing the patch Ryan