From owner-freebsd-net@freebsd.org Fri May 27 06:37:35 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 2CFDCB4CE23 for ; Fri, 27 May 2016 06:37:35 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (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 F285A100E for ; Fri, 27 May 2016 06:37:34 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id f144so25655209pfa.3 for ; Thu, 26 May 2016 23:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ragZqB4y4HnfbjfFo6/kP9jDPUR64bA9ceX2rhDSyA8=; b=odkVAJTFtDs6RBntjBkktZPRefG46onzWELSXmPzBzpu5tnm6KFR/Vp4IT3LFjUey4 clyoEPo3fx6bNwrWS1AxJrRoHsGg5folIgHRR9mnp8tx2kruwJdBB19kx9cXwypQYdy+ asviOsX9/sC2OQhVuuQ+C6oyk22TMy266+UBjnh0WdYIxI0OAnDAXUO10i8qOArVPHz3 +exIqWmjOpnlsPPb5iy8wsGleNnOlAMwZMRk7hOPcb5ax/e1msyAQNh/cUPN0GDB5E17 j42c4w/PxYUKEZ2AZLDB/MmSGpNmTTKTM5DkeWN6C2af/5oBnneCi21H9ayDIDGFJmeD Dgpg== 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:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=ragZqB4y4HnfbjfFo6/kP9jDPUR64bA9ceX2rhDSyA8=; b=d7vatazTYjbkVwBBieHxd/ItLtwWbGc5wsBpsIow3EsALBelZ3yTvz1gOrAfcObzgd /1iKfovXLdfM71/ocGivrvXLdSJLt0O0qKjn17GdspRtNHBHkyIfV3aBaMxq21lnhVUg NJghvI3YWsymoPnmgO2O/Q0svNHpPthQZrVMrj6FSfMQL7oy/cAlbDZ6g7PZM1InvFnx dATVW7DJhb2tKI3yB+EQzvHsvv9rQiWbh0+QrlXO+6+2EpgQuyl44aI2k2LqQdb2I5kU SJTscSUsnh0UB3hD1306YTWMyeU8ODrkQUfZ/9ZmOEdVzTZy08Y7ZYojcCGZq0hc9F4y PYVw== X-Gm-Message-State: ALyK8tKa8fza2RsNsDFRPGFEdixhrpbOMrLbiD5K08HQHBHcgTPbt81218j5N2BNyCn1Qw== X-Received: by 10.98.28.74 with SMTP id c71mr15778959pfc.131.1464331054525; Thu, 26 May 2016 23:37:34 -0700 (PDT) Received: from ox ([2601:641:c180:c600:29bb:647c:963d:7705]) by smtp.gmail.com with ESMTPSA id vw1sm25092827pab.35.2016.05.26.23.37.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 23:37:33 -0700 (PDT) Date: Thu, 26 May 2016 23:37:31 -0700 From: Navdeep Parhar To: Garrett Wollman Cc: dmarquess@gmail.com, freebsd-net@freebsd.org Subject: Re: Changing MTU on cxgbe Message-ID: <20160527063731.GB10148@ox> Mail-Followup-To: Garrett Wollman , dmarquess@gmail.com, freebsd-net@freebsd.org References: <201605270457.u4R4vYqu018911@hergotha.csail.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201605270457.u4R4vYqu018911@hergotha.csail.mit.edu> User-Agent: Mutt/1.5.24 (2015-08-30) 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:37:35 -0000 On Fri, May 27, 2016 at 12:57:34AM -0400, 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 This is not correct. You can change the MTU of a cxgbe/cxl interface at any time (whether it's up or down, passing traffic or idle, etc.). Regards, Navdeep