net/ena: rework configuration of IO queue numbers
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:13 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit01bd68772492bd10acd44d25589f2c0d932c4af6
tree3c3677f03bf4d175b8a5bf2778e8658375385351
parent983cce2d5424b0912ea2890e7d022468c74f1df9
net/ena: rework configuration of IO queue numbers

Move configuration of IO queue numbers to separate function and take
into consideration max number of IO completion queues.

Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c