main.c (d18bb3e15201918b8d07e85a6e010ca5ed28dad5) | main.c (c0a6b5ecc5b7dd028c2921415ea036074a8f8b00) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 2/* 3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved. 4 */ 5 6#include <linux/debugfs.h> 7#include <linux/highmem.h> 8#include <linux/module.h> --- 4256 unchanged lines hidden (view full) --- 4265 4266static const struct ib_device_ops mlx5_ib_dev_common_roce_ops = { 4267 .create_rwq_ind_table = mlx5_ib_create_rwq_ind_table, 4268 .create_wq = mlx5_ib_create_wq, 4269 .destroy_rwq_ind_table = mlx5_ib_destroy_rwq_ind_table, 4270 .destroy_wq = mlx5_ib_destroy_wq, 4271 .get_netdev = mlx5_ib_get_netdev, 4272 .modify_wq = mlx5_ib_modify_wq, | 1// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 2/* 3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved. 4 */ 5 6#include <linux/debugfs.h> 7#include <linux/highmem.h> 8#include <linux/module.h> --- 4256 unchanged lines hidden (view full) --- 4265 4266static const struct ib_device_ops mlx5_ib_dev_common_roce_ops = { 4267 .create_rwq_ind_table = mlx5_ib_create_rwq_ind_table, 4268 .create_wq = mlx5_ib_create_wq, 4269 .destroy_rwq_ind_table = mlx5_ib_destroy_rwq_ind_table, 4270 .destroy_wq = mlx5_ib_destroy_wq, 4271 .get_netdev = mlx5_ib_get_netdev, 4272 .modify_wq = mlx5_ib_modify_wq, |
4273 4274 INIT_RDMA_OBJ_SIZE(ib_rwq_ind_table, mlx5_ib_rwq_ind_table, 4275 ib_rwq_ind_tbl), |
|
4273}; 4274 4275static int mlx5_ib_roce_init(struct mlx5_ib_dev *dev) 4276{ 4277 struct mlx5_core_dev *mdev = dev->mdev; 4278 enum rdma_link_layer ll; 4279 int port_type_cap; 4280 u8 port_num = 0; --- 627 unchanged lines hidden --- | 4276}; 4277 4278static int mlx5_ib_roce_init(struct mlx5_ib_dev *dev) 4279{ 4280 struct mlx5_core_dev *mdev = dev->mdev; 4281 enum rdma_link_layer ll; 4282 int port_type_cap; 4283 u8 port_num = 0; --- 627 unchanged lines hidden --- |