Re: [dpdk-dev] [PATCH] net/mlx4: fix restriction on TCP/UDP flow rules

2017-10-23 Thread Ferruh Yigit
On 10/20/2017 5:45 AM, Nélio Laranjeiro wrote: > 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

Re: [dpdk-dev] [PATCH] net/mlx4: fix restriction on TCP/UDP flow rules

2017-10-20 Thread Nélio Laranjeiro
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 f

[dpdk-dev] [PATCH] net/mlx4: fix restriction on TCP/UDP flow rules

2017-10-20 Thread Adrien Mazarguil
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")