[dpdk-dev] [PATCH 1/4] e1000: remove crc size from all byte counters

Van Haaren, Harry harry.van.haaren at intel.com
Mon Nov 16 18:03:59 CET 2015


> From: Stephen Hemminger [mailto:shemming at brocade.com]
> Harry van Haaren <harry.van.haaren at intel.com> wrote:
> <snip>
> > +	stats->tor -= (stats->tpr - old_tpr) * 4;
> 
> Why not use ETHER_CRC_LEN rather than magic # 4?

That would work too. Will respin tomorrow to fix and to give time
for other comments.

Thanks, -Harry


More information about the dev mailing list