1
0
Fork 0
alistair23-linux/drivers/infiniband/ulp
Kamal Heib dc1d4c658b RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces
[ Upstream commit 5ce2dced8e ]

Report the "ipoib pkey", "mode" and "umcast" netlink attributes for every
IPoiB interface type, not just children created with 'ip link add'.

After setting the rtnl_link_ops for the parent interface, implement the
dellink() callback to block users from trying to remove it.

Fixes: 862096a8bb ("IB/ipoib: Add more rtnl_link_ops callbacks")
Link: https://lore.kernel.org/r/20201004132948.26669-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:51 +01:00
..
ipoib RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces 2020-10-29 09:57:51 +01:00
iser IB/iser: Always check sig MR before putting it to the free pool 2020-10-01 13:17:50 +02:00
isert IB/isert: Fix unaligned immediate-data handling 2020-09-17 13:47:44 +02:00
opa_vnic treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
srp IB/srp: Never use immediate data if it is disabled by a user 2020-02-14 16:34:07 -05:00
srpt RDMA/srpt: Report the SCSI residual to the initiator 2020-01-17 19:48:40 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00