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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Jan 2008 04:56:11 -0500
From:	Jeff Garzik <jeff@...zik.org>
To:	jacliburn@...lsouth.net
CC:	csnook@...hat.com, linux-kernel@...r.kernel.org,
	atl1-devel@...ts.sourceforge.net
Subject: Re: [PATCH 06/26] atl1: update initialization parameters

jacliburn@...lsouth.net wrote:
> From: Jay Cliburn <jacliburn@...lsouth.net>
> 
> Update initialization parameters to match the current vendor driver
> version 1.2.40.2.
> 
> Signed-off-by: Jay Cliburn <jacliburn@...lsouth.net>
> ---
>  drivers/net/atlx/atl1.c |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
> index 262d3ca..695dcbc 100644
> --- a/drivers/net/atlx/atl1.c
> +++ b/drivers/net/atlx/atl1.c
> @@ -136,20 +136,20 @@ static int __devinit atl1_sw_init(struct atl1_adapter *adapter)
>  	hw->rfd_fetch_gap = 1;
>  	hw->rx_jumbo_th = adapter->rx_buffer_len / 8;
>  	hw->rx_jumbo_lkah = 1;
> -	hw->rrd_ret_timer = 16;
> -	hw->tpd_burst = 4;
> +	hw->rrd_ret_timer = 4;	/* 8 us */
> +	hw->tpd_burst = 8;
>  	hw->tpd_fetch_th = 16;
> -	hw->txf_burst = 0x100;
> +	hw->txf_burst = 0x200;
>  	hw->tx_jumbo_task_th = (hw->max_frame_size + 7) >> 3;
>  	hw->tpd_fetch_gap = 1;
>  	hw->rcb_value = atl1_rcb_64;
>  	hw->dma_ord = atl1_dma_ord_enh;
> -	hw->dmar_block = atl1_dma_req_256;
> -	hw->dmaw_block = atl1_dma_req_256;
> +	hw->dmar_block = atl1_dma_req_1024;
> +	hw->dmaw_block = atl1_dma_req_1024;
>  	hw->cmb_rrd = 4;
>  	hw->cmb_tpd = 4;
> -	hw->cmb_rx_timer = 1;	/* about 2us */
> -	hw->cmb_tx_timer = 1;	/* about 2us */
> +	hw->cmb_rx_timer = 2;	/* about 4us */
> +	hw->cmb_tx_timer = 256;	/* about 512us */
>  	hw->smb_timer = 100000;	/* about 200ms */

ACK without any better knowledge...  but is any addition insight 
available at all?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ