From owner-p4-projects@FreeBSD.ORG Mon Aug 20 08:41:14 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CCAC516A41B; Mon, 20 Aug 2007 08:41:13 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95A7516A418 for ; Mon, 20 Aug 2007 08:41:13 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 841E513C46E for ; Mon, 20 Aug 2007 08:41:13 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7K8fDvP078071 for ; Mon, 20 Aug 2007 08:41:13 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7K8fDhG078062 for perforce@freebsd.org; Mon, 20 Aug 2007 08:41:13 GMT (envelope-from kmacy@freebsd.org) Date: Mon, 20 Aug 2007 08:41:13 GMT Message-Id: <200708200841.l7K8fDhG078062@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 125394 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 08:41:14 -0000 http://perforce.freebsd.org/chv.cgi?CH=125394 Change 125394 by kmacy@kmacy_home:ethng on 2007/08/20 08:40:30 add txq_stopped sysctl don't fail send because coalesce indicated that the sendq is full Affected files ... .. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#10 edit .. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_sge.c#12 edit Differences ... ==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#10 (text+ko) ==== @@ -441,7 +441,7 @@ err = ENXIO; else { txq = &qs->txq[TXQ_ETH]; - err = cxgb_pcpu_pkt_coalesce(txq, immpkt, &complete); + cxgb_pcpu_pkt_coalesce(txq, immpkt, &complete); immpkt = NULL; } if (err) { ==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_sge.c#12 (text+ko) ==== @@ -2830,6 +2830,9 @@ SYSCTL_ADD_UINT(ctx, qspoidlist, OID_AUTO, "in_use", CTLFLAG_RD, &txq->in_use, 0, "#tunneled packet slots in use"); + SYSCTL_ADD_UINT(ctx, qspoidlist, OID_AUTO, "stopped_flags", + CTLFLAG_RD, &qs->txq_stopped, + 0, "tx queues stopped"); } }