i40e: fix inverted check for no refcount
authorRich Lane <rich.lane@bigswitch.com>
Wed, 23 Dec 2015 08:08:00 +0000 (00:08 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:18:34 +0000 (17:18 +0100)
commit097e920c32bf19cf918cc071525f33b0abdeebaf
treec238d06a5fb25068cfd81617d193fa439d7e6f86
parent23a5ba8922acebe8ca453e55ea9b10198f049c63
i40e: fix inverted check for no refcount

The no-refcount path was being taken without the application opting
in to it.

Fixes: 4861cde46116 ("i40e: new poll mode driver")

Reported-by: Mike Stolarchuk <mike.stolarchuk@bigswitch.com>
Signed-off-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_rxtx.c