net/sfc: avoid Rx queue setup failure if thresholds are set
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 14 Nov 2017 11:32:34 +0000 (11:32 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 14 Nov 2017 17:55:41 +0000 (18:55 +0100)
commitfdd7361b68021d049da9085680d55d2298c0ca3b
tree4f1ccc348dfb8cd1486330ab05e7f2309d1df67f
parentcb98affeefff891cfce331cb88e0e93d006693a5
net/sfc: avoid Rx queue setup failure if thresholds are set

Rx queue prefetch, host and writeback thresholds are used for
performance fine-tuning and not applicable to Solarflare NICs.
It is safe to just log warning and do not fail Rx queue setup
to be more friendly to DPDK applications which hardcode it.

Fixes: ce35b05c635e ("net/sfc: implement Rx queue setup release operations")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_rx.c