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)
commit065aa694a76e213d5774eeb70a9c11b8cf0dfdb7
tree0cfa2788bf0b67aec97c37bbf8af7b3f6bbef452
parent6d2c322cce04c177d96baafdbd9bad5c49456719
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