net: ena: Make few cosmetic preparations to support large LLQ
authorShay Agroskin <shayagr@amazon.com>
Thu, 23 Mar 2023 16:36:06 +0000 (18:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Mar 2023 02:49:58 +0000 (19:49 -0700)
commit3a09108446b674a544a736318a7916c5bcea3f14
tree8c13f5fe196df85387eb332ff167cc1189c96990
parent233eb4e786b57ea686b51c13a04cc2839fd682fc
net: ena: Make few cosmetic preparations to support large LLQ

Move ena_calc_io_queue_size() implementation closer to the file's
beginning so that it can be later called from ena_device_init()
function without adding a function declaration.

Also add an empty line at some spots to separate logical blocks in
funcitons.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_netdev.c