Lines Matching refs:p_dcbx_info

339 	flags = p_hwfn->p_dcbx_info->operational.flags;  in qed_dcbx_process_mib_info()
342 p_app = &p_hwfn->p_dcbx_info->operational.features.app; in qed_dcbx_process_mib_info()
345 p_ets = &p_hwfn->p_dcbx_info->operational.features.ets; in qed_dcbx_process_mib_info()
364 memcpy(&p_hwfn->p_dcbx_info->results, &data, in qed_dcbx_process_mib_info()
609 p_feat = &p_hwfn->p_dcbx_info->local_admin.features; in qed_dcbx_get_local_params()
621 p_feat = &p_hwfn->p_dcbx_info->remote.features; in qed_dcbx_get_remote_params()
639 flags = p_hwfn->p_dcbx_info->operational.flags; in qed_dcbx_get_operational_params()
654 p_feat = &p_hwfn->p_dcbx_info->operational.features; in qed_dcbx_get_operational_params()
655 p_results = &p_hwfn->p_dcbx_info->results; in qed_dcbx_get_operational_params()
690 p_local = &p_hwfn->p_dcbx_info->lldp_local[LLDP_NEAREST_BRIDGE]; in qed_dcbx_get_local_lldp_params()
704 p_remote = &p_hwfn->p_dcbx_info->lldp_remote[LLDP_NEAREST_BRIDGE]; in qed_dcbx_get_remote_lldp_params()
748 data.lldp_local = p_hwfn->p_dcbx_info->lldp_local; in qed_dcbx_read_local_lldp_mib()
766 data.lldp_remote = p_hwfn->p_dcbx_info->lldp_remote; in qed_dcbx_read_remote_lldp_mib()
784 data.mib = &p_hwfn->p_dcbx_info->operational; in qed_dcbx_read_operational_mib()
801 data.mib = &p_hwfn->p_dcbx_info->remote; in qed_dcbx_read_remote_mib()
816 data.local_admin = &p_hwfn->p_dcbx_info->local_admin; in qed_dcbx_read_local_mib()
857 op->dcbx_aen(cookie, &hwfn->p_dcbx_info->get, mib_type); in qed_dcbx_aen()
894 qed_dcbx_get_params(p_hwfn, &p_hwfn->p_dcbx_info->get, type); in qed_dcbx_mib_update_event()
903 p_data = &p_hwfn->p_dcbx_info->results; in qed_dcbx_mib_update_event()
918 p_hwfn->p_dcbx_info = kzalloc(sizeof(*p_hwfn->p_dcbx_info), GFP_KERNEL); in qed_dcbx_info_alloc()
919 if (!p_hwfn->p_dcbx_info) in qed_dcbx_info_alloc()
927 kfree(p_hwfn->p_dcbx_info); in qed_dcbx_info_free()
928 p_hwfn->p_dcbx_info = NULL; in qed_dcbx_info_free()
976 struct qed_dcbx_get *dcbx_info = &p_hwfn->p_dcbx_info->get; in qed_dcbx_get_priority_tc()
1175 &p_hwfn->p_dcbx_info->operational.features, in qed_dcbx_set_local_params()
1210 memcpy(&p_hwfn->p_dcbx_info->set, params, in qed_dcbx_config_params()
1216 memset(&p_hwfn->p_dcbx_info->set, 0, sizeof(p_hwfn->p_dcbx_info->set)); in qed_dcbx_config_params()
1241 if (p_hwfn->p_dcbx_info->set.config.valid) { in qed_dcbx_get_config_params()
1242 memcpy(params, &p_hwfn->p_dcbx_info->set, in qed_dcbx_get_config_params()
1257 p_hwfn->p_dcbx_info->set.override_flags = 0; in qed_dcbx_get_config_params()
1258 p_hwfn->p_dcbx_info->set.ver_num = DCBX_CONFIG_VERSION_DISABLED; in qed_dcbx_get_config_params()
1260 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_CEE; in qed_dcbx_get_config_params()
1262 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_IEEE; in qed_dcbx_get_config_params()
1264 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_STATIC; in qed_dcbx_get_config_params()
1266 p_hwfn->p_dcbx_info->set.enabled = dcbx_info->operational.enabled; in qed_dcbx_get_config_params()
1268 sizeof(p_hwfn->p_dcbx_info->set.config.params)); in qed_dcbx_get_config_params()
1269 memcpy(&p_hwfn->p_dcbx_info->set.config.params, in qed_dcbx_get_config_params()
1271 sizeof(p_hwfn->p_dcbx_info->set.config.params)); in qed_dcbx_get_config_params()
1272 p_hwfn->p_dcbx_info->set.config.valid = true; in qed_dcbx_get_config_params()
1274 memcpy(params, &p_hwfn->p_dcbx_info->set, sizeof(struct qed_dcbx_set)); in qed_dcbx_get_config_params()