[Bridge] RFC: [PATCH] bridge vlan integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >--- ./include/linux/skbuff.h.gospo      2006-09-11 14:41:54.000000000 -0400
> >+++ ./include/linux/skbuff.h    2006-09-11 14:43:27.000000000 -0400
> >@@ -297,6 +297,7 @@ struct sk_buff {
> >        __u32                   nfmark;
> > #endif /* CONFIG_NETFILTER */
> > #ifdef CONFIG_BRIDGE_VLAN
> >+       unsigned int            vlan_priority;
> >        unsigned int            vlan;
> > #endif


> 
> SKB bloat is not good for performance.  You can store the priority and the 
> VID in
> a single 32-bit number with room to spare...

I wonder if we can use skb->cb?

-David


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux