Searched refs:raw_gid (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_common_util.h | 40 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()
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 78 siw_dbg(base_dev, "HWaddr=%pM\n", sdev->raw_gid); in siw_device_register() 295 memcpy(sdev->raw_gid, netdev->dev_addr, in siw_device_create() 302 eth_random_addr(sdev->raw_gid); in siw_device_create() 304 addrconf_addr_eui48((u8 *)&base_dev->node_guid, sdev->raw_gid); in siw_device_create()
|
H A D | siw.h | 77 char raw_gid[ETH_ALEN]; member
|
H A D | siw_verbs.c | 160 sdev->raw_gid); in siw_query_device() 221 memcpy(gid->raw, sdev->raw_gid, ETH_ALEN); in siw_query_gid()
|