From owner-freebsd-cloud@freebsd.org Mon Oct 31 21:57:23 2016 Return-Path: Delivered-To: freebsd-cloud@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 2701EC28695 for ; Mon, 31 Oct 2016 21:57:23 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0ED2F1F51 for ; Mon, 31 Oct 2016 21:57:22 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from la-dgt-31327.usa.tribune.com (nat-192-187-90-113.nat.tribpub.com [192.187.90.113]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 1c2781fe TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 31 Oct 2016 14:57:22 -0700 (PDT) Subject: Re: xn0 systat no egress data? To: Colin Percival , freebsd-cloud@freebsd.org References: <8be5174c-fcd5-0e5b-921f-5cfc31e99c4f@nomadlogic.org> <010001581c9246a1-331188e9-2263-4600-abb3-09efc7ea3026-000000@email.amazonses.com> From: Pete Wright Message-ID: Date: Mon, 31 Oct 2016 14:57:21 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <010001581c9246a1-331188e9-2263-4600-abb3-09efc7ea3026-000000@email.amazonses.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 21:57:23 -0000 On 10/31/16 2:08 PM, Colin Percival wrote: > On 10/31/16 13:44, Pete Wright wrote: >> hey all - this is regarding the following bug i've opened: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213814 >> >> tl;dr version is that on 11.0-RELEASE on EC2 when i invoke "systat -ifstat" >> the egress data flows for the xn0 device do not update. verified it works as >> expected on 10.3-RELEASE. tried reading through code but am pretty confused >> as to how xn0 is created and what code is used to update the sysctl MIBs. > > I think this might be fixed by r308126. Can you try applying that patch and > report back? hrm doesn't look like it has changed anything on my end. i applied this patch against the 11.0.1 svn source: https://svnweb.freebsd.org/base/head/sys/dev/xen/netfront/netfront.c?view=patch&r1=308126&r2=308125&pathrev=308126 then built/installed a kernel after applying this patch with no change. I don't think i need to rebuild world for this, right? Cheers! -pete -- Pete Wright pete@nomadlogic.org nomadlogicLA