i40e: Fix the number of queues available to be mapped for use
authorAmritha Nambiar <amritha.nambiar@intel.com>
Tue, 6 Feb 2018 21:15:20 +0000 (13:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Feb 2018 02:53:32 +0000 (21:53 -0500)
commitbc6d33c8d93f5999920e97a8c6330b8910053d4f
tree20624c8437d3dd9d0a3fb65f08a48945f6da8b78
parent44750f8483a1bc4bda58ec4f7b7af5b053833d49
i40e: Fix the number of queues available to be mapped for use

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>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c