> 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
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
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/
3 matches
Mail list logo