aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.h
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2010-10-30 10:22:42 -0400
committerDavid S. Miller <davem@davemloft.net>2010-11-15 13:11:40 -0500
commit636e19a34275d7d6fda0fefa965b1e2a715e2b02 (patch)
tree134160c8880adef0d9afc159da22dc577b9fa3c8 /net/8021q/vlan.h
parent8f5549f381ced6a255f2c7127b2b3b3b05fdfd6e (diff)
net: consolidate 8021q tagging
Now that VLAN packets are tagged in dev_hard_start_xmit() at the bottom of the stack we no longer need to tag them in the 8021Q module (Except in the !VLAN_FLAG_REORDER_HDR case). This allows the accel path and non accel paths to be consolidated. Here the vlan_tci in the skb is always set and we allow the stack to add the actual tag in dev_hard_start_xmit(). Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r--net/8021q/vlan.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h
index db01b3181fdc..4625ba64dfdc 100644
--- a/net/8021q/vlan.h
+++ b/net/8021q/vlan.h
@@ -45,8 +45,6 @@ struct vlan_rx_stats {
45 * @real_dev: underlying netdevice 45 * @real_dev: underlying netdevice
46 * @real_dev_addr: address of underlying netdevice 46 * @real_dev_addr: address of underlying netdevice
47 * @dent: proc dir entry 47 * @dent: proc dir entry
48 * @cnt_inc_headroom_on_tx: statistic - number of skb expansions on TX
49 * @cnt_encap_on_xmit: statistic - number of skb encapsulations on TX
50 * @vlan_rx_stats: ptr to percpu rx stats 48 * @vlan_rx_stats: ptr to percpu rx stats
51 */ 49 */
52struct vlan_dev_info { 50struct vlan_dev_info {
@@ -62,8 +60,6 @@ struct vlan_dev_info {
62 unsigned char real_dev_addr[ETH_ALEN]; 60 unsigned char real_dev_addr[ETH_ALEN];
63 61
64 struct proc_dir_entry *dent; 62 struct proc_dir_entry *dent;
65 unsigned long cnt_inc_headroom_on_tx;
66 unsigned long cnt_encap_on_xmit;
67 struct vlan_rx_stats __percpu *vlan_rx_stats; 63 struct vlan_rx_stats __percpu *vlan_rx_stats;
68}; 64};
69 65