]> 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)
commit91d711fd1cf289e79359b80a82f916f18c400201
treedb28ed46a599e3f807a1fbfc70f694f8edd4ba73
parentd351f57106e6bd4de2352742b9ac46bb7373282d
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