lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 10 Mar 2015 17:29:05 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	pgynther@...gle.com
Cc:	f.fainelli@...il.com, netdev@...r.kernel.org, jaedon.shin@...il.com
Subject: Re: [PATCH net-next] net: bcmgenet: collect Rx discarded packet
 count

From: Petri Gynther <pgynther@...gle.com>
Date: Tue, 10 Mar 2015 13:52:32 -0700

> It is a rare event that discards > 0. Thus, the extra register write
> happens very infrequently.
> 
> And, writing 0 to RDMA_PROD_INDEX does not reset the producer index
> bits 15:0 that are used in Rx processing.

You can defer the write until you see the 0xffff saturation value.

Or, perhaps, half the saturation value.

Anything is better than doing it on any discard, because this overhead
will make whatever is causing the cpu to be backlogged even worse.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists