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: <20111115.164924.433752545055710503.davem@davemloft.net>
Date:	Tue, 15 Nov 2011 16:49:24 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	amirv@....mellanox.co.il
Cc:	netdev@...r.kernel.org, oren@...lanox.com, yevgenyp@...lanox.com,
	ogerlitz@...lanox.com, amirv@...lanox.co.il
Subject: Re: [PATCH 1/3] net/mlx4_en: allow setting number of rx rings for
 RSS/TCP

From: Amir Vadai <amirv@....mellanox.co.il>
Date: Tue, 15 Nov 2011 11:14:04 +0200

> +	if (priv->mdev->profile.tcp_rss == -1 ||
> +			priv->mdev->profile.tcp_rss > priv->rx_ring_num)

Please format your code properly:

	if (priv->mdev->profile.tcp_rss == -1 ||
	    priv->mdev->profile.tcp_rss > priv->rx_ring_num)
--
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