From owner-freebsd-net@FreeBSD.ORG Tue Nov 16 19:49:23 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72C6116A4CE for ; Tue, 16 Nov 2004 19:49:23 +0000 (GMT) Received: from mail-svr1.cs.utah.edu (brahma.cs.utah.edu [155.98.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4607C43D1F for ; Tue, 16 Nov 2004 19:49:23 +0000 (GMT) (envelope-from vaibhave@cs.utah.edu) Received: from faith.cs.utah.edu (faith.cs.utah.edu [155.98.65.40]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id CF204346EC for ; Tue, 16 Nov 2004 12:49:20 -0700 (MST) Received: by faith.cs.utah.edu (Postfix, from userid 4969) id AECB22EC21; Tue, 16 Nov 2004 12:49:20 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by faith.cs.utah.edu (Postfix) with ESMTP id A50E934406 for ; Tue, 16 Nov 2004 19:49:20 +0000 (UTC) Date: Tue, 16 Nov 2004 12:49:20 -0700 (MST) From: Vaibhave Agarwal To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: network protocol interrupts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 19:49:23 -0000 hi I was in little confusion about how the network software interrupts actually work. Is there a priority level within the network software interrupts too?? If there are two or more network level interrupts ( same priority level splnet) are pending, then does the scheduler schedules them in the order they were queued, or in the order they appear in the "netisrs" array. for example, the ip routine is defined as #define NETISR_IP 2 and polling callback as #define NETISR_POLL 0 and these are subscript of the array "netisrs". Can somebody please explain that. thanks vaibhave