]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: use minimal Tx and Rx pairs for kdump
authorCoiby Xu <coxu@redhat.com>
Thu, 4 Mar 2021 02:55:41 +0000 (10:55 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Apr 2021 16:03:56 +0000 (09:03 -0700)
commit95e8b1c2226075f5ba8e37d3cb2f6e4d3c486be4
tree0cfa2788bf0b67aec97c37bbf8af7b3f6bbef452
parent8c969cbc4c7fb3124c6d3a1b996058a6ed7e8d72
i40e: use minimal Tx and Rx pairs for kdump

Set the number of the MSI-X vectors to 1. When MSI-X is enabled,
it's not allowed to use more TC queue pairs than MSI-X vectors
(pf->num_lan_msix) exist. Thus the number of Tx and Rx pairs
(vsi->num_queue_pairs) will be equal to the number of MSI-X vectors,
i.e., 1.

Signed-off-by: Coiby Xu <coxu@redhat.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c