|
@@ -412,12 +412,10 @@ static void enum_all_gids_of_dev_cb(struct ib_device *ib_dev,
|
|
|
|
|
|
/* This function will rescan all of the network devices in the system
|
|
|
* and add their gids, as needed, to the relevant RoCE devices. */
|
|
|
-int roce_rescan_device(struct ib_device *ib_dev)
|
|
|
+void roce_rescan_device(struct ib_device *ib_dev)
|
|
|
{
|
|
|
ib_enum_roce_netdev(ib_dev, pass_all_filter, NULL,
|
|
|
enum_all_gids_of_dev_cb, NULL);
|
|
|
-
|
|
|
- return 0;
|
|
|
}
|
|
|
|
|
|
static void callback_for_addr_gid_device_scan(struct ib_device *device,
|