IB/mlx5: Add multicast flow steering support for underlay QP
authorYishai Hadas <yishaih@mellanox.com>
Thu, 8 Jun 2017 13:15:09 +0000 (16:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:40:46 +0000 (10:40 -0400)
commit81e308804ba6b389ead57b54a259154a36a560a8
treee60440b16be3d0e26469caa3761daccf270afaf5
parentc2e53b2ce1ba351918ede492c0cb207f42e1228f
IB/mlx5: Add multicast flow steering support for underlay QP

In order to add multicast flow steering support, there is need
to block the attaching of mcg flow for underlay QP, recognize
multicast IB_FLOW_SPEC_IPV4 based on its IP and enable
creating/destroying flow for IB layer.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c