[dpdk-dev] [PATCH] net/mlx4: fix restriction on TCP/UDP flow rules
Nélio Laranjeiro
nelio.laranjeiro at 6wind.com
Fri Oct 20 14:45:18 CEST 2017
On Fri, Oct 20, 2017 at 02:39:58PM +0200, Adrien Mazarguil wrote:
> The code as currently written requires TCP/UDP source and destination ports
> to be always specified.
>
> No such restriction is enforced by hardware; all TCP and UDP traffic can be
> matched by providing an empty mask for these fields.
>
> Fixes: 680d5280c20b ("net/mlx4: refactor flow item validation code")
>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
--
Nélio Laranjeiro
6WIND
More information about the dev
mailing list