ethdev: add flow rule copy function
authorGaetan Rivet <gaetan.rivet@6wind.com>
Fri, 7 Jul 2017 00:08:31 +0000 (02:08 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 8 Jul 2017 15:55:02 +0000 (17:55 +0200)
commit18da437b5f637365c4a28dcac7d1bae73ebad91c
treeccf9b9e76dd970ab9135b4db988b253160b37721
parent3abcd29f2de0e75e4c4fc524f7bb3cd709a68314
ethdev: add flow rule copy function

This allows PMDs and applications to save flow rules in their generic
format for later processing. This is useful when rules cannot be applied
immediately, such as when the device is not properly initialized.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_ether/rte_ether_version.map
lib/librte_ether/rte_flow.c
lib/librte_ether/rte_flow.h