]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Enable the transmit side of the datagram ipoib netdev
authorPiotr Stankiewicz <piotr.stankiewicz@intel.com>
Mon, 11 May 2020 16:07:13 +0000 (12:07 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 21 May 2020 14:23:58 +0000 (11:23 -0300)
commit64e7eccdbc301c32838a359a302c81132b2186df
tree726d3a0ff724802e21423bd284c8689fdfe20b3b
parent5df8e42bf68e8d96e5ac1f7250e87463fa5f0c0a
IB/hfi1: Enable the transmit side of the datagram ipoib netdev

This patch hooks the transmit side of the datagram netdev with
ipoib by setting the rdma_netdev_get_params function for the
hfi1 ib_device_ops structue. It also enables the receiving side
by adding the AIP capability into the default capabilities.

Link: https://lore.kernel.org/r/20200511160712.173205.65700.stgit@awfm-01.aw.intel.com
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Piotr Stankiewicz <piotr.stankiewicz@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/common.h
drivers/infiniband/hw/hfi1/verbs.c