ethdev: fix byte order consistency of flow director
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 1 Feb 2016 02:48:21 +0000 (10:48 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 4 Mar 2016 15:50:58 +0000 (16:50 +0100)
commit1409f127d7f1a79aa60b7432bc1df3b89a55564e
tree0a02778eb9f033a1b93d3d7bf89fa518310f1c1c
parent5ecdeba601d13156379dde4e8bbca69a20c049af
ethdev: fix byte order consistency of flow director

Fixed issue of byte order in ethdev library that the structure
for setting fdir's mask and flow entry is inconsist and made
inputs of mask be in big endian.

Fixes: 2d4c1a9ea2ac ("ethdev: add new flow director masks")
Fixes: 76c6f89e80d4 ("ixgbe: support new flow director masks")

Reported-by: Yaacov Hazan <yaacovh@mellanox.com>
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Zhe Tao <zhe.tao@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c
doc/guides/rel_notes/release_16_04.rst
drivers/net/ixgbe/ixgbe_fdir.c
lib/librte_ether/rte_eth_ctrl.h