Re: vlan patch

From: Andrew Thompson (thompsa_at_freebsd.org)
Date: 10/19/05

  • Next message: Sten Daniel Sørsdal: "Re: Network performance 6.0 with netperf"
    Date: Thu, 20 Oct 2005 10:20:57 +1300
    To: Andre Oppermann <andre@freebsd.org>
    
    
    

    On Wed, Oct 19, 2005 at 01:19:27PM +0200, Andre Oppermann wrote:
    > Andrew Thompson wrote:
    > >
    > > Hi,
    > >
    > > It has always bugged me how the vlan code traverses the linked-list for
    > > each incoming packet to find the right ifvlan, I have this patch which
    > > attempts to fix this.
    > >
    >
    > I like the concept. You may want to switch to direct indexing only
    > when the number of vlan exceeds 10 or so.
    >

    Thanks for the feedback (and others too),

    I have updated the patch to switch between array and linked-list
    searching depending on the number of vlans.

    cheers,
    Andrew

    
    
    

    _______________________________________________
    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: Sten Daniel Sørsdal: "Re: Network performance 6.0 with netperf"

    Relevant Pages

    • Re: current linux-2.6.git: cpusets completely broken
      ... switch { ... not just add another patch and pray it doesn't ... i still think your cpusets.c fix is what we should do for v2.6.26, ... But we should follow it up with Linus's patch immediately afterwards in ...
      (Linux-Kernel)
    • Re: OE6 "hangs" when switching identities
      ... Well, they did fix what they were supposed to, but created a new ... > patch supposed to *fix* things not break them? ... >> Until the problem is fixed, switch identities by File>Exit>Logoff ... >>> that it's downloading mail but nothing happens. ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • Re: [patch] make siginfo_t si_utime + si_sstime report times in USER_HZ, not HZ
      ... On 06/25, Michael Kerrisk wrote: ... switch { ... This looks like the obviously good fix to me. ... The patch also deletes the comment about signal_struct->cXtime, ...
      (Linux-Kernel)
    • Linux 2.6.19
      ... knowing that it's all your own d*mn fault, and you should just fix your ... [SCSI] ... [PATCH] ... USB: ipaq: Add HTC Modem Support ...
      (Linux-Kernel)
    • Re: Linux 2.6.19
      ... knowing that it's all your own d*mn fault, and you should just fix your ... [SCSI] ... [PATCH] ... USB: ipaq: Add HTC Modem Support ...
      (Linux-Kernel)