Home
last modified time | relevance | path

Searched refs:raw_gid (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/usnic/
Dusnic_common_util.h40 usnic_mac_ip_to_gid(const char *const mac, const __be32 inaddr, char *raw_gid) in usnic_mac_ip_to_gid() argument
42 raw_gid[0] = 0xfe; in usnic_mac_ip_to_gid()
43 raw_gid[1] = 0x80; in usnic_mac_ip_to_gid()
44 memset(&raw_gid[2], 0, 2); in usnic_mac_ip_to_gid()
45 memcpy(&raw_gid[4], &inaddr, 4); in usnic_mac_ip_to_gid()
46 addrconf_addr_eui48(&raw_gid[8], mac); in usnic_mac_ip_to_gid()
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_main.c78 siw_dbg(base_dev, "HWaddr=%pM\n", sdev->raw_gid); in siw_device_register()
293 memcpy(sdev->raw_gid, netdev->dev_addr, in siw_device_create()
300 eth_random_addr(sdev->raw_gid); in siw_device_create()
302 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
Dsiw.h77 char raw_gid[ETH_ALEN]; member
Dsiw_verbs.c166 sdev->raw_gid); in siw_query_device()
227 memcpy(gid->raw, sdev->raw_gid, ETH_ALEN); in siw_query_gid()