i40e: fix configuration of RSS table with DCB
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tue, 21 Feb 2017 23:55:40 +0000 (15:55 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 27 Mar 2017 23:45:14 +0000 (16:45 -0700)
commitf25571b576c72f4bfa8b0766b4d582ee9662bcbf
treec2c4033d4618ff7fa7e66816d2f067d272a52b1d
parent1793668c3b8c18ede309dfec30f7c486cca00d28
i40e: fix configuration of RSS table with DCB

There exists a bug in the driver where the calculation of the
RSS size was not taking into account the number of traffic classes
enabled. This patch factors in the traffic classes both in
the initial configuration of the table as well as reconfiguration.

Change-ID: I34dcd345ce52faf1d6b9614bea28d450cfd5f621
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c