net/mlx5e: IPoIB, Underlay QP
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Apr 2017 03:37:00 +0000 (06:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:08:31 +0000 (11:08 -0400)
commitec8fd927b7a9006425f34dc51880e9fed582c4a7
tree8682b5b09cb10bccb3db47cb62c3ccc81451d423
parent603f4a45214d602f27749ad8b3bb6bd767dac2d5
net/mlx5e: IPoIB, Underlay QP

Create IPoIB underlay QP needed by the IPoIB netdevice profile for RSS
and TX HW context to perform on IPoIB traffic.

Reset the underlay QP on dev_uninit ndo to stop IPoIB traffic going
through this QP when the ULP IPoIB decides to cleanup.

Implement attach/detach mcast RDMA netdev callbacks for later RDMA
netdev use.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/ipoib.c