Home
last modified time | relevance | path

Searched refs:SMC_MAX_PNETID_LEN (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/net/smc/
Dsmc_pnet.c38 .len = SMC_MAX_PNETID_LEN
61 char pnet_name[SMC_MAX_PNETID_LEN + 1];
89 for (i = 0; i < SMC_MAX_PNETID_LEN; i++) { in smc_pnet_match()
156 SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid()
173 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid()
255 SMC_MAX_PNETID_LEN); in smc_pnet_apply_ib()
271 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_apply_smcd()
294 if (end - bf >= SMC_MAX_PNETID_LEN) in smc_pnetid_valid()
349 u8 ndev_pnetid[SMC_MAX_PNETID_LEN]; in smc_pnet_add_eth()
371 memcpy(new_pe->pnet_name, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_add_eth()
[all …]
Dsmc_pnet.h43 u8 pnetid[SMC_MAX_PNETID_LEN];
Dsmc_ism.c209 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_smcd_dev()
247 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_handle_smcd_dev()
248 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_handle_smcd_dev()
Dsmc_ib.h46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN];
Dsmc_ib.c335 SMC_MAX_PNETID_LEN)) in smc_ib_gid_check()
495 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_handle_dev_port()
507 memcpy(smc_pnet, &smcibdev->pnetid[port], SMC_MAX_PNETID_LEN); in smc_nl_handle_dev_port()
508 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_handle_dev_port()
Dsmc_core.c335 char smc_target[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_lgr()
357 memcpy(smc_target, lgr->pnet_id, SMC_MAX_PNETID_LEN); in smc_nl_fill_lgr()
358 smc_target[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_lgr()
502 char smc_pnet[SMC_MAX_PNETID_LEN + 1]; in smc_nl_fill_smcd_lgr()
530 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr()
531 smc_pnet[SMC_MAX_PNETID_LEN] = 0; in smc_nl_fill_smcd_lgr()
898 SMC_MAX_PNETID_LEN); in smc_lgr_create()
1656 SMC_MAX_PNETID_LEN) || in smcr_port_add()
1737 SMC_MAX_PNETID_LEN)) in smcr_port_err()
Dsmc_core.h295 u8 pnet_id[SMC_MAX_PNETID_LEN + 1];
/Linux-v6.1/include/net/
Dsmc.h21 #define SMC_MAX_PNETID_LEN 16 /* Max. length of PNET id */ macro
89 u8 pnetid[SMC_MAX_PNETID_LEN];