net/sfc: avoid Tx queue setup failure if thresholds are set
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 14 Nov 2017 11:32:35 +0000 (11:32 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 14 Nov 2017 17:57:22 +0000 (18:57 +0100)
commit048da2530d0d02c00a6a509c3351e5953817ffea
treef6c2bf30d3771c0d19eadb3aa4c088d24b964611
parentfdd7361b68021d049da9085680d55d2298c0ca3b
net/sfc: avoid Tx queue setup failure if thresholds are set

Tx 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 Tx queue setup
to be more friendly to DPDK applications which hardcode it.

Fixes: b1b7ad933b39 ("net/sfc: set up and release Tx queues")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_tx.c