bnx2x: determine queue sizes sooner
authorCharles (Chas) Williams <ciwillia@brocade.com>
Thu, 31 Dec 2015 00:37:51 +0000 (19:37 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:51:12 +0000 (16:51 +0100)
commit9ec8127c3df400cffca48e5be547ce7a227d3e86
treec87b41e138f4b5e317ba794521f8d9c98b62fff6
parent31ec57cb6b1e478e8426244098b2b17e22ff221a
bnx2x: determine queue sizes sooner

The VF needs to determine the queues sizes before .dev_infos_get
so that it can hint to the upper layer the proper sizes.  Move
bnx2x_vf_get_resources() to .eth_dev_init and probe with the guesses
from bnx2x_init_rte().

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnx2x/bnx2x_vfpf.c