net/qede: fix to reject config with no Rx queue
authorHarish Patil <harish.patil@cavium.com>
Thu, 14 Dec 2017 06:36:02 +0000 (22:36 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite60644c4420c47fa196c0c947a6c6e5891d167d0
tree9c6729ee4f4fd4ac30f4b8747b13a08735291742
parent749d2329f3cef4d3ccbd00000193a728f9393557
net/qede: fix to reject config with no Rx queue

The qede firmware expects minimum one RX queue to be created, otherwise
it results in firmware exception. So a check is added to prevent that.

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_ethdev.c