ethdev: expose flow API error helper
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 12 Oct 2017 12:19:15 +0000 (14:19 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 00:18:47 +0000 (01:18 +0100)
commit5b4efcc6b9d5f60302ce6ed19249111e6840aae5
tree373e93277ed438b444c955163349f52b380d6d51
parent653c9de121307fd1bf9f5065fb8e05380c00b5c9
ethdev: expose flow API error helper

rte_flow_error_set() is a convenient helper to initialize error objects.

Since there is no fundamental reason to prevent applications from using it,
expose it through the public interface after modifying its return value
from positive to negative. This is done for consistency with the rest of
the public interface.

Documentation is updated accordingly.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
doc/guides/prog_guide/rte_flow.rst
drivers/net/mlx4/mlx4_flow.c
drivers/net/tap/tap_flow.c
lib/librte_ether/rte_ethdev_version.map
lib/librte_ether/rte_flow.c
lib/librte_ether/rte_flow.h
lib/librte_ether/rte_flow_driver.h