From owner-freebsd-net@FreeBSD.ORG Thu Apr 3 19:21:46 2014 Return-Path: Delivered-To: freebsd-net@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 AC5102E9 for ; Thu, 3 Apr 2014 19:21:46 +0000 (UTC) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8920E36C for ; Thu, 3 Apr 2014 19:21:45 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 86C5472CF6 for ; Thu, 3 Apr 2014 12:21:45 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 16614-01 for ; Thu, 3 Apr 2014 12:21:45 -0700 (PDT) Received: from [10.0.1.7] (base.kithrup.com [173.164.180.195]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id E334072CEE for ; Thu, 3 Apr 2014 12:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1396552905; bh=mLJFcZCUv1y2yj9jgDsePBPvL/qFHyhGPSDxoImbSbg=; h=From:Subject:Date:To; b=rGb4Ku0gMILAKvKtQFN8LKPlFCMEg51y+QK052rWFZMj9h/9xdpaa38DpwN+jT1dO Lmedi5VZ99n+3YGcfJT//O2E8c2+Krie06LBOAF+SdIZq//PUJ62mxBIz1TNY22dED mRI4qOPyVRvlGgLBlkLCBngoiZwLx3N+E0HX+Pz4= From: Sean Fagan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: More on the whole interruptless networking Message-Id: Date: Thu, 3 Apr 2014 12:21:41 -0700 To: freebsd-net Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 19:21:46 -0000 I've made a series of diffs. I've only tested them in vmware fusion for = now, so that's if_lem that gets involved. I need to track down a system = with igb and try that; I'm much less sure of those changes than I am the = if_em / if_lem changes. Note that, for various reasons, I used git for my source control. One = of those reasons was "I really need to get some experience with git, so = this seems like a good excuse." So pardon me if I produced them = incorrectly. I'm attaching two of the sets for perusal; the others are over on one of = my machines. First up: netdump-10-diffs.txt, attached to this message. This gets the old netdump branch compiling in 10.0. Second, also attached to this message, kernel-netdump-diffs.txt, which = then takes that, and splits out some of the code, so that I could use it = in the real purpose for doing all of this. Third, which is at = http://earth.kithrup.com/~sef/netdump/kernel-kdp-diffs.txt, is an = in-progress port (hence all the output it creates) of the KDP protocol = Apple uses for kernel debugging over ethernet. It's not entirely = functional yet, but it's hard to tell how much of that is this side, and = how much is the gdb side. Which leads me to fourth, at = http://earth.kithrup.com/~sef/netdump/gdb-diffs.txt, which are changes = to gdb (also in-progress, hence it can be very verbose) to attach to the = KDP code in the third patch. Despite my splitting them out like that, I haven't tried doing them = separately. See earlier comment about git for why that is; if anyone = really wants, I can poke around and try to get the diffs from each = stage. Obviously, however, they really are all fairly interconnected. Sean.