Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 00:57:34 -0400 (EDT)
From:      Garrett Wollman <wollman@hergotha.csail.mit.edu>
To:        dmarquess@gmail.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: Changing MTU on cxgbe
Message-ID:  <201605270457.u4R4vYqu018911@hergotha.csail.mit.edu>
References:  <CAJpsHY4vF5Ky6GuAusLOOROgiQuyD2CcRmVxu8x3cArQRZxcbg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <CAJpsHY4vF5Ky6GuAusLOOROgiQuyD2CcRmVxu8x3cArQRZxcbg@mail.gmail.com> you write:

># ifconfig -m cxgbe0
>cxgbe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>

># 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605270457.u4R4vYqu018911>