]> www.infradead.org Git - users/dwmw2/linux.git/commit
enic: Move kdump check into enic_adjust_resources()
authorNelson Escobar <neescoba@cisco.com>
Wed, 13 Nov 2024 23:56:39 +0000 (23:56 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Nov 2024 23:38:41 +0000 (15:38 -0800)
commita28ccf1d6c102c8d874e8d75d676a2f870b75fa9
treeb92ec20e5f7cc83b3442a7e4c97a3f21da3a80c8
parent374f6c04df8e03c6f60eafbd1e02ac875017b85e
enic: Move kdump check into enic_adjust_resources()

Move the kdump check into enic_adjust_resources() so that everything
that modifies resources is in the same function.

Co-developed-by: John Daley <johndale@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
Co-developed-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20241113-remove_vic_resource_limits-v4-7-a34cf8570c67@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/enic_main.c