]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaf8f894bde764c4d424b22dc5cefe2a6f188f82
tree8682b5b09cb10bccb3db47cb62c3ccc81451d423
parent184f947df91167fe73f6ec1005c7c21f8533ea2e
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