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

2015-11-16 Thread Van Haaren, Harry
> From: Stephen Hemminger [mailto:shemming at brocade.com] > Harry van Haaren wrote: > > > + 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

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

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 88995b0

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

2015-11-16 Thread Stephen Hemminger
On Mon, 16 Nov 2015 10:35:14 + Harry van Haaren wrote: > This patch removes the crc bytes from byte counter statistics. > > Signed-off-by: Harry van Haaren > --- > drivers/net/e1000/igb_ethdev.c | 19 +-- > 1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git a/