ethdev: tidy up endianness handling in flow API
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 15 Jun 2017 15:48:59 +0000 (17:48 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 16 Jun 2017 14:07:56 +0000 (16:07 +0200)
commitd356de754b5d7b96c90221170001ba811eddca76
tree159cf76fe8dad76ded661fc5eb09f61d5178f075
parentb75667ef9f7e37135eddbd97346bcc330a0ad4de
ethdev: tidy up endianness handling in flow API

The flow API defines several structures whose fields must be specified in
network order. This commit documents them using explicit type names and
related endianness conversion macros.

No ABI change.

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