]> git.ipfire.org Git - people/ms/linux.git/commit
IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 17 Dec 2014 14:17:34 +0000 (16:17 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 24 Mar 2015 01:02:45 +0000 (21:02 -0400)
commitb092f84af2add4f5cc3ca399e800f660154e9b65
tree64bfb16c3fa3e8a94c4ecce46400dac04dfedb67
parentf8a4faf99f25ad33a3845eacf53b550544ec05af
IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

commit e9a7faf11af94957e5107b40af46c2e329541510 upstream.

The MLX4_PROT_IB_IPV4 protocol should only be used with RoCEv2 and such.
Removing this wrong usage allows to run multicast applications over RoCE.

Fixes: d487ee77740c ("IB/mlx4: Use IBoE (RoCE) IP based GIDs in the port GID table")
Reported-by: Carol Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/infiniband/hw/mlx4/main.c