net/i40e: fix using error set function
authorWei Zhao <wei.zhao1@intel.com>
Mon, 9 Apr 2018 02:26:32 +0000 (10:26 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:43:30 +0000 (00:43 +0200)
commit9ef8ebe790d8de796b50e5a1e389e07540d2ce4f
tree845f54419cfdcbde35c70dce3cfb593cd69e3260
parent17d5c9234b85b8fc8ca19f91f3f326d398421d39
net/i40e: fix using error set function

There is a specific function to set error for flow configuration,
so change to use that function.

Fixes: ecad87d22383 ("net/i40e: move RSS to flow API")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_flow.c