]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: use minimal admin queue for kdump
authorCoiby Xu <coxu@redhat.com>
Thu, 4 Mar 2021 02:55:43 +0000 (10:55 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Apr 2021 16:03:56 +0000 (09:03 -0700)
commit5c208e9f498ed76ad03a09c5089efd4491631562
treef0d5b4684d66c46c4bc766e254641950783ec24c
parentdcb75338f6e7092324cc6784f1c30c5c6da6340e
i40e: use minimal admin queue for kdump

The minimum size of admin send/receive queue is 1 and 2 respectively.
The admin send queue can't be set to 1 because in that case, the
firmware would fail to init.

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.h
drivers/net/ethernet/intel/i40e/i40e_main.c