net/mlx5: fix artificial L4 limitation on switch flow rules
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Mon, 6 Aug 2018 14:25:42 +0000 (16:25 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 28 Aug 2018 13:27:39 +0000 (15:27 +0200)
commitdce1e4c2044d0e197eee29182cdb93454a0dc3d5
tree10c76b5f3dd5f768930b7f76cca9d72a6367c6fd
parentd02f2092a31457b6477e7e995f9b0ca122d951bc
net/mlx5: fix artificial L4 limitation on switch flow rules

Partial bit-masks are in fact supported on TCP/UDP source/destination
ports. Remove unnecessary check.

Fixes: 2bfc777e07 ("net/mlx5: add L2-L4 pattern items to switch flow rules")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_nl_flow.c