From owner-freebsd-net@freebsd.org Fri May 27 06:01:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61508B4C472 for ; Fri, 27 May 2016 06:01:00 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3246A152A for ; Fri, 27 May 2016 06:01:00 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-pa0-x22c.google.com with SMTP id xk12so36853727pac.0 for ; Thu, 26 May 2016 23:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=C/SRH6IE6UBsJl19OWqRnKfK0HytzLnHkZTzkwkP23A=; b=x6TlC8vo3LjqVGMS8QOUQ8SjK+aifpyz6VlnMXjkBvCPVUzr7R03ZRApvqwPoLDz2Y WBCY4j+Fq6JhFe2AUqCjiCYt/duZzr/rMjlwBsO5d0Q5KFfOktaufG39YSZf2Uo5wfp4 q7KeHs0rhHOdJnVJuRXYqZSAbF669oO1Xwuv/ErmzL6rzjUQhq06wqSAHAN5rZZZln/R R6MYFBwp1DVyBlCYuSynsHk+lPnI3uiM4JLfPk8piMyOAMlFqeI83YOHFHketiMxUDlM JrzAYamdpdCWmJ+MogqCvKcdF50l3dwPdeEHKM4Uq7H6nVa/gxih48a0kWeoJTGz0RLG ekuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=C/SRH6IE6UBsJl19OWqRnKfK0HytzLnHkZTzkwkP23A=; b=GAnYH3lJZQtgE2zCiVh8NLfXUm0+xflrSU+OkgpnQ+UzEOI7RmX1DJGGDvVyRVSVCu tplmya4BCdT/dD/kAkukQM9w/tvv3y3DhMVpusDDcBe3/xa8p+yifenG2DWW0m1HvaLz IN+nt4LdBSwH1OZI1q1kGbrLOaz8OLriB2Fh6odpkq4uV2gx/5VyJMIN82+0PN9IhLci +AbxyJ99WGOGjYEF6RWhNjWhO4NHKAeQs9jtTzW2WvKx3X34fT5LhoG7MUzVt+2R5HUZ XUJFe8fNVvMju8tsNG2tmFZ4orZXHh1EM7QoRNKSUj5qmXJ2J57GVMCIA6eLaiU1GTS5 QkyA== X-Gm-Message-State: ALyK8tK73Qc8crMptMtt3ITxjk01+1qBEIhUK6n9uDEIsLGeIbmL7KtksN30yNMZYZl+hQ== X-Received: by 10.66.164.195 with SMTP id ys3mr19531745pab.97.1464328859711; Thu, 26 May 2016 23:00:59 -0700 (PDT) Received: from mail.outlook.com (ec2-52-34-97-60.us-west-2.compute.amazonaws.com. [52.34.97.60]) by smtp.gmail.com with ESMTPSA id e2sm10327706pfd.20.2016.05.26.23.00.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 23:00:59 -0700 (PDT) Date: Fri, 27 May 2016 06:00:58 +0000 (UTC) From: Dustin Marquess To: Garrett Wollman Cc: Message-ID: In-Reply-To: <201605270457.u4R4vYqu018911@hergotha.csail.mit.edu> References: <201605270457.u4R4vYqu018911@hergotha.csail.mit.edu> Subject: Re: Changing MTU on cxgbe MIME-Version: 1.0 X-Mailer: Outlook for iOS and Android Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 06:01:00 -0000 I tried setting it via ifconfig_cxgbe0 in rc.conf, but that didn't seem to work either. -Dustin On Thu, May 26, 2016 at 9:57 PM -0700, "Garrett Wollman" wrote: In article you write: ># ifconfig -m cxgbe0 >cxgbe0: flags=8943 ># ifconfig cxgbe0 mtu 9000 >ifconfig: ioctl SIOCSIFMTU (set mtu): Invalid argument I believe this device, like many others, does not allow the MTU (or actually the MRU) to be changed once the receive ring has been set up You may be able to do it if you down the interface first, or you may have to do it at boot time before anything else (and in particular before the interface is marked "up" for the first time). -GAWollman