/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_spq.c | 48 static void qed_spq_blocking_cb(struct qed_hwfn *p_hwfn, in qed_spq_blocking_cb() 62 static int __qed_spq_block(struct qed_hwfn *p_hwfn, in __qed_spq_block() 90 static int qed_spq_block(struct qed_hwfn *p_hwfn, in qed_spq_block() 158 static int qed_spq_fill_entry(struct qed_hwfn *p_hwfn, in qed_spq_fill_entry() 196 static void qed_spq_hw_initialize(struct qed_hwfn *p_hwfn, in qed_spq_hw_initialize() 233 static int qed_spq_hw_post(struct qed_hwfn *p_hwfn, in qed_spq_hw_post() 275 qed_async_event_completion(struct qed_hwfn *p_hwfn, in qed_async_event_completion() 306 qed_spq_register_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_register_async_cb() 318 qed_spq_unregister_async_cb(struct qed_hwfn *p_hwfn, in qed_spq_unregister_async_cb() 330 void qed_eq_prod_update(struct qed_hwfn *p_hwfn, u16 prod) in qed_eq_prod_update() [all …]
|
H A D | qed_rdma.c | 38 int qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_alloc() 55 int qed_rdma_bmap_alloc_id(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_alloc_id() 70 void qed_bmap_set_id(struct qed_hwfn *p_hwfn, in qed_bmap_set_id() 79 void qed_bmap_release_id(struct qed_hwfn *p_hwfn, in qed_bmap_release_id() 98 int qed_bmap_test_id(struct qed_hwfn *p_hwfn, in qed_bmap_test_id() 112 static u32 qed_rdma_get_sb_id(void *p_hwfn, u32 rel_sb_id) in qed_rdma_get_sb_id() 118 int qed_rdma_info_alloc(struct qed_hwfn *p_hwfn) in qed_rdma_info_alloc() 132 void qed_rdma_info_free(struct qed_hwfn *p_hwfn) in qed_rdma_info_free() 138 static int qed_rdma_alloc(struct qed_hwfn *p_hwfn) in qed_rdma_alloc() 318 void qed_rdma_bmap_free(struct qed_hwfn *p_hwfn, in qed_rdma_bmap_free() [all …]
|
H A D | qed_vf.c | 13 static void *qed_vf_pf_prep(struct qed_hwfn *p_hwfn, u16 type, u16 length) in qed_vf_pf_prep() 47 static void qed_vf_pf_req_end(struct qed_hwfn *p_hwfn, int req_status) in qed_vf_pf_req_end() 63 static int qed_send_msg2pf(struct qed_hwfn *p_hwfn, u8 *done) in qed_send_msg2pf() 140 static void qed_vf_pf_add_qid(struct qed_hwfn *p_hwfn, in qed_vf_pf_add_qid() 156 static int _qed_vf_pf_release(struct qed_hwfn *p_hwfn, bool b_final) in _qed_vf_pf_release() 206 int qed_vf_pf_release(struct qed_hwfn *p_hwfn) in qed_vf_pf_release() 212 static void qed_vf_pf_acquire_reduce_resc(struct qed_hwfn *p_hwfn, in qed_vf_pf_acquire_reduce_resc() 242 static int qed_vf_pf_acquire(struct qed_hwfn *p_hwfn) in qed_vf_pf_acquire() 422 u32 qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn, enum BAR_ID bar_id) in qed_vf_hw_bar_size() 437 int qed_vf_hw_prepare(struct qed_hwfn *p_hwfn) in qed_vf_hw_prepare() [all …]
|
H A D | qed_dev.c | 63 static void qed_db_recovery_dp_entry(struct qed_hwfn *p_hwfn, in qed_db_recovery_dp_entry() 112 struct qed_hwfn *p_hwfn; in qed_db_rec_find_hwfn() local 132 struct qed_hwfn *p_hwfn; in qed_db_recovery_add() local 178 struct qed_hwfn *p_hwfn; in qed_db_recovery_del() local 218 static int qed_db_recovery_setup(struct qed_hwfn *p_hwfn) in qed_db_recovery_setup() 236 static void qed_db_recovery_teardown(struct qed_hwfn *p_hwfn) in qed_db_recovery_teardown() 259 void qed_db_recovery_dp(struct qed_hwfn *p_hwfn) in qed_db_recovery_dp() 278 static void qed_db_recovery_ring(struct qed_hwfn *p_hwfn, in qed_db_recovery_ring() 320 void qed_db_recovery_execute(struct qed_hwfn *p_hwfn) in qed_db_recovery_execute() 641 qed_llh_set_engine_affin(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_llh_set_engine_affin() [all …]
|
H A D | qed_iwarp.c | 67 void qed_iwarp_init_devinfo(struct qed_hwfn *p_hwfn) in qed_iwarp_init_devinfo() 83 void qed_iwarp_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_iwarp_init_hw() 94 static void qed_iwarp_cid_cleaned(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_cid_cleaned() 110 qed_iwarp_init_fw_ramrod(struct qed_hwfn *p_hwfn, in qed_iwarp_init_fw_ramrod() 124 static int qed_iwarp_alloc_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_cid() 144 static void qed_iwarp_set_tcp_cid(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_set_tcp_cid() 158 static int qed_iwarp_alloc_tcp_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_tcp_cid() 183 int qed_iwarp_create_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_create_qp() 288 static int qed_iwarp_modify_fw(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_iwarp_modify_fw() 376 qed_iwarp_modify_qp(struct qed_hwfn *p_hwfn, in qed_iwarp_modify_qp() [all …]
|
H A D | qed_mcp.c | 53 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn) in qed_mcp_is_init() 60 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_port_init() 73 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_read_mb() 101 qed_mcp_cmd_add_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_add_elem() 119 static void qed_mcp_cmd_del_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_del_elem() 127 static struct qed_mcp_cmd_elem *qed_mcp_cmd_get_elem(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_get_elem() 140 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free() 167 static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_load_mcp_offsets() 238 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_mcp_cmd_init() 277 static void qed_mcp_reread_offsets(struct qed_hwfn *p_hwfn, in qed_mcp_reread_offsets() [all …]
|
H A D | qed_sriov.c | 46 static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf) in qed_sp_vf_start() 108 static int qed_sp_vf_stop(struct qed_hwfn *p_hwfn, in qed_sp_vf_stop() 135 bool qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid() 159 static struct qed_vf_info *qed_iov_get_vf_info(struct qed_hwfn *p_hwfn, in qed_iov_get_vf_info() 199 static bool qed_iov_validate_queue_mode(struct qed_hwfn *p_hwfn, in qed_iov_validate_queue_mode() 228 static bool qed_iov_validate_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_rxq() 244 static bool qed_iov_validate_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_txq() 260 static bool qed_iov_validate_sb(struct qed_hwfn *p_hwfn, in qed_iov_validate_sb() 277 static bool qed_iov_validate_active_rxq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_rxq() 291 static bool qed_iov_validate_active_txq(struct qed_hwfn *p_hwfn, in qed_iov_validate_active_txq() [all …]
|
H A D | qed_int.c | 47 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument 90 static int qed_mcp_attn_cb(struct qed_hwfn *p_hwfn) in qed_mcp_attn_cb() 116 static int qed_pswhst_attn_cb(struct qed_hwfn *p_hwfn) in qed_pswhst_attn_cb() 180 static int qed_grc_attn_cb(struct qed_hwfn *p_hwfn) in qed_grc_attn_cb() 234 int qed_pglueb_rbc_attn_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_pglueb_rbc_attn_handler() 344 static int qed_pglueb_rbc_attn_cb(struct qed_hwfn *p_hwfn) in qed_pglueb_rbc_attn_cb() 349 static int qed_fw_assertion(struct qed_hwfn *p_hwfn) in qed_fw_assertion() 360 static int qed_general_attention_35(struct qed_hwfn *p_hwfn) in qed_general_attention_35() 376 static int qed_db_rec_flush_queue(struct qed_hwfn *p_hwfn, in qed_db_rec_flush_queue() 411 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_db_rec_handler() [all …]
|
H A D | qed_cxt.c | 83 #define CONN_CXT_SIZE(p_hwfn) \ argument 89 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument 93 #define TYPE1_TASK_CXT_SIZE(p_hwfn) sizeof(union type1_task_context) argument 164 static void qed_cxt_tm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_tm_iids() 222 static void qed_cxt_qm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_qm_iids() 256 static struct qed_tid_seg *qed_cxt_tid_seg_info(struct qed_hwfn *p_hwfn, in qed_cxt_tid_seg_info() 271 static void qed_cxt_set_srq_count(struct qed_hwfn *p_hwfn, in qed_cxt_set_srq_count() 280 u32 qed_cxt_get_ilt_page_size(struct qed_hwfn *p_hwfn, in qed_cxt_get_ilt_page_size() 289 static u32 qed_cxt_xrc_srqs_per_page(struct qed_hwfn *p_hwfn) in qed_cxt_xrc_srqs_per_page() 297 u32 qed_cxt_get_total_srq_count(struct qed_hwfn *p_hwfn) in qed_cxt_get_total_srq_count() [all …]
|
H A D | qed_ll2.c | 68 static u8 qed_ll2_handle_to_stats_id(struct qed_hwfn *p_hwfn, in qed_ll2_handle_to_stats_id() 98 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() local 167 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() local 251 static struct qed_ll2_info *__qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in __qed_ll2_handle_sanity() 280 static struct qed_ll2_info *qed_ll2_handle_sanity(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity() 286 static struct qed_ll2_info *qed_ll2_handle_sanity_lock(struct qed_hwfn *p_hwfn, in qed_ll2_handle_sanity_lock() 293 *p_hwfn, in qed_ll2_handle_sanity_inactive() 299 static void qed_ll2_txq_flush(struct qed_hwfn *p_hwfn, u8 connection_handle) in qed_ll2_txq_flush() 349 static int qed_ll2_txq_completion(struct qed_hwfn *p_hwfn, void *p_cookie) in qed_ll2_txq_completion() 417 static void qed_ll2_rxq_parse_gsi(struct qed_hwfn *p_hwfn, in qed_ll2_rxq_parse_gsi() [all …]
|
H A D | qed_ooo.c | 21 *qed_ooo_seek_archipelago(struct qed_hwfn *p_hwfn, in qed_ooo_seek_archipelago() 40 static struct qed_ooo_isle *qed_ooo_seek_isle(struct qed_hwfn *p_hwfn, in qed_ooo_seek_isle() 64 void qed_ooo_save_history_entry(struct qed_hwfn *p_hwfn, in qed_ooo_save_history_entry() 76 int qed_ooo_alloc(struct qed_hwfn *p_hwfn) in qed_ooo_alloc() 164 void qed_ooo_release_connection_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_connection_isles() 197 void qed_ooo_release_all_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_all_isles() 236 void qed_ooo_setup(struct qed_hwfn *p_hwfn) in qed_ooo_setup() 245 void qed_ooo_free(struct qed_hwfn *p_hwfn) in qed_ooo_free() 276 void qed_ooo_put_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_free_buffer() 283 struct qed_ooo_buffer *qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_free_buffer() [all …]
|
H A D | qed_l2.c | 52 int qed_l2_alloc(struct qed_hwfn *p_hwfn) in qed_l2_alloc() 92 void qed_l2_setup(struct qed_hwfn *p_hwfn) in qed_l2_setup() 100 void qed_l2_free(struct qed_hwfn *p_hwfn) in qed_l2_free() 127 static bool qed_eth_queue_qid_usage_add(struct qed_hwfn *p_hwfn, in qed_eth_queue_qid_usage_add() 160 static void qed_eth_queue_qid_usage_del(struct qed_hwfn *p_hwfn, in qed_eth_queue_qid_usage_del() 171 void qed_eth_queue_cid_release(struct qed_hwfn *p_hwfn, in qed_eth_queue_cid_release() 190 _qed_eth_queue_to_cid(struct qed_hwfn *p_hwfn, in _qed_eth_queue_to_cid() 287 qed_eth_queue_to_cid(struct qed_hwfn *p_hwfn, in qed_eth_queue_to_cid() 332 qed_eth_queue_to_cid_pf(struct qed_hwfn *p_hwfn, in qed_eth_queue_to_cid_pf() 341 int qed_sp_eth_vport_start(struct qed_hwfn *p_hwfn, in qed_sp_eth_vport_start() [all …]
|
H A D | qed_roce.c | 40 static int qed_roce_async_event(struct qed_hwfn *p_hwfn, u8 fw_event_code, in qed_roce_async_event() 69 void qed_roce_stop(struct qed_hwfn *p_hwfn) in qed_roce_stop() 132 static void qed_roce_free_cid_pair(struct qed_hwfn *p_hwfn, u16 cid) in qed_roce_free_cid_pair() 140 int qed_roce_alloc_cid(struct qed_hwfn *p_hwfn, u16 *cid) in qed_roce_alloc_cid() 199 static void qed_roce_set_real_cid(struct qed_hwfn *p_hwfn, u32 cid) in qed_roce_set_real_cid() 206 static u8 qed_roce_get_qp_tc(struct qed_hwfn *p_hwfn, struct qed_rdma_qp *qp) in qed_roce_get_qp_tc() 222 static int qed_roce_sp_create_responder(struct qed_hwfn *p_hwfn, in qed_roce_sp_create_responder() 360 static int qed_roce_sp_create_requester(struct qed_hwfn *p_hwfn, in qed_roce_sp_create_requester() 490 static int qed_roce_sp_modify_responder(struct qed_hwfn *p_hwfn, in qed_roce_sp_modify_responder() 577 static int qed_roce_sp_modify_requester(struct qed_hwfn *p_hwfn, in qed_roce_sp_modify_requester() [all …]
|
H A D | qed_init_fw_funcs.c | 182 #define QM_INIT_TX_PQ_MAP(p_hwfn, map, pq_id, vp_pq_id, rl_valid, \ argument 292 static u8 qed_get_ext_voq(struct qed_hwfn *p_hwfn, in qed_get_ext_voq() 302 static void qed_enable_pf_rl(struct qed_hwfn *p_hwfn, bool pf_rl_en) in qed_enable_pf_rl() 330 static void qed_enable_pf_wfq(struct qed_hwfn *p_hwfn, bool pf_wfq_en) in qed_enable_pf_wfq() 342 static void qed_enable_global_rl(struct qed_hwfn *p_hwfn, bool global_rl_en) in qed_enable_global_rl() 364 static void qed_enable_vport_wfq(struct qed_hwfn *p_hwfn, bool vport_wfq_en) in qed_enable_vport_wfq() 379 static void qed_cmdq_lines_voq_rt_init(struct qed_hwfn *p_hwfn, in qed_cmdq_lines_voq_rt_init() 394 qed_cmdq_lines_rt_init(struct qed_hwfn *p_hwfn, in qed_cmdq_lines_rt_init() 467 qed_btb_blocks_rt_init(struct qed_hwfn *p_hwfn, in qed_btb_blocks_rt_init() 528 static int qed_global_rl_rt_init(struct qed_hwfn *p_hwfn) in qed_global_rl_rt_init() [all …]
|
H A D | qed_sp_commands.c | 24 void qed_sp_destroy_request(struct qed_hwfn *p_hwfn, in qed_sp_destroy_request() 37 int qed_sp_init_request(struct qed_hwfn *p_hwfn, in qed_sp_init_request() 203 qed_tunn_set_pf_update_params(struct qed_hwfn *p_hwfn, in qed_tunn_set_pf_update_params() 237 static void qed_set_hw_tunn_mode(struct qed_hwfn *p_hwfn, in qed_set_hw_tunn_mode() 249 static void qed_set_hw_tunn_mode_port(struct qed_hwfn *p_hwfn, in qed_set_hw_tunn_mode_port() 265 qed_tunn_set_pf_start_params(struct qed_hwfn *p_hwfn, in qed_tunn_set_pf_start_params() 300 int qed_sp_pf_start(struct qed_hwfn *p_hwfn, in qed_sp_pf_start() 429 int qed_sp_pf_update(struct qed_hwfn *p_hwfn) in qed_sp_pf_update() 453 int qed_sp_pf_update_ufp(struct qed_hwfn *p_hwfn) in qed_sp_pf_update_ufp() 487 int qed_sp_pf_update_tunn_cfg(struct qed_hwfn *p_hwfn, in qed_sp_pf_update_tunn_cfg() [all …]
|
H A D | qed_ooo.h | 113 static inline void qed_ooo_save_history_entry(struct qed_hwfn *p_hwfn, in qed_ooo_save_history_entry() 117 static inline int qed_ooo_alloc(struct qed_hwfn *p_hwfn) in qed_ooo_alloc() 122 static inline void qed_ooo_setup(struct qed_hwfn *p_hwfn) {} in qed_ooo_setup() 124 static inline void qed_ooo_free(struct qed_hwfn *p_hwfn) {} in qed_ooo_free() 127 qed_ooo_release_connection_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_connection_isles() 131 static inline void qed_ooo_release_all_isles(struct qed_hwfn *p_hwfn, in qed_ooo_release_all_isles() 135 static inline void qed_ooo_put_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_free_buffer() 140 qed_ooo_get_free_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_free_buffer() 143 static inline void qed_ooo_put_ready_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_put_ready_buffer() 149 qed_ooo_get_ready_buffer(struct qed_hwfn *p_hwfn, in qed_ooo_get_ready_buffer() [all …]
|
H A D | qed_ptp.c | 26 static enum qed_resc_lock qed_ptcdev_to_resc(struct qed_hwfn *p_hwfn) in qed_ptcdev_to_resc() 42 static int qed_ptp_res_lock(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptp_res_lock() 74 static int qed_ptp_res_unlock(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_ptp_res_unlock() 105 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_read_rx_ts() local 131 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_read_tx_ts() local 157 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_read_cc() local 174 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_cfg_filters() local 257 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_adjfreq() local 341 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_enable() local 403 struct qed_hwfn *p_hwfn = QED_LEADING_HWFN(cdev); in qed_ptp_hw_disable() local
|
H A D | qed_init_ops.c | 127 void qed_init_store_rt_reg(struct qed_hwfn *p_hwfn, u32 rt_offset, u32 val) in qed_init_store_rt_reg() 140 void qed_init_store_rt_agg(struct qed_hwfn *p_hwfn, in qed_init_store_rt_agg() 159 static int qed_init_rt(struct qed_hwfn *p_hwfn, in qed_init_rt() 206 int qed_init_alloc(struct qed_hwfn *p_hwfn) in qed_init_alloc() 229 void qed_init_free(struct qed_hwfn *p_hwfn) in qed_init_free() 237 static int qed_init_array_dmae(struct qed_hwfn *p_hwfn, in qed_init_array_dmae() 264 static int qed_init_fill_dmae(struct qed_hwfn *p_hwfn, in qed_init_fill_dmae() 285 static void qed_init_fill(struct qed_hwfn *p_hwfn, in qed_init_fill() 295 static int qed_init_cmd_array(struct qed_hwfn *p_hwfn, in qed_init_cmd_array() 367 static int qed_init_cmd_wr(struct qed_hwfn *p_hwfn, in qed_init_cmd_wr() [all …]
|
H A D | qed_nvmetcp.c | 32 static int qed_nvmetcp_async_event(struct qed_hwfn *p_hwfn, u8 fw_event_code, in qed_nvmetcp_async_event() 48 static int qed_sp_nvmetcp_func_start(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_func_start() 119 static int qed_sp_nvmetcp_func_stop(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_func_stop() 266 static int qed_sp_nvmetcp_conn_offload(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_conn_offload() 356 static int qed_sp_nvmetcp_conn_update(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_conn_update() 393 static int qed_sp_nvmetcp_conn_terminate(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_conn_terminate() 422 static int qed_sp_nvmetcp_conn_clear_sq(struct qed_hwfn *p_hwfn, in qed_sp_nvmetcp_conn_clear_sq() 446 static void __iomem *qed_nvmetcp_get_db_addr(struct qed_hwfn *p_hwfn, u32 cid) in qed_nvmetcp_get_db_addr() 452 static int qed_nvmetcp_allocate_connection(struct qed_hwfn *p_hwfn, in qed_nvmetcp_allocate_connection() 518 static int qed_nvmetcp_acquire_connection(struct qed_hwfn *p_hwfn, in qed_nvmetcp_acquire_connection() [all …]
|
H A D | qed_dcbx.c | 146 qed_dcbx_dp_protocol(struct qed_hwfn *p_hwfn, struct qed_dcbx_results *p_data) in qed_dcbx_dp_protocol() 167 struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_set_params() 199 struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_update_app_info() 221 qed_dcbx_get_app_protocol_type(struct qed_hwfn *p_hwfn, in qed_dcbx_get_app_protocol_type() 250 qed_dcbx_process_tlv(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_process_tlv() 327 qed_dcbx_process_mib_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_dcbx_process_mib_info() 371 qed_dcbx_copy_mib(struct qed_hwfn *p_hwfn, in qed_dcbx_copy_mib() 415 qed_dcbx_get_priority_info(struct qed_hwfn *p_hwfn, in qed_dcbx_get_priority_info() 455 qed_dcbx_get_app_data(struct qed_hwfn *p_hwfn, in qed_dcbx_get_app_data() 521 qed_dcbx_get_pfc_data(struct qed_hwfn *p_hwfn, in qed_dcbx_get_pfc_data() [all …]
|
H A D | qed_fcoe.c | 86 qed_sp_fcoe_func_start(struct qed_hwfn *p_hwfn, in qed_sp_fcoe_func_start() 224 qed_sp_fcoe_conn_offload(struct qed_hwfn *p_hwfn, in qed_sp_fcoe_conn_offload() 304 qed_sp_fcoe_conn_destroy(struct qed_hwfn *p_hwfn, in qed_sp_fcoe_conn_destroy() 335 qed_sp_fcoe_func_stop(struct qed_hwfn *p_hwfn, in qed_sp_fcoe_func_stop() 366 qed_fcoe_allocate_connection(struct qed_hwfn *p_hwfn, in qed_fcoe_allocate_connection() 459 static void qed_fcoe_free_connection(struct qed_hwfn *p_hwfn, in qed_fcoe_free_connection() 499 static void __iomem *qed_fcoe_get_db_addr(struct qed_hwfn *p_hwfn, u32 cid) in qed_fcoe_get_db_addr() 505 static void __iomem *qed_fcoe_get_primary_bdq_prod(struct qed_hwfn *p_hwfn, in qed_fcoe_get_primary_bdq_prod() 519 static void __iomem *qed_fcoe_get_secondary_bdq_prod(struct qed_hwfn *p_hwfn, in qed_fcoe_get_secondary_bdq_prod() 533 int qed_fcoe_alloc(struct qed_hwfn *p_hwfn) in qed_fcoe_alloc() [all …]
|
H A D | qed_iscsi.c | 121 static int qed_iscsi_async_event(struct qed_hwfn *p_hwfn, u8 fw_event_code, in qed_iscsi_async_event() 137 qed_sp_iscsi_func_start(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_func_start() 260 static int qed_sp_iscsi_conn_offload(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_conn_offload() 449 static int qed_sp_iscsi_conn_update(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_conn_update() 490 qed_sp_iscsi_mac_update(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_mac_update() 533 static int qed_sp_iscsi_conn_terminate(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_conn_terminate() 568 static int qed_sp_iscsi_conn_clear_sq(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_conn_clear_sq() 593 static int qed_sp_iscsi_func_stop(struct qed_hwfn *p_hwfn, in qed_sp_iscsi_func_stop() 620 static void __iomem *qed_iscsi_get_db_addr(struct qed_hwfn *p_hwfn, u32 cid) in qed_iscsi_get_db_addr() 626 static void __iomem *qed_iscsi_get_primary_bdq_prod(struct qed_hwfn *p_hwfn, in qed_iscsi_get_primary_bdq_prod() [all …]
|
H A D | qed_sriov.h | 19 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->cdev->p_iov_info)) argument 23 #define IS_PF_SRIOV(p_hwfn) (0) argument 25 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info)) argument 187 #define QED_VF_ABS_ID(p_hwfn, p_vf) (QED_PATH_ID(p_hwfn) ? \ argument 410 qed_iov_is_valid_vfid(struct qed_hwfn *p_hwfn, in qed_iov_is_valid_vfid() 416 static inline u16 qed_iov_get_next_active_vf(struct qed_hwfn *p_hwfn, in qed_iov_get_next_active_vf() 423 qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, int vfid, in qed_iov_bulletin_set_udp_ports() 428 static inline int qed_iov_hw_info(struct qed_hwfn *p_hwfn) in qed_iov_hw_info() 433 static inline int qed_iov_alloc(struct qed_hwfn *p_hwfn) in qed_iov_alloc() 438 static inline void qed_iov_setup(struct qed_hwfn *p_hwfn) in qed_iov_setup() [all …]
|
H A D | qed_fcoe.h | 46 static inline int qed_fcoe_alloc(struct qed_hwfn *p_hwfn) in qed_fcoe_alloc() 51 static inline void qed_fcoe_setup(struct qed_hwfn *p_hwfn) {} in qed_fcoe_setup() 52 static inline void qed_fcoe_free(struct qed_hwfn *p_hwfn) {} in qed_fcoe_free()
|
H A D | qed_vf.h | 1076 static inline void qed_vf_get_link_params(struct qed_hwfn *p_hwfn, in qed_vf_get_link_params() 1081 static inline void qed_vf_get_link_state(struct qed_hwfn *p_hwfn, in qed_vf_get_link_state() 1087 qed_vf_get_link_caps(struct qed_hwfn *p_hwfn, in qed_vf_get_link_caps() 1092 static inline void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs) in qed_vf_get_num_rxqs() 1096 static inline void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() 1100 static inline void qed_vf_get_num_cids(struct qed_hwfn *p_hwfn, u8 *num_cids) in qed_vf_get_num_cids() 1104 static inline void qed_vf_get_port_mac(struct qed_hwfn *p_hwfn, u8 *port_mac) in qed_vf_get_port_mac() 1108 static inline void qed_vf_get_num_vlan_filters(struct qed_hwfn *p_hwfn, in qed_vf_get_num_vlan_filters() 1113 static inline void qed_vf_get_num_mac_filters(struct qed_hwfn *p_hwfn, in qed_vf_get_num_mac_filters() 1118 static inline bool qed_vf_check_mac(struct qed_hwfn *p_hwfn, u8 *mac) in qed_vf_check_mac() [all …]
|