From owner-freebsd-stable@FreeBSD.ORG Mon Mar 3 01:16:54 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD77F1065672 for ; Mon, 3 Mar 2008 01:16:54 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 746B58FC14 for ; Mon, 3 Mar 2008 01:16:54 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so6157830wfa.7 for ; Sun, 02 Mar 2008 17:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=OTpZfFSEhEQd7i9VMfRdxBTXJfEggytHKXGoMtJYj7U=; b=TwDWjNuK1Vwr+vAZdoR4UK8XnUjXOt8AMFfWHFR9gLDprYVhSXJEdkVSGW4RFazMYSJZb3fxivvH4SqFhpQeO5LDY7yNGM460U3kw7tRp3kthIBJ41aCm2svA4UnRpKAYuAuHcAfP6cpWn+QSGtzx1ClcfgLhkzyZOBP22NtlGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ohZmhXFc/CTea7dyLSA2i1ijgfEcnECy9HlKjnFIBtmDSbzTWNa5NRxXdkS65zBeD0EctOIX8DqlidMFny3xiCY7u7qV15G/7RVjB+5kKktH81fQuk9OXCniv/qS5lWVdy/JJayZvKoA0xaGImRvMKTlZGhAIUJBtv8qIeCdITE= Received: by 10.142.79.15 with SMTP id c15mr8645509wfb.105.1204507013212; Sun, 02 Mar 2008 17:16:53 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 30sm25401596wff.11.2008.03.02.17.16.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Mar 2008 17:16:51 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m231GkBu073311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Mar 2008 10:16:46 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m231GhVH073310; Mon, 3 Mar 2008 10:16:43 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 3 Mar 2008 10:16:43 +0900 From: Pyun YongHyeon To: Kurt Jaeger Message-ID: <20080303011643.GD72895@cdnetworks.co.kr> References: <20080229104107.GA31985@home.opsec.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080229104107.GA31985@home.opsec.eu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: PAUSE support for Ethernet interfaces ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 01:16:54 -0000 On Fri, Feb 29, 2008 at 11:41:07AM +0100, Kurt Jaeger wrote: > Hi! > > I'm researching the topic of PAUSE counters (receiving side) for > FreeBSD systems. > > That's a sort of flow control with ethernet, see e.g.: > > http://www.techfest.com/networking/lan/ethernet3.htm#3.2.1 > > Cisco switches seem to receive and count them, which helps > to find short-term (seconds) overloaded links. FreeBSD has no such framework in mii layer yet so it's completely up to driver. em(4) handles flow-control in driver so it can handle flow-control. > Can FreeBSD 6.x or 7.x handle PAUSE frames, at least receiving them ? > Receiving pause frames have no problem on any driver but most drivers does not respond with the pause frames. AFAIK marius@ has a flow-control patch so I guess FreeBSD will have generic flow-control capability which will make it available on all ethernet drivers with minor modification. > Thanks for any pointer! > -- Regards, Pyun YongHyeon