[ovs-dev] bug in flow stats for VLAN acceleration?

Ben Pfaff blp at nicira.com
Mon Dec 8 17:58:32 UTC 2014


Motonori Shindo (CCed) reported to me recently that NetFlow does not
include VLAN headers in the byte counts that it exports.  Taking a
look at the kernel datapath code, I see that ovs_flow_stats_update()
accounts raw skb->len to byte counters.  I suspect that it should add
4 if a VLAN header was present but removed by VLAN acceleration.

Comments?

Thanks,

Ben.



More information about the dev mailing list