Lines Matching defs:hfi1_pportdata
731 struct hfi1_pportdata { struct
732 struct hfi1_ibport ibport_data;
734 struct hfi1_devdata *dd;
737 struct qsfp_data qsfp_info;
739 u32 port_type;
740 u32 tx_preset_eq;
741 u32 tx_preset_noeq;
742 u32 rx_preset;
743 u8 local_atten;
744 u8 remote_atten;
745 u8 default_atten;
746 u8 max_power_class;
749 bool config_from_scratch;
752 u64 guids[HFI1_GUIDS_PER_PORT];
755 u64 neighbor_guid;
758 u32 linkup;
764 u64 *statusp;
768 struct workqueue_struct *hfi1_wq;
769 struct workqueue_struct *link_wq;
772 struct work_struct link_vc_work;
773 struct work_struct link_up_work;
774 struct work_struct link_down_work;
775 struct work_struct sma_message_work;
776 struct work_struct freeze_work;
777 struct work_struct link_downgrade_work;
778 struct work_struct link_bounce_work;
779 struct delayed_work start_link_work;
781 struct mutex hls_lock;
782 u32 host_link_state;
786 u32 ibmtu; /* The MTU programmed for this unit */
791 u32 ibmaxlen;
792 u32 current_egress_rate; /* units [10^6 bits/sec] */
794 u32 lid;
796 u16 pkeys[MAX_PKEY_VALUES];
797 u16 link_width_supported;
798 u16 link_width_downgrade_supported;
799 u16 link_speed_supported;
800 u16 link_width_enabled;
801 u16 link_width_downgrade_enabled;
802 u16 link_speed_enabled;
803 u16 link_width_active;
804 u16 link_width_downgrade_tx_active;
805 u16 link_width_downgrade_rx_active;
806 u16 link_speed_active;
807 u8 vls_supported;
808 u8 vls_operational;
809 u8 actual_vls_operational;
811 u8 lmc;
813 u8 rx_pol_inv;
815 u8 hw_pidx; /* physical port index */
816 u32 port; /* IB port number and index into dd->pports - 1 */
818 u8 neighbor_type;
819 u8 neighbor_normal;
820 u8 neighbor_fm_security; /* 1 if firmware checking is disabled */
821 u8 neighbor_port_number;
822 u8 is_sm_config_started;
823 u8 offline_disabled_reason;
824 u8 is_active_optimize_enabled;
825 u8 driver_link_ready; /* driver ready for active link */
826 u8 link_enabled; /* link enabled? */
827 u8 linkinit_reason;
828 u8 local_tx_rate; /* rate given to 8051 firmware */
829 u8 qsfp_retry_count;
832 u8 overrun_threshold;
833 u8 phy_error_threshold;
834 unsigned int is_link_down_queued;
841 unsigned long led_override_vals[2];
842 u8 led_override_phase; /* LSB picks from vals[] */
843 atomic_t led_override_timer_active;
845 struct timer_list led_override_timer;
847 u32 sm_trap_qp;
848 u32 sa_qp;
854 spinlock_t cca_timer_lock ____cacheline_aligned_in_smp;
855 struct cca_timer cca_timer[OPA_MAX_SLS];
858 struct ib_cc_table_entry_shadow ccti_entries[CC_TABLE_SHADOW_MAX];
862 congestion_entries[OPA_MAX_SLS];
868 spinlock_t cc_state_lock ____cacheline_aligned_in_smp;
870 struct cc_state __rcu *cc_state;
873 u16 total_cct_entry;
876 u32 cc_sl_control_map;
879 u8 cc_max_table_entries;
885 spinlock_t cc_log_lock ____cacheline_aligned_in_smp;
886 u8 threshold_cong_event_map[OPA_MAX_SLS / 8];
887 u16 threshold_event_counter;
888 struct opa_hfi1_cong_log_event_internal cc_events[OPA_CONG_LOG_ELEMS];
889 int cc_log_idx; /* index for logging events */
890 int cc_mad_idx; /* index for reporting events */
893 struct vl_arb_cache vl_arb_cache[MAX_PRIO_TABLE];
896 u64 *cntrs;
898 u64 *scntrs;
900 u64 port_xmit_discards;
901 u64 port_xmit_discards_vl[C_VL_COUNT];
902 u64 port_xmit_constraint_errors;
903 u64 port_rcv_constraint_errors;
905 u64 link_downed;
907 u64 link_up;
909 u64 unknown_frame_count;
911 u16 port_ltp_crc_mode;
913 u8 port_crc_mode_enabled;
915 u8 mgmt_allowed;
916 u8 part_enforce; /* partition enforcement flags */
917 struct link_down_reason local_link_down_reason;
918 struct link_down_reason neigh_link_down_reason;
920 u8 remote_link_down_reason;
922 u32 port_error_action;
923 struct work_struct linkstate_active_work;
925 bool cc_prescan;
930 u64 port_vl_xmit_wait_last[C_VL_COUNT + 1];
931 u16 prev_link_width;
932 u64 vl_xmit_flit_cnt[C_VL_COUNT + 1];