Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 22:09:21 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        ming fu <fming@borderware.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 5 ip_gre and netisr_enable=1
Message-ID:  <20050826220749.H33851@fledge.watson.org>
In-Reply-To: <430E25A3.8080503@borderware.com>
References:  <430E25A3.8080503@borderware.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 25 Aug 2005, ming fu wrote:

> when a GRE packet gets into the ip_gre2(), its gre header is stripped 
> and sent to netisr_dispatch() for ip_input() processing again. In case, 
> the net.isr.enable is 1, the packet will be delivered to ip_input 
> directly instead of put in the queue.

Probably, we should use netisr_queue() here instead of netisr_dispatch() 
to force indirect dispatch in this case?  The _dispatch() variant should 
only be used when the calling context is willing to perform a full netisr 
dispatch.

Robert N M Watson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050826220749.H33851>