[dpdk-dev] [PATCH v2] ethdev: fix byte order inconsistence between fdir flow and mask

Zhe Tao zhe.tao at intel.com
Wed Mar 2 01:25:47 CET 2016


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 <yaacovh at mellanox.com>
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
> ---
> 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 <zhe.tao at intel.com>



More information about the dev mailing list