net/sfc: fix errno if flow API RSS action parse fails
authorRoman Zhukov <roman.zhukov@oktetlabs.ru>
Wed, 16 May 2018 14:21:23 +0000 (15:21 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 17 May 2018 17:44:23 +0000 (19:44 +0200)
commit1613848c2cd109d525d60cb6e84c9b893ef0ccce
tree0e1b3fd29455bb39a467495b2df8e3b0c56238b2
parent2f5045c51c670f60f4418bb369bc107695246fd7
net/sfc: fix errno if flow API RSS action parse fails

The value of rte_errno must be positive in case of an error.

Fixes: d77d07391d4d ("net/sfc: support flow API RSS action")
Cc: stable@dpdk.org
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_flow.c