On Tue, Apr 29, 2014 at 7:33 AM, Ben Pfaff <b...@nicira.com> wrote: > On Mon, Apr 28, 2014 at 03:58:51PM -0700, Andy Zhou wrote: >> Currently physical ports stats are collected from kernel datapath. >> However, those counter do not reflect actual wire packet counters >> when LSO or TSO are enabled by the NIC. In the meantime, the stats >> collected form routing stack does. While both stats are valid, Reporting >> netlink stats for packet counts and byte counts make it easier >> to correlate those numbers with external measurements. >> >> Signed-off-by: Andy Zhou <az...@nicira.com> > > Do you mean GSO instead of LSO here?
After discussing with Pravin, I think the list should be GSO,TSO, GRO and LRO. OVS does not recommand turning on LRO, so only the first three offloads will cause packet counter error in actual use. I will improve the comment and commit message. >> + /* Use Netlink's packet and byte counts since vport's counters >> + * do not reflect packet counts on the wire when LSO/TSO are >> enabled. */ > > In earlier discussion, we found that Pravin had made the change to the > current state, but that there wasn't very much rationale in the log. > Pravin, does this new change make sense? > > Acked-by: Ben Pfaff <b...@nicira.com> Thanks. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev