From owner-freebsd-net@FreeBSD.ORG Tue May 18 17:31:42 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7687E1065670; Tue, 18 May 2010 17:31:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB218FC0C; Tue, 18 May 2010 17:31:41 +0000 (UTC) Received: by pxi7 with SMTP id 7so1982424pxi.13 for ; Tue, 18 May 2010 10:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=R1aPfXE034RWz6sybshAIJmPeKxAGjxSSBpZw/YeLEI=; b=cQMsS/S12s/5WLSOwmHl2NySArju0IaGxkFNFneCH6Fz/ziGZ1xet5LfWQpm/PzF9a dU7DXYM7LOmPFQlAFu2+En9ZNhn9XG9JKj70sZBGZnAi3EnXFpDen5aHJNFFsv/kRYGy 8Wu9hmrB99+xRVjRHghdyrpZsjr+E4w+lH+XY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=tE7VCRJ1Z+BUB2jfNvQ5HyfP86XK4ajj0IdoJUCJXjDZF+HIfxNJroUEZX/gu0D4kV XBOgwVlYDST4jRHe4IkPJt7j5XHo2bxQFc3KGkNPXVmhzZtUHqUor1RCm+GyfDzz0Moi 9Qji9HXx1ele5P4Azp/FKwQk8RD0p+7BOoHIU= Received: by 10.115.100.15 with SMTP id c15mr6212944wam.11.1274203901551; Tue, 18 May 2010 10:31:41 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 33sm60354799wad.20.2010.05.18.10.31.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 10:31:39 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 18 May 2010 10:30:32 -0700 From: Pyun YongHyeon Date: Tue, 18 May 2010 10:30:32 -0700 To: John Baldwin Message-ID: <20100518173032.GC5968@michelle.cdnetworks.com> References: <201005181315.37609.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005181315.37609.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: Navdeep Parhar , net@freebsd.org Subject: Re: Configuring flow control for network interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 17:31:42 -0000 On Tue, May 18, 2010 at 01:15:37PM -0400, John Baldwin wrote: > I think it would be useful if we could pick a device-independent interface for > configuring flow control on network interfaces, perhaps as media options via > ifconfig. I know that the msk(4) driver allows RX and TX flow control to be > toggled via the link0 and link1 flags (the manpage for msk(4) needs updating > on this topic I think). I have a hack for work to disable TX flow control on The hack used in e1000phy(4), brgphy(4) and ip1000phy(4) should be removed. > cxgb(4), but it doesn't use flow control currently. Is flow control ethernet- > specific? If so, perhaps we could add two new flags for RX and TX flow > control to the Ethernet-specific options in that case? Do folks have other > ideas? > AFAIK marius@ is working on it and may have latest patches.