[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5060EA11.1040003@intel.com>
Date: Mon, 24 Sep 2012 16:17:37 -0700
From: John Fastabend <john.r.fastabend@...el.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: Eric Dumazet <eric.dumazet@...il.com>,
David Miller <davem@...emloft.net>,
Chris Wright <chrisw@...hat.com>, netdev@...r.kernel.org
Subject: Re: [PATCHv3 net-next 3/3] vxlan: virtual extensible lan
>>
>> [...]
>>
>>> + err = ip_local_out(skb);
>>> + if (likely(net_xmit_eval(err) == 0)) {
>>> + struct vxlan_stats *stats = this_cpu_ptr(vxlan->stats);
>>> +
>>> + u64_stats_update_begin(&stats->syncp);
>>> + stats->tx_packets++;
>>> + stats->tx_bytes += pkt_len;
>>
>> Should pkt_len include the outer headers?
>
> It doesn't for GRE and related tunnels.
>
OK best to keep it the same as other tunnels.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists