smc_pnet.c (5b91c5cc0e7be4e41567cb2a6e21a8bb682c7cc5) | smc_pnet.c (f9496b7c1b48ce02cd17a3ee88b1e049c689a222) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 4 * 5 * Generic netlink support functions to configure an SMC-R PNET table 6 * 7 * Copyright IBM Corp. 2016 8 * --- 856 unchanged lines hidden (view full) --- 865 866 INIT_LIST_HEAD(&pnettable->pnetlist); 867 rwlock_init(&pnettable->lock); 868 INIT_LIST_HEAD(&pnetids_ndev->list); 869 rwlock_init(&pnetids_ndev->lock); 870 871 smc_pnet_create_pnetids_list(net); 872 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 4 * 5 * Generic netlink support functions to configure an SMC-R PNET table 6 * 7 * Copyright IBM Corp. 2016 8 * --- 856 unchanged lines hidden (view full) --- 865 866 INIT_LIST_HEAD(&pnettable->pnetlist); 867 rwlock_init(&pnettable->lock); 868 INIT_LIST_HEAD(&pnetids_ndev->list); 869 rwlock_init(&pnetids_ndev->lock); 870 871 smc_pnet_create_pnetids_list(net); 872 |
873 /* disable handshake limitation by default */ 874 net->smc.limit_smc_hs = 0; 875 |
|
873 return 0; 874} 875 876int __init smc_pnet_init(void) 877{ 878 int rc; 879 880 rc = genl_register_family(&smc_pnet_nl_family); --- 320 unchanged lines hidden --- | 876 return 0; 877} 878 879int __init smc_pnet_init(void) 880{ 881 int rc; 882 883 rc = genl_register_family(&smc_pnet_nl_family); --- 320 unchanged lines hidden --- |