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]
Message-ID: <alpine.LNX.2.03.1508251359320.21182@cisco.com>
Date:	Tue, 25 Aug 2015 14:01:09 +0530 (IST)
From:	Govindarajulu Varadarajan <gvaradar@...co.com>
To:	Govindarajulu Varadarajan <_govind@....com>
cc:	davem@...emloft.net, netdev@...r.kernel.org, ssujith@...co.com,
	benve@...co.com
Subject: Re: [PATCH net-next] enic: reduce ioread in devcmd2

On Tue, 25 Aug 2015, Govindarajulu Varadarajan wrote:

> posted_index is RO in firmware. We need not do ioread everytime to get
> posted index. Store posted index locally.
>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
> ---
> diff --git a/drivers/net/ethernet/cisco/enic/vnic_wq.h b/drivers/net/ethernet/cisco/enic/vnic_wq.h
> index 8944af9..0120961 100644
> --- a/drivers/net/ethernet/cisco/enic/vnic_wq.h
> +++ b/drivers/net/ethernet/cisco/enic/vnic_wq.h
> @@ -97,6 +97,7 @@ struct devcmd2_controller {
> 	int color;
> 	struct vnic_dev_ring results_ring;
> 	struct vnic_wq wq;
> +	u32 posted;

I need to initialize posted in vnic_dev_init_devcmd2. Ignore this patch.
I will send v2.

--
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