]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Do not allow use more TC queue pairs than MSI-X vectors exist
authorPaweł Jabłoński <pawel.jablonski@intel.com>
Fri, 29 Dec 2017 13:49:10 +0000 (08:49 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 21:23:50 +0000 (13:23 -0800)
commit5196069d63a4c845dbe6bfa89d4f9d09a8f34bd0
tree25f432069c69515781c1d1393a3c82ea5f02e7d0
parente915f80fd0b2367a4d70fa6c366ebf9a0db60b2c
i40e: Do not allow use more TC queue pairs than MSI-X vectors exist

This patch suppresses the message about invalid TC mapping and wrong
selected TX queue. The root cause of this bug was setting too many
TC queue pairs on huge multiprocessor machines. When quantity of the
TC queue pairs is exceeding MSI-X vectors count then TX queue number
can be selected beyond actual TX queues amount.

Signed-off-by: Paweł Jabłoński <pawel.jablonski@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