Changing MTU on cxgbe

Garrett Wollman wollman at hergotha.csail.mit.edu
Fri May 27 04:57:37 UTC 2016


In article <CAJpsHY4vF5Ky6GuAusLOOROgiQuyD2CcRmVxu8x3cArQRZxcbg at 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



More information about the freebsd-net mailing list