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:	Wed, 29 Oct 2014 14:34:18 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	matei.pavaluca@...escale.com
Cc:	netdev@...r.kernel.org, claudiu.manoil@...escale.com
Subject: Re: [PATCH net-next v2 3/3] gianfar: Implement PAUSE frame
 generation support

From: Matei Pavaluca <matei.pavaluca@...escale.com>
Date: Mon, 27 Oct 2014 10:42:44 +0200

> The hardware can automatically generate pause frames when the number
> of free buffers drops under a certain threshold, but in order to do this,
> the address of the last free buffer needs to be written to a specific
> register for each RX queue.
> 
> This has to be done in 'gfar_clean_rx_ring' which is called for each
> RX queue. In order not to impact performance, by adding a register write
> for each incoming packet, this operation is done only when the PAUSE frame
> transmission is enabled.
> 
> Whenever the link is readjusted, this capability is turned on or off.
> 
> Signed-off-by: Matei Pavaluca <matei.pavaluca@...escale.com>

Applied.

But I would turn pause frames on by default, and deal with the
"performance" issue by aggregating the register writes.  Only
do it every N cleaned frames.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ