From owner-freebsd-net@freebsd.org Fri May 27 04:52:46 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 81641B46544 for ; Fri, 27 May 2016 04:52:46 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 56799147E for ; Fri, 27 May 2016 04:52:46 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-it0-x235.google.com with SMTP id l63so66550089ita.1 for ; Thu, 26 May 2016 21:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=EFgJJvXSUKCLiX+88jaAFX6OWsMolRadSyW3vTK+eN4=; b=YqvyzoeVvCZJbEI98gSO9eEPLY49c5Eo6/EJM4VDtS824H7pLAYO9D3D55wYTrlnhP klxil40jW37asNy9Xmv6tqPSVc0bMs33d1glXbhKcMyYflS2yy1DZgXalo/+SG1KHLHm CvL/F8ELo56BOiiNkNPUNDnzACTUyMGPxCeg0xRHvqGQzX2gkdKyuYlnWbgXiYyKa5Wj XSBmM1NLkdBc9MO/dbAiGNTL8XoxGvzkfccqYSApvKIBZJP4cqgS20X0Q6j/vZgMORtp 99Ko+IVdkJ3SJ8/D80WmhHJm3aXw17MKQxj5Cu7neoFgi9PX47DnvyHdtIqI4mQn45vN HWOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=EFgJJvXSUKCLiX+88jaAFX6OWsMolRadSyW3vTK+eN4=; b=GWO+vnzrhYgzmRTdwZ2AbmxzSDOYa8RAxlGRuhTa4LK/DGLsfkllybpphFzBfmz0Bw ciAUULHERBsWsFb3T1I6ubA2wg1446ubxofbmaCrLIBWJBKVm1mKXs7Ly82xh35HKXQJ s5uJMzx3PvOHr4NnscCO+T8nXUPyjhpjFC5iV5Y+sgwMXnSphnG24AFzFlE0kJJpHy5N O/Y2yEoZ/7B6SRcF4fS6PmGqHt2zkJf4O3jHhjSPjJFphyTsD9Bjp8TYPTYsvvhWi6p1 1ZYjmAa0SaWuJ2o419AUwN09eaBnPvkOHPlQ71SdfvUpGe9XI0aH4z/ceucQdQWzjjV/ ghmQ== X-Gm-Message-State: ALyK8tIQV+JxQM1xEkAxENa2l39RTRDeF64+Eck9ajIrbaVK67HeHVCryWdITq1ZZtsWSgpN5qIt6JYAsbR3EA== MIME-Version: 1.0 X-Received: by 10.36.65.168 with SMTP id b40mr6530292itd.10.1464324765643; Thu, 26 May 2016 21:52:45 -0700 (PDT) Received: by 10.107.148.69 with HTTP; Thu, 26 May 2016 21:52:45 -0700 (PDT) Date: Thu, 26 May 2016 23:52:45 -0500 Message-ID: Subject: Changing MTU on cxgbe From: Dustin Marquess To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 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 04:52:46 -0000 After my many issues with ixgbe & ixv, I ended up removing the Intel X520s with Chelsio T420-CR and the Intel X710s with Chelsio T520-CR. So far so good, except I can't seem to change the MTU away from 1500. In fact, ifconfig can't seem to change the mtu at all. On -CURRENT as of yesterday: # ifconfig -m cxgbe0 cxgbe0: flags=8943 metric 0 mtu 1500 options=ec07bb capabilities=ecc7bb ether 00:07:43:11:2b:80 nd6 options=29 media: Ethernet 10Gbase-Twinax status: active supported media: media 10Gbase-Twinax mediaopt full-duplex # ifconfig cxgbe0 mtu 9000 ifconfig: ioctl SIOCSIFMTU (set mtu): Invalid argument # ifconfig cxgbe0 mtu 1500 ifconfig: ioctl SIOCSIFMTU (set mtu): Invalid argument Any ideas? Also, the Chelsios don't seem to use iovctl to do SR-IOV like the Intels did (I'm using bhyve). I assume that's what the hw.cxgbe.num_vis loader setting is for? Thanks! -Dustin