main.c (e8161334403ed34a9214bcce517d50bbe3e02b97) | main.c (81713d3788d2e6bc005f15ee1c59d0eb06050a6b) |
---|---|
1/* 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 3569 unchanged lines hidden (view full) --- 3578#endif 3579 .protocol = MLX5_INTERFACE_PROTOCOL_IB, 3580}; 3581 3582static int __init mlx5_ib_init(void) 3583{ 3584 int err; 3585 | 1/* 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 3569 unchanged lines hidden (view full) --- 3578#endif 3579 .protocol = MLX5_INTERFACE_PROTOCOL_IB, 3580}; 3581 3582static int __init mlx5_ib_init(void) 3583{ 3584 int err; 3585 |
3586 mlx5_ib_odp_init(); 3587 |
|
3586 err = mlx5_register_interface(&mlx5_ib_interface); 3587 3588 return err; 3589} 3590 3591static void __exit mlx5_ib_cleanup(void) 3592{ 3593 mlx5_unregister_interface(&mlx5_ib_interface); 3594} 3595 3596module_init(mlx5_ib_init); 3597module_exit(mlx5_ib_cleanup); | 3588 err = mlx5_register_interface(&mlx5_ib_interface); 3589 3590 return err; 3591} 3592 3593static void __exit mlx5_ib_cleanup(void) 3594{ 3595 mlx5_unregister_interface(&mlx5_ib_interface); 3596} 3597 3598module_init(mlx5_ib_init); 3599module_exit(mlx5_ib_cleanup); |