]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
i40e: Fix the number of queues available to be mapped for use
authorAmritha Nambiar <amritha.nambiar@intel.com>
Tue, 26 Mar 2019 08:30:48 +0000 (14:00 +0530)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 27 Mar 2019 05:35:05 +0000 (01:35 -0400)
commit7203d74343863b7a1a5b07b8d1bfef81883d60f3
tree3c699668d264567727248e96c235805c760007ff
parentb7c8442a1a2308ca3bff4f9eb5ac3efa83cc2f77
i40e: Fix the number of queues available to be mapped for use

BugLink: https://bugs.launchpad.net/bugs/1820948
Fix the number of queues per enabled TC and report available queues
to the kernel without having to limit them to the max rss limit so
they are available to be mapped for XPS. This allows a queue per
processing thread available for handling traffic for the given
traffic class.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
(cherry picked from commit bc6d33c8d93f5999920e97a8c6330b8910053d4f)
Signed-off-by: Nivedita Singhvi <nivedita.singhvi@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_main.c