From owner-svn-soc-all@freebsd.org Mon Aug 24 12:39:31 2015 Return-Path: Delivered-To: svn-soc-all@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 773329C014A for ; Mon, 24 Aug 2015 12:39:31 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 68271C9E for ; Mon, 24 Aug 2015 12:39:31 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7OCdVhD014858 for ; Mon, 24 Aug 2015 12:39:31 GMT (envelope-from roam@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7OCdTNo014182 for svn-soc-all@FreeBSD.org; Mon, 24 Aug 2015 12:39:29 GMT (envelope-from roam@FreeBSD.org) Date: Mon, 24 Aug 2015 12:39:29 GMT Message-Id: <201508241239.t7OCdTNo014182@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to roam@FreeBSD.org using -f From: roam@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290151 - in soc2015/roam: . ayiya_listen ayiya_resp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 12:39:31 -0000 Author: roam Date: Mon Aug 24 12:39:29 2015 New Revision: 290151 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290151 Log: Prepare for the release of ng_ayiya-0.1.0. Forgotten by: roam (myself) before the end of GSoC ObQuote: "Hellhound unchained" Modified: soc2015/roam/Makefile soc2015/roam/ayiya_listen/main.c soc2015/roam/ayiya_resp/main.c Modified: soc2015/roam/Makefile ============================================================================== --- soc2015/roam/Makefile Mon Aug 24 10:55:54 2015 (r290150) +++ soc2015/roam/Makefile Mon Aug 24 12:39:29 2015 (r290151) @@ -27,7 +27,7 @@ .include NAME= ng_ayiya -VERSION= 0.1.0.dev225 +VERSION= 0.1.0 DISTNAME= ${NAME}-${VERSION} DISTDIR= ${DISTNAME} Modified: soc2015/roam/ayiya_listen/main.c ============================================================================== --- soc2015/roam/ayiya_listen/main.c Mon Aug 24 10:55:54 2015 (r290150) +++ soc2015/roam/ayiya_listen/main.c Mon Aug 24 12:39:29 2015 (r290151) @@ -266,7 +266,7 @@ void version(void) { - puts("ayiya_listen 0.1.0.dev225"); + puts("ayiya_listen 0.1.0"); } void Modified: soc2015/roam/ayiya_resp/main.c ============================================================================== --- soc2015/roam/ayiya_resp/main.c Mon Aug 24 10:55:54 2015 (r290150) +++ soc2015/roam/ayiya_resp/main.c Mon Aug 24 12:39:29 2015 (r290151) @@ -209,7 +209,7 @@ void version(void) { - puts("ayiya_resp 0.1.0.dev178"); + puts("ayiya_resp 0.1.0"); } void From owner-svn-soc-all@freebsd.org Mon Aug 24 12:39:37 2015 Return-Path: Delivered-To: svn-soc-all@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 779ED9C0169 for ; Mon, 24 Aug 2015 12:39:37 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 4EE49CB3 for ; Mon, 24 Aug 2015 12:39:37 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7OCdbKc016645 for ; Mon, 24 Aug 2015 12:39:37 GMT (envelope-from roam@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7OCdZHr016086 for svn-soc-all@FreeBSD.org; Mon, 24 Aug 2015 12:39:35 GMT (envelope-from roam@FreeBSD.org) Date: Mon, 24 Aug 2015 12:39:35 GMT Message-Id: <201508241239.t7OCdZHr016086@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to roam@FreeBSD.org using -f From: roam@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290152 - soc2015/roam/ports/net/ng_ayiya MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 12:39:37 -0000 Author: roam Date: Mon Aug 24 12:39:35 2015 New Revision: 290152 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290152 Log: Update the ng_ayiya port to 0.1.0. Forgotten by: roam (myself) before the end of GSoC ObQuote: "Welcome to the system, here's the situation" Modified: soc2015/roam/ports/net/ng_ayiya/Makefile soc2015/roam/ports/net/ng_ayiya/distinfo soc2015/roam/ports/net/ng_ayiya/pkg-plist Modified: soc2015/roam/ports/net/ng_ayiya/Makefile ============================================================================== --- soc2015/roam/ports/net/ng_ayiya/Makefile Mon Aug 24 12:39:29 2015 (r290151) +++ soc2015/roam/ports/net/ng_ayiya/Makefile Mon Aug 24 12:39:35 2015 (r290152) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ng_ayiya -DISTVERSION= 0.1.0.dev210 +DISTVERSION= 0.1.0 EXTRACT_SUFX= .tar.xz PORTVERSION= ${DISTVERSION:S/.dev/.d/} CATEGORIES= net ipv6 @@ -21,6 +21,7 @@ do-install: ${INSTALL_KLD} ${WRKSRC}/ng_ayiya/ng_ayiya.ko ${STAGEDIR}${KMODDIR} ${INSTALL_KLD} ${WRKSRC}/ng_ayiya/ng_ayiya.ko.symbols ${STAGEDIR}${KMODDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/ayiya_listen/ayiya_listen ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ayiya_resp/ayiya_resp ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/include/netgraph ${INSTALL_DATA} ${WRKSRC}/ng_ayiya/ng_ayiya.h ${STAGEDIR}${PREFIX}/include/netgraph Modified: soc2015/roam/ports/net/ng_ayiya/distinfo ============================================================================== --- soc2015/roam/ports/net/ng_ayiya/distinfo Mon Aug 24 12:39:29 2015 (r290151) +++ soc2015/roam/ports/net/ng_ayiya/distinfo Mon Aug 24 12:39:35 2015 (r290152) @@ -1,2 +1,2 @@ -SHA256 (ng_ayiya-0.1.0.dev210.tar.xz) = 4bdc6de730d750409f53498a44493256c0a8c0830d243e3e8508213ed0890b0e -SIZE (ng_ayiya-0.1.0.dev210.tar.xz) = 18236 +SHA256 (ng_ayiya-0.1.0.tar.xz) = 0aa7b80d14c16297e4d29a897f8b9b470323a96b37438121faa7c26032abfcb8 +SIZE (ng_ayiya-0.1.0.tar.xz) = 25656 Modified: soc2015/roam/ports/net/ng_ayiya/pkg-plist ============================================================================== --- soc2015/roam/ports/net/ng_ayiya/pkg-plist Mon Aug 24 12:39:29 2015 (r290151) +++ soc2015/roam/ports/net/ng_ayiya/pkg-plist Mon Aug 24 12:39:35 2015 (r290152) @@ -1,5 +1,6 @@ /%%KMODDIR%%/ng_ayiya.ko /%%KMODDIR%%/ng_ayiya.ko.symbols +bin/ayiya_listen bin/ayiya_resp include/netgraph/ng_ayiya.h %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scaffold.pl From owner-svn-soc-all@freebsd.org Mon Aug 24 15:00:22 2015 Return-Path: Delivered-To: svn-soc-all@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 017209C1F0C for ; Mon, 24 Aug 2015 15:00:22 +0000 (UTC) (envelope-from prasadjoshi@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 CCED06EB for ; Mon, 24 Aug 2015 15:00:21 +0000 (UTC) (envelope-from prasadjoshi@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7OF0LWa011627 for ; Mon, 24 Aug 2015 15:00:21 GMT (envelope-from prasadjoshi@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7OF0L7w011271 for svn-soc-all@FreeBSD.org; Mon, 24 Aug 2015 15:00:21 GMT (envelope-from prasadjoshi@FreeBSD.org) Date: Mon, 24 Aug 2015 15:00:21 GMT Message-Id: <201508241500.t7OF0L7w011271@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to prasadjoshi@FreeBSD.org using -f From: prasadjoshi@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290159 - soc2015/prasadjoshi/myproject-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 15:00:22 -0000 Author: prasadjoshi Date: Mon Aug 24 15:00:21 2015 New Revision: 290159 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290159 Log: Latest source code pull Added: soc2015/prasadjoshi/myproject-head/ (props changed) - copied from r290156, mirror/FreeBSD/head/ From owner-svn-soc-all@freebsd.org Mon Aug 24 15:02:43 2015 Return-Path: Delivered-To: svn-soc-all@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 5689B9C1FB5 for ; Mon, 24 Aug 2015 15:02:43 +0000 (UTC) (envelope-from prasadjoshi@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 2DC98958 for ; Mon, 24 Aug 2015 15:02:43 +0000 (UTC) (envelope-from prasadjoshi@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7OF2hxB032283 for ; Mon, 24 Aug 2015 15:02:43 GMT (envelope-from prasadjoshi@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7OF2hfH032037 for svn-soc-all@FreeBSD.org; Mon, 24 Aug 2015 15:02:43 GMT (envelope-from prasadjoshi@FreeBSD.org) Date: Mon, 24 Aug 2015 15:02:43 GMT Message-Id: <201508241502.t7OF2hfH032037@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to prasadjoshi@FreeBSD.org using -f From: prasadjoshi@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290160 - soc2015/prasadjoshi/head/head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 15:02:43 -0000 Author: prasadjoshi Date: Mon Aug 24 15:02:42 2015 New Revision: 290160 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290160 Log: Latest source code pull Added: soc2015/prasadjoshi/head/head/ (props changed) - copied from r290159, mirror/FreeBSD/head/ From owner-svn-soc-all@freebsd.org Thu Aug 27 07:54:02 2015 Return-Path: Delivered-To: svn-soc-all@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 E9FAD9C4F95 for ; Thu, 27 Aug 2015 07:54:02 +0000 (UTC) (envelope-from btw@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 CB7A43AF for ; Thu, 27 Aug 2015 07:54:02 +0000 (UTC) (envelope-from btw@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7R7s26i051734 for ; Thu, 27 Aug 2015 07:54:02 GMT (envelope-from btw@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7R7s13d051650 for svn-soc-all@FreeBSD.org; Thu, 27 Aug 2015 07:54:01 GMT (envelope-from btw@FreeBSD.org) Date: Thu, 27 Aug 2015 07:54:01 GMT Message-Id: <201508270754.t7R7s13d051650@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to btw@FreeBSD.org using -f From: btw@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290244 - in soc2015/btw/head/sys: net netinet netinet6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 07:54:03 -0000 Author: btw Date: Thu Aug 27 07:54:00 2015 New Revision: 290244 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290244 Log: Replace the printf()s with optional rate limited debugging for RSS. Modified: soc2015/btw/head/sys/net/rss_config.c soc2015/btw/head/sys/net/rss_config.h soc2015/btw/head/sys/netinet/in_rss.c soc2015/btw/head/sys/netinet6/in6_rss.c Modified: soc2015/btw/head/sys/net/rss_config.c ============================================================================== --- soc2015/btw/head/sys/net/rss_config.c Thu Aug 27 06:28:42 2015 (r290243) +++ soc2015/btw/head/sys/net/rss_config.c Thu Aug 27 07:54:00 2015 (r290244) @@ -152,6 +152,15 @@ __DECONST(int *, &rss_basecpu), 0, "RSS base CPU"); /* + * Print verbose debugging messages. + * 0 - disable + * non-zero - enable + */ +int rss_debug = 0; +SYSCTL_INT(_net_inet_rss, OID_AUTO, debug, CTLFLAG_RWTUN, &rss_debug, 0, + "RSS debug level"); + +/* * RSS secret key, intended to prevent attacks on load-balancing. Its * effectiveness may be limited by algorithm choice and available entropy * during the boot. @@ -194,8 +203,8 @@ break; default: - printf("%s: invalid RSS hashalgo %u, coercing to %u", - __func__, rss_hashalgo, RSS_HASH_TOEPLITZ); + RSS_DEBUG("invalid RSS hashalgo %u, coercing to %u\n", + rss_hashalgo, RSS_HASH_TOEPLITZ); rss_hashalgo = RSS_HASH_TOEPLITZ; } @@ -229,8 +238,8 @@ * ones. */ if (rss_bits == 0 || rss_bits > RSS_MAXBITS) { - printf("%s: RSS bits %u not valid, coercing to %u", - __func__, rss_bits, RSS_MAXBITS); + RSS_DEBUG("RSS bits %u not valid, coercing to %u\n", + rss_bits, RSS_MAXBITS); rss_bits = RSS_MAXBITS; } @@ -241,9 +250,8 @@ */ rss_buckets = (1 << rss_bits); if (rss_buckets < rss_ncpus) - printf("%s: WARNING: rss_buckets (%u) less than " - "rss_ncpus (%u)\n", __func__, rss_buckets, - rss_ncpus); + RSS_DEBUG("WARNING: rss_buckets (%u) less than " + "rss_ncpus (%u)\n", rss_buckets, rss_ncpus); rss_mask = rss_buckets - 1; } else { rss_bits = 0; Modified: soc2015/btw/head/sys/net/rss_config.h ============================================================================== --- soc2015/btw/head/sys/net/rss_config.h Thu Aug 27 06:28:42 2015 (r290243) +++ soc2015/btw/head/sys/net/rss_config.h Thu Aug 27 07:54:00 2015 (r290244) @@ -93,6 +93,21 @@ #define RSS_HASH_PKT_EGRESS 1 /* + * Rate limited debugging routines. + */ +#define RSS_DEBUG(format, ...) do { \ + if (rss_debug) { \ + static struct timeval lastfail; \ + static int curfail; \ + if (ppsratecheck(&lastfail, &curfail, 5)) \ + printf("RSS (%s:%u): " format, __func__, __LINE__,\ + ##__VA_ARGS__); \ + } \ +} while (0) + +extern int rss_debug; + +/* * Device driver interfaces to query RSS properties that must be programmed * into hardware. */ Modified: soc2015/btw/head/sys/netinet/in_rss.c ============================================================================== --- soc2015/btw/head/sys/netinet/in_rss.c Thu Aug 27 06:28:42 2015 (r290243) +++ soc2015/btw/head/sys/netinet/in_rss.c Thu Aug 27 07:54:00 2015 (r290244) @@ -147,7 +147,7 @@ } /* No configured available hashtypes! */ - printf("%s: no available hashtypes!\n", __func__); + RSS_DEBUG("no available hashtypes!\n"); return (-1); } @@ -183,7 +183,7 @@ * XXX For now this only handles hashing on incoming mbufs. */ if (dir != RSS_HASH_PKT_INGRESS) { - printf("%s: called on EGRESS packet!\n", __func__); + RSS_DEBUG("called on EGRESS packet!\n"); return (-1); } @@ -192,11 +192,11 @@ * to have an IPv4 header in it. */ if (m->m_pkthdr.len < (sizeof(struct ip))) { - printf("%s: short mbuf pkthdr\n", __func__); + RSS_DEBUG("short mbuf pkthdr\n"); return (-1); } if (m->m_len < (sizeof(struct ip))) { - printf("%s: short mbuf len\n", __func__); + RSS_DEBUG("short mbuf len\n"); return (-1); } @@ -280,7 +280,7 @@ (proto == IPPROTO_TCP) && (is_frag == 0)) { if (m->m_len < iphlen + sizeof(struct tcphdr)) { - printf("%s: short TCP frame?\n", __func__); + RSS_DEBUG("short TCP frame?\n"); return (-1); } th = (const struct tcphdr *)((c_caddr_t)ip + iphlen); @@ -295,7 +295,7 @@ (is_frag == 0)) { uh = (const struct udphdr *)((c_caddr_t)ip + iphlen); if (m->m_len < iphlen + sizeof(struct udphdr)) { - printf("%s: short UDP frame?\n", __func__); + RSS_DEBUG("short UDP frame?\n"); return (-1); } return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, @@ -313,7 +313,7 @@ hashval, hashtype); } else { - printf("%s: no available hashtypes!\n", __func__); + RSS_DEBUG("no available hashtypes!\n"); return (-1); } } Modified: soc2015/btw/head/sys/netinet6/in6_rss.c ============================================================================== --- soc2015/btw/head/sys/netinet6/in6_rss.c Thu Aug 27 06:28:42 2015 (r290243) +++ soc2015/btw/head/sys/netinet6/in6_rss.c Thu Aug 27 07:54:00 2015 (r290244) @@ -147,6 +147,6 @@ } /* No configured available hashtypes! */ - printf("%s: no available hashtypes!\n", __func__); + RSS_DEBUG("no available hashtypes!\n"); return (-1); } From owner-svn-soc-all@freebsd.org Thu Aug 27 10:13:52 2015 Return-Path: Delivered-To: svn-soc-all@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 313CB9C3788 for ; Thu, 27 Aug 2015 10:13:52 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D43A21808; Thu, 27 Aug 2015 10:13:45 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 8CA0325D3897; Thu, 27 Aug 2015 10:13:42 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id DA354C770AB; Thu, 27 Aug 2015 10:13:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id tWLHwLO7gUSM; Thu, 27 Aug 2015 10:13:40 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5CA34C77037; Thu, 27 Aug 2015 10:13:40 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: socsvn commit: r290244 - in soc2015/btw/head/sys: net netinet netinet6 From: "Bjoern A. Zeeb" In-Reply-To: <201508270754.t7R7s13d051650@socsvn.freebsd.org> Date: Thu, 27 Aug 2015 10:13:38 +0000 Cc: svn-soc-all@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <2AC0F143-11B1-4793-B309-0D2DE3B6A995@lists.zabbadoz.net> References: <201508270754.t7R7s13d051650@socsvn.freebsd.org> To: btw@FreeBSD.org X-Mailer: Apple Mail (2.2104) X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 10:13:52 -0000 > On 27 Aug 2015, at 07:54 , btw@FreeBSD.org wrote: >=20 > Author: btw > Date: Thu Aug 27 07:54:00 2015 > New Revision: 290244 > URL: http://svnweb.FreeBSD.org/socsvn/?view=3Drev&rev=3D290244 >=20 > Log: > Replace the printf()s with optional rate limited debugging for RSS. >=20 > Modified: > soc2015/btw/head/sys/net/rss_config.c > soc2015/btw/head/sys/net/rss_config.h > soc2015/btw/head/sys/netinet/in_rss.c > soc2015/btw/head/sys/netinet6/in6_rss.c Ideally you=E2=80=99d add SDT probes for that as well; printfs for = debugging is something we should really stop avoiding I think. From owner-svn-soc-all@freebsd.org Thu Aug 27 11:08:32 2015 Return-Path: Delivered-To: svn-soc-all@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 367889C2D4E for ; Thu, 27 Aug 2015 11:08:32 +0000 (UTC) (envelope-from btw@mail.ustc.edu.cn) Received: from ustc.edu.cn (email6.ustc.edu.cn [IPv6:2001:da8:d800::8]) by mx1.freebsd.org (Postfix) with ESMTP id 684631381 for ; Thu, 27 Aug 2015 11:08:30 +0000 (UTC) (envelope-from btw@mail.ustc.edu.cn) Received: from dell (unknown [110.77.7.5]) by newmailweb.ustc.edu.cn (Coremail) with SMTP id LkAmygAHuQmg795VuCaUAA--.6417S2; Thu, 27 Aug 2015 19:08:25 +0800 (CST) Date: Thu, 27 Aug 2015 19:08:21 +0800 From: Tiwei Bie To: "Bjoern A. Zeeb" Cc: svn-soc-all@FreeBSD.org Subject: Re: socsvn commit: r290244 - in soc2015/btw/head/sys: net netinet netinet6 Message-ID: <20150827110747.GA68989@dell> References: <201508270754.t7R7s13d051650@socsvn.freebsd.org> <2AC0F143-11B1-4793-B309-0D2DE3B6A995@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2AC0F143-11B1-4793-B309-0D2DE3B6A995@lists.zabbadoz.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-CM-TRANSID: LkAmygAHuQmg795VuCaUAA--.6417S2 X-Coremail-Antispam: 1UD129KBjvdXoWrury3Wry3uF4fJw45tryDGFg_yoWfZFcE9F 1UKryfGa17Aa4FqrZIqFWkAFZ8J3WUAryfAayDJ39I9r98ZryfJFyfWr9Ivr13WF1agwnr uFW2qa18A34I9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbF8YjsxI4VWDJwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMc vjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCF s4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r 1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWU JVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r W3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8 JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8c6pPUUUUU== X-CM-SenderInfo: xewzqzxdloh3xvwfhvlgxou0/1tbiAQcOAVQhmDXE4AAAs1 X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 11:08:32 -0000 On Thu, Aug 27, 2015 at 10:13:38AM +0000, Bjoern A. Zeeb wrote: > > > On 27 Aug 2015, at 07:54 , btw@FreeBSD.org wrote: > > > > Author: btw > > Date: Thu Aug 27 07:54:00 2015 > > New Revision: 290244 > > URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290244 > > > > Log: > > Replace the printf()s with optional rate limited debugging for RSS. > > > > Modified: > > soc2015/btw/head/sys/net/rss_config.c > > soc2015/btw/head/sys/net/rss_config.h > > soc2015/btw/head/sys/netinet/in_rss.c > > soc2015/btw/head/sys/netinet6/in6_rss.c > > > Ideally you’d add SDT probes for that as well; printfs for debugging is something we should really stop avoiding I think. > Got it! Thank you so much for your suggestions! :-) I also think it is a good idea to use SDT probes. This patch is the draft of this review [1]. I will forward it to adrian@ and gnn@. Best regards, Tiwei Bie [1] https://reviews.freebsd.org/D3471. From owner-svn-soc-all@freebsd.org Thu Aug 27 16:39:49 2015 Return-Path: Delivered-To: svn-soc-all@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 CD1AD9C473B for ; Thu, 27 Aug 2015 16:39:49 +0000 (UTC) (envelope-from kczekirda@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 A4355E6D for ; Thu, 27 Aug 2015 16:39:49 +0000 (UTC) (envelope-from kczekirda@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7RGdnEA066907 for ; Thu, 27 Aug 2015 16:39:49 GMT (envelope-from kczekirda@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7RGdnIA066898 for svn-soc-all@FreeBSD.org; Thu, 27 Aug 2015 16:39:49 GMT (envelope-from kczekirda@FreeBSD.org) Date: Thu, 27 Aug 2015 16:39:49 GMT Message-Id: <201508271639.t7RGdnIA066898@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to kczekirda@FreeBSD.org using -f From: kczekirda@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290263 - in soc2015/kczekirda/master/usr: . src MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 16:39:49 -0000 Author: kczekirda Date: Thu Aug 27 16:39:48 2015 New Revision: 290263 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290263 Log: missing directories Added: soc2015/kczekirda/master/usr/ soc2015/kczekirda/master/usr/src/ From owner-svn-soc-all@freebsd.org Thu Aug 27 19:07:58 2015 Return-Path: Delivered-To: svn-soc-all@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 790BD9C3CD4 for ; Thu, 27 Aug 2015 19:07:58 +0000 (UTC) (envelope-from kczekirda@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50: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 69BF3AD2 for ; Thu, 27 Aug 2015 19:07:58 +0000 (UTC) (envelope-from kczekirda@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t7RJ7wGJ033349 for ; Thu, 27 Aug 2015 19:07:58 GMT (envelope-from kczekirda@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t7RJ7vmc033295 for svn-soc-all@FreeBSD.org; Thu, 27 Aug 2015 19:07:57 GMT (envelope-from kczekirda@FreeBSD.org) Date: Thu, 27 Aug 2015 19:07:57 GMT Message-Id: <201508271907.t7RJ7vmc033295@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to kczekirda@FreeBSD.org using -f From: kczekirda@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r290270 - soc2015/kczekirda/mfsbsd/customfiles/usr/libexec/bsdinstall MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 19:07:58 -0000 Author: kczekirda Date: Thu Aug 27 19:07:57 2015 New Revision: 290270 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=290270 Log: remove bsdinstall distfetch Modified: soc2015/kczekirda/mfsbsd/customfiles/usr/libexec/bsdinstall/script Modified: soc2015/kczekirda/mfsbsd/customfiles/usr/libexec/bsdinstall/script ============================================================================== --- soc2015/kczekirda/mfsbsd/customfiles/usr/libexec/bsdinstall/script Thu Aug 27 18:11:00 2015 (r290269) +++ soc2015/kczekirda/mfsbsd/customfiles/usr/libexec/bsdinstall/script Thu Aug 27 19:07:57 2015 (r290270) @@ -160,13 +160,7 @@ # Fetch distributions -BSDINSTALL_FETCHDEST="$BSDINSTALL_CHROOT/usr/freebsd-dist" -export BSDINSTALL_DISTDIR="$BSDINSTALL_FETCHDEST" -echo "$BSDINSTALL_FETCHDEST" -mkdir -p "$BSDINSTALL_FETCHDEST" - -export FTP_PASSIVE_MODE=YES -bsdinstall distfetch +# disabled # Unpack distributions bsdinstall checksum