]> www.infradead.org Git - users/dwmw2/linux.git/commit
enic: Move enic resource adjustments to separate function
authorNelson Escobar <neescoba@cisco.com>
Wed, 13 Nov 2024 23:56:38 +0000 (23:56 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Nov 2024 23:38:41 +0000 (15:38 -0800)
commit374f6c04df8e03c6f60eafbd1e02ac875017b85e
treef17674cf3ed1b2e0a81632c6239e61ff67a7d4e4
parentcc94d6c4d40c070ca95db8e43e92c4ee1fff5009
enic: Move enic resource adjustments to separate function

Move the enic resource adjustments out of enic_set_intr_mode() and into
its own function, enic_adjust_resources().

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-6-a34cf8570c67@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/enic_main.c