From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhe Tao Subject: Re: [PATCH v2] ethdev: fix byte order inconsistence between fdir flow and mask Date: Wed, 2 Mar 2016 08:25:47 +0800 Message-ID: <20160302002547.GA3087@intel.com> References: <1453883856-31246-1-git-send-email-jingjing.wu@intel.com> <1454294901-2556-1-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Jingjing Wu Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7F2012C59 for ; Wed, 2 Mar 2016 09:39:46 +0100 (CET) Content-Disposition: inline In-Reply-To: <1454294901-2556-1-git-send-email-jingjing.wu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Feb 01, 2016 at 10:48:21AM +0800, Jingjing Wu wrote: > 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 > Signed-off-by: Jingjing Wu > --- > 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