lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 Nov 2009 03:02:07 -0800
From:	"Michael Chan" <>
To:	"'Eric Dumazet'" <>
cc:	"" <>,
	"" <>
Subject: Re: [PATCH] bnx2: avoid flushing statistics when doing a MTU

Eric Dumazet wrote:

> Michael Chan a écrit :
> > Calling bnx2_get_stats() won't refresh the stats counters because
> > they are DMA'ed once a second.  There's an I/O to immediately DMA
> > the counters:
> >
> > REG_WR(bp, BNX2_HC_COMMAND, bp->hc_cmd |
> >                                 BNX2_HC_COMMAND_STATS_NOW);
> >
> > We then need to add some delay to wait for the DMA to complete.
> Yes, but if you dont call bnx2_get_stats() netdev->stats will contain
> possibly very old values.
> At least, calling it will give one no more than second error.

OK I see.  We are also not saving the ethtool stats.  So perhaps the
more complete solution is to save the entire statistics block before

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists