[Bridge] RFC: [PATCH] bridge vlan integration

David Kimdon david.kimdon at devicescape.com
Mon Sep 11 12:59:09 PDT 2006


> >--- ./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



More information about the Bridge mailing list