From owner-freebsd-net@FreeBSD.ORG Thu Nov 10 09:45:03 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D0CE106566C for ; Thu, 10 Nov 2011 09:45:03 +0000 (UTC) (envelope-from yakimenko.alexey@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 479CC8FC15 for ; Thu, 10 Nov 2011 09:45:02 +0000 (UTC) Received: by iakl21 with SMTP id l21so1596089iak.13 for ; Thu, 10 Nov 2011 01:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=25H5XkyhhT4Vah6x4XEQ7x9vCZ3IijDD/6F+JHpmxi8=; b=WUc1TnnzCZNb7NM5xhjyyBF+iVPy0xHzRq+fuLODr9E4TybFB0VNQyq/CCiYbQr/xf a0Up68jw0T0UQmegjfcbclwdYIveApX2fcJJ0DYalU2eUil2oXlhuiTocKkezn8YjSFj KnJMcdBmBYuncFDl7Oca75oi+Hyq2TzmfF7DM= MIME-Version: 1.0 Received: by 10.42.151.196 with SMTP id f4mr6503534icw.17.1320916693977; Thu, 10 Nov 2011 01:18:13 -0800 (PST) Received: by 10.42.169.65 with HTTP; Thu, 10 Nov 2011 01:18:13 -0800 (PST) Date: Thu, 10 Nov 2011 12:18:13 +0300 Message-ID: From: =?KOI8-R?B?4czFy9PFyiDxy8nNxc7Lzw==?= To: freebsd-net@freebsd.org X-Mailman-Approved-At: Thu, 10 Nov 2011 12:19:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Netgraph multithreading X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Nov 2011 09:45:03 -0000 Hello! Can you help me please? Is Netgraph supports multithreading in FreeBSD 8.1 ? I found that in the function "ngb_mod_event" (ng_base.c, line 3114) multiple threads runs function "ngthread" (ng_base.c, line 3315). What does this function? Or another question. Where is the parallelization of handling the traffic: in driver of network adapter or Netgraph? Thank you! -- Alexey.