Received: by mail.netbsd.org (Postfix, from userid 605) id 3B7BD14A1C1; Wed, 7 Oct 2015 08:48:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2960714A1B5 for ; Wed, 7 Oct 2015 08:48:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 1W15NdHbmsBf for ; Wed, 7 Oct 2015 08:48:04 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 9FDF214A199 for ; Wed, 7 Oct 2015 08:48:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 8BB5A98; Wed, 7 Oct 2015 08:48:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 7 Oct 2015 08:48:04 +0000 From: "Ryota Ozaki" Subject: CVS commit: src/sys/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20151007084804.8BB5A98@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Ryota Ozaki" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: ozaki-r Date: Wed Oct 7 08:48:04 UTC 2015 Modified Files: src/sys/net: if_bridge.c Log Message: Enqueue frames to a curcpu's pktqueue Currently RX can run on a CPU other than CPU#0, so always enqueuing to a pktqueue of CPU#0 makes no sense. Let's use a curcpu's pktqueue, although bridge_foward softint doesn't run in parallel without NET_MPSAFE. This is a temporal solution. We need a fundamental solution. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/net/if_bridge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.