Lines Matching defs:hfi1_pportdata

778 struct hfi1_pportdata {  struct
779 struct hfi1_ibport ibport_data;
781 struct hfi1_devdata *dd;
782 struct kobject pport_cc_kobj;
783 struct kobject sc2vl_kobj;
784 struct kobject sl2sc_kobj;
785 struct kobject vl2mtu_kobj;
788 struct qsfp_data qsfp_info;
790 u32 port_type;
791 u32 tx_preset_eq;
792 u32 tx_preset_noeq;
793 u32 rx_preset;
794 u8 local_atten;
795 u8 remote_atten;
796 u8 default_atten;
797 u8 max_power_class;
800 bool config_from_scratch;
803 u64 guids[HFI1_GUIDS_PER_PORT];
806 u64 neighbor_guid;
809 u32 linkup;
815 u64 *statusp;
819 struct workqueue_struct *hfi1_wq;
820 struct workqueue_struct *link_wq;
823 struct work_struct link_vc_work;
824 struct work_struct link_up_work;
825 struct work_struct link_down_work;
826 struct work_struct sma_message_work;
827 struct work_struct freeze_work;
828 struct work_struct link_downgrade_work;
829 struct work_struct link_bounce_work;
830 struct delayed_work start_link_work;
832 struct mutex hls_lock;
833 u32 host_link_state;
837 u32 ibmtu; /* The MTU programmed for this unit */
842 u32 ibmaxlen;
843 u32 current_egress_rate; /* units [10^6 bits/sec] */
845 u32 lid;
847 u16 pkeys[MAX_PKEY_VALUES];
848 u16 link_width_supported;
849 u16 link_width_downgrade_supported;
850 u16 link_speed_supported;
851 u16 link_width_enabled;
852 u16 link_width_downgrade_enabled;
853 u16 link_speed_enabled;
854 u16 link_width_active;
855 u16 link_width_downgrade_tx_active;
856 u16 link_width_downgrade_rx_active;
857 u16 link_speed_active;
858 u8 vls_supported;
859 u8 vls_operational;
860 u8 actual_vls_operational;
862 u8 lmc;
864 u8 rx_pol_inv;
866 u8 hw_pidx; /* physical port index */
867 u8 port; /* IB port number and index into dd->pports - 1 */
869 u8 neighbor_type;
870 u8 neighbor_normal;
871 u8 neighbor_fm_security; /* 1 if firmware checking is disabled */
872 u8 neighbor_port_number;
873 u8 is_sm_config_started;
874 u8 offline_disabled_reason;
875 u8 is_active_optimize_enabled;
876 u8 driver_link_ready; /* driver ready for active link */
877 u8 link_enabled; /* link enabled? */
878 u8 linkinit_reason;
879 u8 local_tx_rate; /* rate given to 8051 firmware */
880 u8 qsfp_retry_count;
883 u8 overrun_threshold;
884 u8 phy_error_threshold;
885 unsigned int is_link_down_queued;
892 unsigned long led_override_vals[2];
893 u8 led_override_phase; /* LSB picks from vals[] */
894 atomic_t led_override_timer_active;
896 struct timer_list led_override_timer;
898 u32 sm_trap_qp;
899 u32 sa_qp;
905 spinlock_t cca_timer_lock ____cacheline_aligned_in_smp;
906 struct cca_timer cca_timer[OPA_MAX_SLS];
909 struct ib_cc_table_entry_shadow ccti_entries[CC_TABLE_SHADOW_MAX];
913 congestion_entries[OPA_MAX_SLS];
919 spinlock_t cc_state_lock ____cacheline_aligned_in_smp;
921 struct cc_state __rcu *cc_state;
924 u16 total_cct_entry;
927 u32 cc_sl_control_map;
930 u8 cc_max_table_entries;
936 spinlock_t cc_log_lock ____cacheline_aligned_in_smp;
937 u8 threshold_cong_event_map[OPA_MAX_SLS / 8];
938 u16 threshold_event_counter;
939 struct opa_hfi1_cong_log_event_internal cc_events[OPA_CONG_LOG_ELEMS];
940 int cc_log_idx; /* index for logging events */
941 int cc_mad_idx; /* index for reporting events */
944 struct vl_arb_cache vl_arb_cache[MAX_PRIO_TABLE];
947 u64 *cntrs;
949 u64 *scntrs;
951 u64 port_xmit_discards;
952 u64 port_xmit_discards_vl[C_VL_COUNT];
953 u64 port_xmit_constraint_errors;
954 u64 port_rcv_constraint_errors;
956 u64 link_downed;
958 u64 link_up;
960 u64 unknown_frame_count;
962 u16 port_ltp_crc_mode;
964 u8 port_crc_mode_enabled;
966 u8 mgmt_allowed;
967 u8 part_enforce; /* partition enforcement flags */
968 struct link_down_reason local_link_down_reason;
969 struct link_down_reason neigh_link_down_reason;
971 u8 remote_link_down_reason;
973 u32 port_error_action;
974 struct work_struct linkstate_active_work;
976 bool cc_prescan;
981 u64 port_vl_xmit_wait_last[C_VL_COUNT + 1];
982 u16 prev_link_width;
983 u64 vl_xmit_flit_cnt[C_VL_COUNT + 1];