]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Only enable TC0 for NIC partition type
authorNeerav Parikh <neerav.parikh@intel.com>
Tue, 24 Feb 2015 06:58:53 +0000 (06:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Mar 2015 09:07:30 +0000 (01:07 -0800)
commite3c2df78d773b1a78e6773e9f70f1ca14fd4725d
treedb28ed46a599e3f807a1fbfc70f694f8edd4ba73
parent7375e5a877bebdfca216fd6462e78635d8fc8f53
i40e: Only enable TC0 for NIC partition type

In case of MFP mode the driver was returning incorrect number of TCs
for partitions that are not enabled for iSCSI. Though the driver does
not configure these TCs in the Tx scheduler for the NIC partitions;
it does use this map to setup the queue mappings.

This patch fixes this and keeps all the NIC partitions to the default
PF TC i.e. TC0.

Change-ID: Iede214c907e7bac1356e999049b9f642759512b3
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c