Re: [dpdk-dev] [PATCH] net/mlx5: fix parsing all-multicast from flow item

2018-01-12 Thread Yongseok Koh
> On Jan 11, 2018, at 12:20 AM, Nélio Laranjeiro > wrote: > > On Wed, Jan 10, 2018 at 11:51:53PM -0800, Yongseok Koh wrote: >> As the dst_mac of allmulti is already masked with the mask, it has 0x01 in >> the first octet. Checking the least significant bit only can't distinguish >> it from broa

Re: [dpdk-dev] [PATCH] net/mlx5: fix parsing all-multicast from flow item

2018-01-11 Thread Nélio Laranjeiro
On Wed, Jan 10, 2018 at 11:51:53PM -0800, Yongseok Koh wrote: > As the dst_mac of allmulti is already masked with the mask, it has 0x01 in > the first octet. Checking the least significant bit only can't distinguish > it from broadcast or IPv6 multicast. > > Fixes: bb47fb6e6067 ("net/mlx5: fix flow

[dpdk-dev] [PATCH] net/mlx5: fix parsing all-multicast from flow item

2018-01-10 Thread Yongseok Koh
As the dst_mac of allmulti is already masked with the mask, it has 0x01 in the first octet. Checking the least significant bit only can't distinguish it from broadcast or IPv6 multicast. Fixes: bb47fb6e6067 ("net/mlx5: fix flow type for allmulti rules") Cc: sta...@dpdk.org Signed-off-by: Yongseok