Searched refs:shmem_info (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c707 struct public_func shmem_info; qed_mcp_fill_shmem_func_info() local
709 qed_mcp_get_shmem_func(p_hwfn, p_ptt, &shmem_info, qed_mcp_fill_shmem_func_info()
713 info->pause_on_host = (shmem_info.config & qed_mcp_fill_shmem_func_info()
716 if (qed_mcp_get_shmem_proto(p_hwfn, &shmem_info, qed_mcp_fill_shmem_func_info()
719 (u32)(shmem_info.config & FUNC_MF_CFG_PROTOCOL_MASK)); qed_mcp_fill_shmem_func_info()
724 info->bandwidth_min = (shmem_info.config & qed_mcp_fill_shmem_func_info()
734 info->bandwidth_max = (shmem_info.config & qed_mcp_fill_shmem_func_info()
745 if (shmem_info.mac_upper || shmem_info.mac_lower) { qed_mcp_fill_shmem_func_info()
746 info->mac[0] = (u8)(shmem_info.mac_upper >> 8); qed_mcp_fill_shmem_func_info()
747 info->mac[1] = (u8)(shmem_info.mac_upper); qed_mcp_fill_shmem_func_info()
748 info->mac[2] = (u8)(shmem_info.mac_lower >> 24); qed_mcp_fill_shmem_func_info()
749 info->mac[3] = (u8)(shmem_info.mac_lower >> 16); qed_mcp_fill_shmem_func_info()
750 info->mac[4] = (u8)(shmem_info.mac_lower >> 8); qed_mcp_fill_shmem_func_info()
751 info->mac[5] = (u8)(shmem_info.mac_lower); qed_mcp_fill_shmem_func_info()
756 info->wwn_port = (u64)shmem_info.fcoe_wwn_port_name_upper | qed_mcp_fill_shmem_func_info()
757 (((u64)shmem_info.fcoe_wwn_port_name_lower) << 32); qed_mcp_fill_shmem_func_info()
758 info->wwn_node = (u64)shmem_info.fcoe_wwn_node_name_upper | qed_mcp_fill_shmem_func_info()
759 (((u64)shmem_info.fcoe_wwn_node_name_lower) << 32); qed_mcp_fill_shmem_func_info()
761 info->ovlan = (u16)(shmem_info.ovlan_stag & FUNC_MF_CFG_OV_STAG_MASK); qed_mcp_fill_shmem_func_info()

Completed in 53 milliseconds