net/ena: remove lcore constraint from max queue number
authorMichal Krawczyk <mk@semihalf.com>
Fri, 25 Jan 2019 08:10:24 +0000 (09:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Jan 2019 22:38:37 +0000 (23:38 +0100)
commit43d9610e4f072ffc321683be816d4746eae8d634
treed093305d7718731fc540914f66c87deb56b04705
parenta9c94cc05015f34cd904e7903c698be1ddefbcc6
net/ena: remove lcore constraint from max queue number

The number of queues was limited by number of lcores in the recent ENAv2
patch. However, some apps like symmetric_mp, are configuring multiple
queues although there is only single lcore used.

To prevent failure in that case, the lcore number constraint was
removed.

Fixes: ea93d37eb49d ("net/ena: add HW queues depth setup")

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