Re: [PATCH v2] ethdev: fix byte order inconsistence between fdir flow and mask
From: Zhe Tao <hidden>
Date: 2016-03-02 08:39:46
On Mon, Feb 01, 2016 at 10:48:21AM +0800, Jingjing Wu wrote:
quoted hunk ↗ jump to hunk
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: 76c6f89e80d4 ("ixgbe: support new flow director masks") Fixes: 2d4c1a9ea2ac ("ethdev: add new flow director masks") Reported-by: Yaacov Hazan <redacted> Signed-off-by: Jingjing Wu <redacted> --- v2 changes: fix typo and reword API doc. app/test-pmd/cmdline.c | 6 ++--- doc/guides/rel_notes/release_2_3.rst | 6 +++++ drivers/net/ixgbe/ixgbe_fdir.c | 47 ++++++++++++++++++++++-------------- lib/librte_ether/rte_eth_ctrl.h | 17 ++++++++++--- 4 files changed, 51 insertions(+), 25 deletions(-)diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 73298c9..13194c9 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c@@ -8687,13 +8687,13 @@ cmd_flow_director_mask_parsed(void *parsed_result, return; }
Acked-by: Zhe Tao <redacted>