From: Anjali Singhai Jain Date: Tue, 24 Feb 2015 06:58:50 +0000 (+0000) Subject: i40e: Fix RSS size at init since default num queue calculation has changed X-Git-Tag: omap-for-v4.2/o2_dc~131^2~354^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ddcffb1afb009d352115a61e25c237915d9e04;p=pandora-kernel.git i40e: Fix RSS size at init since default num queue calculation has changed With changes to default number of queue pairs that the interface comes up with from 1 per online CPU to 1 per lan_msix, we need to make sure we recalculate rss_size. We will now recalculate rss_size based on number of queues enabled in the VSI. Without this fix if the max_lan_msix < num_online_cpu we will be coming up with fewer queues but will be populating rss_size based on num_online_cpus. This will result in packets getting silently dropped because RSS LUT has queues that are not enabled. Change-ID: Ifac8796ce1be1758bb0c34f38dbf4a3a76621e76 Signed-off-by: Anjali Singhai Jain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed