ethdev: modify flow API error function
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Tue, 10 Jan 2017 13:08:27 +0000 (14:08 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 11 Jan 2017 15:53:07 +0000 (16:53 +0100)
commita757583e55fd8c6c0907537f794105a2707c5188
treea6b4b5d3e4eb5dc7ecd1046a7794d55abd7ec203
parentbd9e3bc20f38ad79daa2ead949db7655bbe1f182
ethdev: modify flow API error function

Based on initial PMD implementations of the flow API, returning the error
structure which may be NULL is useless and always discarded.

Returning the error code instead appears to be much more convenient.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_ether/rte_flow.c
lib/librte_ether/rte_flow_driver.h