]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJack Vogel <jack.vogel@oracle.com>
Sat, 10 Jun 2017 01:57:03 +0000 (18:57 -0700)
commit97ad02ec48cce066ae29f6c075a3069ff00ea82c
tree5ab07e6bbe1ad16e34c5215f4ad8fe0c71bfa9b9
parent95498d0a6f5b353f1bfc980216a720bdfe498846
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>
Orabug: 26132523
(cherry picked from commit f25571b576c72f4bfa8b0766b4d582ee9662bcbf)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c