qed.h (c9f289701540baeef9ac7c9977d67a7259f404db) | qed.h (699fed4a2d8e32d77d64928e570d7ffd93a62fdf) |
---|---|
1/* QLogic qed NIC Driver 2 * Copyright (c) 2015-2017 QLogic Corporation 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 1002 unchanged lines hidden (view full) --- 1011#define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ 1012 qed_device_num_ports((_p_hwfn)->cdev)) 1013int qed_device_num_ports(struct qed_dev *cdev); 1014 1015/* Prototypes */ 1016int qed_fill_dev_info(struct qed_dev *cdev, 1017 struct qed_dev_info *dev_info); 1018void qed_link_update(struct qed_hwfn *hwfn, struct qed_ptt *ptt); | 1/* QLogic qed NIC Driver 2 * Copyright (c) 2015-2017 QLogic Corporation 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 1002 unchanged lines hidden (view full) --- 1011#define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ 1012 qed_device_num_ports((_p_hwfn)->cdev)) 1013int qed_device_num_ports(struct qed_dev *cdev); 1014 1015/* Prototypes */ 1016int qed_fill_dev_info(struct qed_dev *cdev, 1017 struct qed_dev_info *dev_info); 1018void qed_link_update(struct qed_hwfn *hwfn, struct qed_ptt *ptt); |
1019void qed_bw_update(struct qed_hwfn *hwfn, struct qed_ptt *ptt); |
|
1019u32 qed_unzip_data(struct qed_hwfn *p_hwfn, 1020 u32 input_len, u8 *input_buf, 1021 u32 max_size, u8 *unzip_buf); 1022void qed_schedule_recovery_handler(struct qed_hwfn *p_hwfn); 1023void qed_get_protocol_stats(struct qed_dev *cdev, 1024 enum qed_mcp_protocol_type type, 1025 union qed_mcp_protocol_stats *stats); 1026int qed_slowpath_irq_req(struct qed_hwfn *hwfn); 1027void qed_slowpath_irq_sync(struct qed_hwfn *p_hwfn); 1028int qed_mfw_tlv_req(struct qed_hwfn *hwfn); 1029 1030int qed_mfw_fill_tlv_data(struct qed_hwfn *hwfn, 1031 enum qed_mfw_tlv_type type, 1032 union qed_mfw_tlv_data *tlv_data); 1033 1034void qed_hw_info_set_offload_tc(struct qed_hw_info *p_info, u8 tc); 1035 1036void qed_periodic_db_rec_start(struct qed_hwfn *p_hwfn); 1037#endif /* _QED_H */ | 1020u32 qed_unzip_data(struct qed_hwfn *p_hwfn, 1021 u32 input_len, u8 *input_buf, 1022 u32 max_size, u8 *unzip_buf); 1023void qed_schedule_recovery_handler(struct qed_hwfn *p_hwfn); 1024void qed_get_protocol_stats(struct qed_dev *cdev, 1025 enum qed_mcp_protocol_type type, 1026 union qed_mcp_protocol_stats *stats); 1027int qed_slowpath_irq_req(struct qed_hwfn *hwfn); 1028void qed_slowpath_irq_sync(struct qed_hwfn *p_hwfn); 1029int qed_mfw_tlv_req(struct qed_hwfn *hwfn); 1030 1031int qed_mfw_fill_tlv_data(struct qed_hwfn *hwfn, 1032 enum qed_mfw_tlv_type type, 1033 union qed_mfw_tlv_data *tlv_data); 1034 1035void qed_hw_info_set_offload_tc(struct qed_hw_info *p_info, u8 tc); 1036 1037void qed_periodic_db_rec_start(struct qed_hwfn *p_hwfn); 1038#endif /* _QED_H */ |