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

Use the minimum of the number of descriptors thus we will allocate the
minimal ring buffers for kdump.

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