OpenCloudOS-Kernel/drivers/net/ethernet/intel/i40e
Anjali Singhai Jain 66ddcffb1a 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 <anjali.singhai@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-03 01:07:29 -08:00
..
Makefile i40e: Implement configfs for NPAR BW configuration 2015-02-24 21:42:40 -08:00
i40e.h i40e: Fix RSS size at init since default num queue calculation has changed 2015-03-03 01:07:29 -08:00
i40e_adminq.c i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_adminq.h i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_adminq_cmd.h i40e: AQ API updates for new commands 2015-01-16 05:20:37 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_configfs.c i40e: Implement configfs for NPAR BW configuration 2015-02-24 21:42:40 -08:00
i40e_dcb.c i40e: Check for LLDP AdminStatus before querying DCBX 2014-11-18 01:09:06 -08:00
i40e_dcb.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_dcb_nl.c i40e: Fix issue with removal of apps from DBCNL app table 2015-03-03 01:07:27 -08:00
i40e_debugfs.c i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00
i40e_diag.c i40e: Rework register diagnostic 2014-06-05 01:27:46 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: Enable more than 64 qps for the Main VSI 2015-03-03 01:07:25 -08:00
i40e_fcoe.c i40e: setup FCoE device type 2015-02-24 22:26:00 -08:00
i40e_fcoe.h i40e: adds FCoE code to the i40e driver 2014-08-02 19:41:13 -07:00
i40e_hmc.c i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.c i40e: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e: Fix RSS size at init since default num queue calculation has changed 2015-03-03 01:07:29 -08:00
i40e_nvm.c i40e: update Shadow RAM read/write functions 2015-02-23 17:11:55 -08:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_ptp.c i40e: when Rx timestamps disabled set specific mode 2015-01-16 05:20:56 -08:00
i40e_register.h i40e/i40evf: i40e_register.h updates 2015-02-23 17:11:57 -08:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c i40e/i40evf: Add missing packet types for VXLAN encapsulated packet types 2015-03-03 01:07:27 -08:00
i40e_txrx.h i40e/i40evf: Refactor the receive routines 2015-02-23 17:11:56 -08:00
i40e_type.h i40e: Add NPAR BW get and set functions 2015-02-24 21:28:11 -08:00
i40e_virtchnl.h i40e/i40evf: restrict VC opcodes to their initial values 2015-02-23 17:11:56 -08:00
i40e_virtchnl_pf.c i40e: don't disable PF LB when disabling VFs 2015-03-03 01:07:25 -08:00
i40e_virtchnl_pf.h i40e: Add support for getlink, setlink ndo ops 2015-02-24 21:57:05 -08:00