Re: FreeBSD 5 ip_gre and netisr_enable=1

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 08/26/05

  • Next message: Daniel O'Connor: "Re: AltQ + ng_iface"
    Date: Fri, 26 Aug 2005 22:09:21 +0100 (BST)
    To: ming fu <fming@borderware.com>
    
    

    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
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Daniel O'Connor: "Re: AltQ + ng_iface"

    Relevant Pages

    • Re: Refreshing JDialog
      ... Events are processed / dispatched by the event dispatch thread, ... Paint events are placed on this queue, ... they are dispatched by calling your listener's actionPerformedmethod. ...
      (comp.lang.java.gui)
    • Re: Design Question: GUI+Threads.
      ... > mainloop sort them out and dispatch them to the controllers callbacks. ... I will have one Controller per Worker; the Controller interacts with the GUI ... The worker threadblocks on an input queue until a message is in that ...
      (comp.lang.python)
    • [PATCH 8/15] cfq-iosched: style cleanups and comments
      ... * requests waiting to be processed. ... Resorting requires the cfqq to be on the RR list already. ... * Get next queue for service. ... * Move request from internal lists to the request queue dispatch list. ...
      (Linux-Kernel)
    • Re: AVStream: DMA & Process() QUEUEing
      ... Otherwise what I end up doing is creating my own queue ... The queue can be in two states - empty or not empty. ... >>the process dispatch is only called when data arrives into a previously ... >>dispatch is only called when data arrives into a previously empty queue. ...
      (microsoft.public.development.device.drivers)
    • Re: AVStream: DMA & Process() QUEUEing
      ... Otherwise what I end up doing is creating my own queue ... The queue can be in two states - empty or not empty. ... You can tell KS to call your Processdispatch entry point ... when a frame is about to be queued and the queue is empty (default ...
      (microsoft.public.development.device.drivers)