Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix VLAN validation

2017-01-27 Thread Ferruh Yigit
On 1/27/2017 3:35 PM, Nelio Laranjeiro wrote: > TCI field is read from the wrong place due to an invalid cast. Moreover > there is no need to limit matching to VID since PCP and DEI bits can be > matched as well. > > Fixes: 12475fb203ad ("net/mlx5: support VLAN flow item") > > Signed-off-by: Neli

[dpdk-dev] [PATCH 1/2] net/mlx5: fix VLAN validation

2017-01-27 Thread Nelio Laranjeiro
TCI field is read from the wrong place due to an invalid cast. Moreover there is no need to limit matching to VID since PCP and DEI bits can be matched as well. Fixes: 12475fb203ad ("net/mlx5: support VLAN flow item") Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 11 ---