From owner-svn-src-head@FreeBSD.ORG Thu Mar 20 02:28:05 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3FD7F97; Thu, 20 Mar 2014 02:28:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B140F9; Thu, 20 Mar 2014 02:28:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2K2S5ML070344; Thu, 20 Mar 2014 02:28:05 GMT (envelope-from np@svn.freebsd.org) Received: (from np@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2K2S5jv070343; Thu, 20 Mar 2014 02:28:05 GMT (envelope-from np@svn.freebsd.org) Message-Id: <201403200228.s2K2S5jv070343@svn.freebsd.org> From: Navdeep Parhar Date: Thu, 20 Mar 2014 02:28:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263415 - head/sys/dev/cxgbe X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 02:28:05 -0000 Author: np Date: Thu Mar 20 02:28:05 2014 New Revision: 263415 URL: http://svnweb.freebsd.org/changeset/base/263415 Log: cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ============================================================================== --- head/sys/dev/cxgbe/t4_main.c Thu Mar 20 02:27:25 2014 (r263414) +++ head/sys/dev/cxgbe/t4_main.c Thu Mar 20 02:28:05 2014 (r263415) @@ -4125,7 +4125,7 @@ cxgbe_tick(void *arg) drops = s->tx_drop; for_each_txq(pi, i, txq) drops += txq->br->br_drops; - ifp->if_snd.ifq_drops = drops; + ifp->if_oqdrops = drops; ifp->if_oerrors = s->tx_error_frames; ifp->if_ierrors = s->rx_jabber + s->rx_runt + s->rx_too_long +