/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_vf_api.h | 204 …c OSAL_INLINE enum _ecore_status_t ecore_vf_read_bulletin(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u… in ecore_vf_read_bulletin() 205 static OSAL_INLINE void ecore_vf_get_link_params(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecor… in ecore_vf_get_link_params() 206 static OSAL_INLINE void ecore_vf_get_link_state(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore… in ecore_vf_get_link_state() 207 static OSAL_INLINE void ecore_vf_get_link_caps(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_… in ecore_vf_get_link_caps() 208 static OSAL_INLINE void ecore_vf_get_num_rxqs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED… in ecore_vf_get_num_rxqs() 209 static OSAL_INLINE void ecore_vf_get_num_txqs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED… in ecore_vf_get_num_txqs() 212 ecore_vf_get_num_cids(struct ecore_hwfn OSAL_UNUSED *p_hwfn, in ecore_vf_get_num_cids() 216 static OSAL_INLINE void ecore_vf_get_port_mac(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED… in ecore_vf_get_port_mac() 217 static OSAL_INLINE void ecore_vf_get_num_vlan_filters(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSA… in ecore_vf_get_num_vlan_filters() 218 static OSAL_INLINE void ecore_vf_get_num_mac_filters(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL… in ecore_vf_get_num_mac_filters() [all …]
|
H A D | ecore_spq.c | 75 static void ecore_iscsi_eq_dump(struct ecore_hwfn *p_hwfn, in ecore_iscsi_eq_dump() 122 static void ecore_spq_blocking_cb(struct ecore_hwfn *p_hwfn, void *cookie, in ecore_spq_blocking_cb() 137 static enum _ecore_status_t __ecore_spq_block(struct ecore_hwfn *p_hwfn, in __ecore_spq_block() 172 static enum _ecore_status_t ecore_spq_block(struct ecore_hwfn *p_hwfn, in ecore_spq_block() 232 static enum _ecore_status_t ecore_spq_fill_entry(struct ecore_hwfn *p_hwfn, in ecore_spq_fill_entry() 265 static void ecore_spq_hw_initialize(struct ecore_hwfn *p_hwfn, in ecore_spq_hw_initialize() 316 static enum _ecore_status_t ecore_spq_hw_post(struct ecore_hwfn *p_hwfn, in ecore_spq_hw_post() 358 ecore_async_event_completion(struct ecore_hwfn *p_hwfn, in ecore_async_event_completion() 380 ecore_spq_register_async_cb(struct ecore_hwfn *p_hwfn, in ecore_spq_register_async_cb() 393 ecore_spq_unregister_async_cb(struct ecore_hwfn *p_hwfn, in ecore_spq_unregister_async_cb() [all …]
|
H A D | ecore_rdma.c | 55 enum _ecore_status_t ecore_rdma_bmap_alloc(struct ecore_hwfn *p_hwfn, in ecore_rdma_bmap_alloc() 89 enum _ecore_status_t ecore_rdma_bmap_alloc_id(struct ecore_hwfn *p_hwfn, in ecore_rdma_bmap_alloc_id() 105 void ecore_bmap_set_id(struct ecore_hwfn *p_hwfn, in ecore_bmap_set_id() 123 void ecore_bmap_release_id(struct ecore_hwfn *p_hwfn, in ecore_bmap_release_id() 144 int ecore_bmap_test_id(struct ecore_hwfn *p_hwfn, in ecore_bmap_test_id() 168 u32 ecore_rdma_get_sb_id(struct ecore_hwfn *p_hwfn, u32 rel_sb_id) in ecore_rdma_get_sb_id() 180 enum _ecore_status_t ecore_rdma_info_alloc(struct ecore_hwfn *p_hwfn) in ecore_rdma_info_alloc() 203 void ecore_rdma_info_free(struct ecore_hwfn *p_hwfn) in ecore_rdma_info_free() 212 static enum _ecore_status_t ecore_rdma_inc_ref_cnt(struct ecore_hwfn *p_hwfn) in ecore_rdma_inc_ref_cnt() 227 static void ecore_rdma_dec_ref_cnt(struct ecore_hwfn *p_hwfn) in ecore_rdma_dec_ref_cnt() [all …]
|
H A D | ecore_iov_api.h | 42 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->p_dev->p_iov_info)) argument 44 #define IS_PF_SRIOV(p_hwfn) (0) argument 46 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info)) argument 47 #define IS_PF_PDA(p_hwfn) 0 /* @@TBD Michalk */ argument 764 …OSAL_INLINE enum _ecore_status_t ecore_iov_init_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_iov_init_hw_for_vf() 765 static OSAL_INLINE void ecore_iov_process_mbx_req(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct eco… in ecore_iov_process_mbx_req() 766 …L_INLINE enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_iov_release_hw_for_vf() 767 static OSAL_INLINE enum _ecore_status_t ecore_iov_set_vf_ctx(struct ecore_hwfn OSAL_UNUSED *p_hwfn,… in ecore_iov_set_vf_ctx() 768 …OSAL_INLINE enum _ecore_status_t ecore_iov_vf_flr_cleanup(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_iov_vf_flr_cleanup() 769 …LINE enum _ecore_status_t ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_iov_single_vf_flr_cleanup() [all …]
|
H A D | ecore_iwarp.c | 104 ecore_iwarp_init_devinfo(struct ecore_hwfn *p_hwfn) in ecore_iwarp_init_devinfo() 121 ecore_iwarp_init_hw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_iwarp_init_hw() 131 ecore_iwarp_init_fw_ramrod(struct ecore_hwfn *p_hwfn, in ecore_iwarp_init_fw_ramrod() 147 ecore_iwarp_alloc_cid(struct ecore_hwfn *p_hwfn, u32 *cid) in ecore_iwarp_alloc_cid() 183 ecore_iwarp_set_tcp_cid(struct ecore_hwfn *p_hwfn, u32 cid) in ecore_iwarp_set_tcp_cid() 201 ecore_iwarp_alloc_tcp_cid(struct ecore_hwfn *p_hwfn, u32 *cid) in ecore_iwarp_alloc_tcp_cid() 230 static void ecore_iwarp_cid_cleaned(struct ecore_hwfn *p_hwfn, u32 cid) in ecore_iwarp_cid_cleaned() 251 ecore_iwarp_create_qp(struct ecore_hwfn *p_hwfn, in ecore_iwarp_create_qp() 362 ecore_iwarp_modify_fw(struct ecore_hwfn *p_hwfn, in ecore_iwarp_modify_fw() 446 ecore_iwarp_modify_qp(struct ecore_hwfn *p_hwfn, in ecore_iwarp_modify_qp() [all …]
|
H A D | ecore_vf.h | 342 static OSAL_INLINE enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_hwfn OSAL_UNUSED *p_hwfn) … in ecore_vf_hw_prepare() 343 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_rxq_start(struct ecore_hwfn OSAL_UNUSED *p_hwfn… in ecore_vf_pf_rxq_start() 344 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_txq_start(struct ecore_hwfn OSAL_UNUSED *p_hwfn… in ecore_vf_pf_txq_start() 345 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_rxq_stop(struct ecore_hwfn OSAL_UNUSED *p_hwfn,… in ecore_vf_pf_rxq_stop() 346 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_txq_stop(struct ecore_hwfn OSAL_UNUSED *p_hwfn,… in ecore_vf_pf_txq_stop() 348 … OSAL_INLINE enum _ecore_status_t ecore_vf_pf_rxqs_update(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_vf_pf_rxqs_update() 350 …OSAL_INLINE enum _ecore_status_t ecore_vf_pf_vport_update(struct ecore_hwfn OSAL_UNUSED *p_hwfn, s… in ecore_vf_pf_vport_update() 351 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_reset(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {r… in ecore_vf_pf_reset() 352 static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_release(struct ecore_hwfn OSAL_UNUSED *p_hwfn) … in ecore_vf_pf_release() 353 static OSAL_INLINE u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSE… in ecore_vf_get_igu_sb_id() [all …]
|
H A D | ecore_sriov.c | 104 static enum _ecore_status_t ecore_sp_vf_start(struct ecore_hwfn *p_hwfn, in ecore_sp_vf_start() 165 static enum _ecore_status_t ecore_sp_vf_stop(struct ecore_hwfn *p_hwfn, in ecore_sp_vf_stop() 193 bool ecore_iov_is_valid_vfid(struct ecore_hwfn *p_hwfn, int rel_vf_id, in ecore_iov_is_valid_vfid() 216 struct ecore_vf_info *ecore_iov_get_vf_info(struct ecore_hwfn *p_hwfn, in ecore_iov_get_vf_info() 286 static bool ecore_iov_validate_rxq(struct ecore_hwfn *p_hwfn, in ecore_iov_validate_rxq() 301 static bool ecore_iov_validate_txq(struct ecore_hwfn *p_hwfn, in ecore_iov_validate_txq() 316 static bool ecore_iov_validate_sb(struct ecore_hwfn *p_hwfn, in ecore_iov_validate_sb() 360 enum _ecore_status_t ecore_iov_post_vf_bulletin(struct ecore_hwfn *p_hwfn, in ecore_iov_post_vf_bulletin() 474 static void ecore_iov_setup_vfdb(struct ecore_hwfn *p_hwfn) in ecore_iov_setup_vfdb() 532 static enum _ecore_status_t ecore_iov_allocate_vfdb(struct ecore_hwfn *p_hwfn) in ecore_iov_allocate_vfdb() [all …]
|
H A D | ecore_vf.c | 50 static void *ecore_vf_pf_prep(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_prep() 85 static void ecore_vf_pf_req_end(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_req_end() 106 ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, in ecore_send_msg2pf() 193 static void ecore_vf_pf_add_qid(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_add_qid() 209 static enum _ecore_status_t _ecore_vf_pf_release(struct ecore_hwfn *p_hwfn, in _ecore_vf_pf_release() 267 enum _ecore_status_t ecore_vf_pf_release(struct ecore_hwfn *p_hwfn) in ecore_vf_pf_release() 273 static void ecore_vf_pf_acquire_reduce_resc(struct ecore_hwfn *p_hwfn, in ecore_vf_pf_acquire_reduce_resc() 297 static enum _ecore_status_t ecore_vf_pf_acquire(struct ecore_hwfn *p_hwfn) in ecore_vf_pf_acquire() 502 u32 ecore_vf_hw_bar_size(struct ecore_hwfn *p_hwfn, in ecore_vf_hw_bar_size() 518 enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_hwfn *p_hwfn) in ecore_vf_hw_prepare() [all …]
|
H A D | ecore_hw.c | 71 static void __ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn) in __ecore_ptt_pool_free() 77 enum _ecore_status_t ecore_ptt_pool_alloc(struct ecore_hwfn *p_hwfn) in ecore_ptt_pool_alloc() 113 void ecore_ptt_invalidate(struct ecore_hwfn *p_hwfn) in ecore_ptt_invalidate() 124 void ecore_ptt_pool_free(struct ecore_hwfn *p_hwfn) in ecore_ptt_pool_free() 133 struct ecore_ptt *ecore_ptt_acquire(struct ecore_hwfn *p_hwfn) in ecore_ptt_acquire() 164 void ecore_ptt_release(struct ecore_hwfn *p_hwfn, in ecore_ptt_release() 192 void ecore_ptt_set_win(struct ecore_hwfn *p_hwfn, in ecore_ptt_set_win() 217 static u32 ecore_set_ptt(struct ecore_hwfn *p_hwfn, in ecore_set_ptt() 241 struct ecore_ptt *ecore_get_reserved_ptt(struct ecore_hwfn *p_hwfn, in ecore_get_reserved_ptt() 253 static bool ecore_is_reg_fifo_empty(struct ecore_hwfn *p_hwfn, in ecore_is_reg_fifo_empty() [all …]
|
H A D | ecore_mcp.c | 87 bool ecore_mcp_is_init(struct ecore_hwfn *p_hwfn) in ecore_mcp_is_init() 94 void ecore_mcp_cmd_port_init(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_port_init() 108 void ecore_mcp_read_mb(struct ecore_hwfn *p_hwfn, in ecore_mcp_read_mb() 142 ecore_mcp_cmd_add_elem(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_add_elem() 164 static void ecore_mcp_cmd_del_elem(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_del_elem() 173 ecore_mcp_cmd_get_elem(struct ecore_hwfn *p_hwfn, u16 seq_num) in ecore_mcp_cmd_get_elem() 186 enum _ecore_status_t ecore_mcp_free(struct ecore_hwfn *p_hwfn) in ecore_mcp_free() 218 enum _ecore_status_t ecore_load_mcp_offsets(struct ecore_hwfn *p_hwfn, in ecore_load_mcp_offsets() 294 enum _ecore_status_t ecore_mcp_cmd_init(struct ecore_hwfn *p_hwfn, in ecore_mcp_cmd_init() 348 static void ecore_mcp_reread_offsets(struct ecore_hwfn *p_hwfn, in ecore_mcp_reread_offsets() [all …]
|
H A D | ecore_dev.c | 106 static void ecore_db_recovery_dp_entry(struct ecore_hwfn *p_hwfn, in ecore_db_recovery_dp_entry() 144 struct ecore_hwfn *p_hwfn; in ecore_db_rec_find_hwfn() local 164 struct ecore_hwfn *p_hwfn; in ecore_db_recovery_add() local 212 struct ecore_hwfn *p_hwfn; in ecore_db_recovery_del() local 257 static enum _ecore_status_t ecore_db_recovery_setup(struct ecore_hwfn *p_hwfn) in ecore_db_recovery_setup() 279 static void ecore_db_recovery_teardown(struct ecore_hwfn *p_hwfn) in ecore_db_recovery_teardown() 303 void ecore_db_recovery_dp(struct ecore_hwfn *p_hwfn) in ecore_db_recovery_dp() 324 static void ecore_db_recovery_ring(struct ecore_hwfn *p_hwfn, in ecore_db_recovery_ring() 372 void ecore_db_recovery_execute(struct ecore_hwfn *p_hwfn, in ecore_db_recovery_execute() 722 __ecore_llh_set_engine_affin(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in __ecore_llh_set_engine_affin() [all …]
|
H A D | ecore_roce.c | 63 ecore_roce_async_event(struct ecore_hwfn *p_hwfn, in ecore_roce_async_event() 89 struct ecore_hwfn *p_hwfn, in ecore_roce_start_rl() 117 enum _ecore_status_t ecore_roce_stop_rl(struct ecore_hwfn *p_hwfn) in ecore_roce_stop_rl() 139 struct ecore_hwfn *p_hwfn, in ecore_roce_dcqcn_cfg() 193 enum _ecore_status_t ecore_roce_stop(struct ecore_hwfn *p_hwfn) in ecore_roce_stop() 272 static void ecore_roce_free_qp(struct ecore_hwfn *p_hwfn, u16 qp_idx) in ecore_roce_free_qp() 282 static enum _ecore_status_t ecore_roce_wait_free_cids(struct ecore_hwfn *p_hwfn, u32 qp_idx) in ecore_roce_wait_free_cids() 326 struct ecore_hwfn *p_hwfn, u16 *qp_idx16) in ecore_roce_alloc_qp_idx() 379 static void ecore_roce_set_cid(struct ecore_hwfn *p_hwfn, in ecore_roce_set_cid() 390 struct ecore_hwfn *p_hwfn, in ecore_roce_sp_create_responder() [all …]
|
H A D | ecore_dcbx.c | 155 static bool ecore_dcbx_iwarp_tlv(struct ecore_hwfn *p_hwfn, u32 app_info_bitmap, in ecore_dcbx_iwarp_tlv() 173 ecore_dcbx_dp_protocol(struct ecore_hwfn *p_hwfn, in ecore_dcbx_dp_protocol() 195 u8 ecore_dcbx_get_dscp_value(struct ecore_hwfn *p_hwfn, u8 pri) in ecore_dcbx_get_dscp_value() 212 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_set_params() 249 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_update_app_info() 300 ecore_dcbx_get_app_protocol_type(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_app_protocol_type() 331 ecore_dcbx_process_tlv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_process_tlv() 413 ecore_dcbx_process_mib_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_dcbx_process_mib_info() 456 ecore_dcbx_copy_mib(struct ecore_hwfn *p_hwfn, in ecore_dcbx_copy_mib() 505 ecore_dcbx_get_priority_info(struct ecore_hwfn *p_hwfn, in ecore_dcbx_get_priority_info() [all …]
|
H A D | ecore_int.c | 90 #define SB_ATTN_ALIGNED_SIZE(p_hwfn) \ argument 132 static enum _ecore_status_t ecore_mcp_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_mcp_attn_cb() 168 static enum _ecore_status_t ecore_pswhst_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_pswhst_attn_cb() 258 static enum _ecore_status_t ecore_grc_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_grc_attn_cb() 312 enum _ecore_status_t ecore_pglueb_rbc_attn_handler(struct ecore_hwfn *p_hwfn, in ecore_pglueb_rbc_attn_handler() 403 static enum _ecore_status_t ecore_pglueb_rbc_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_pglueb_rbc_attn_cb() 408 static enum _ecore_status_t ecore_fw_assertion(struct ecore_hwfn *p_hwfn) in ecore_fw_assertion() 418 ecore_general_attention_35(struct ecore_hwfn *p_hwfn) in ecore_general_attention_35() 435 static enum _ecore_status_t ecore_db_rec_attn(struct ecore_hwfn *p_hwfn, in ecore_db_rec_attn() 476 static enum _ecore_status_t ecore_dorq_attn_cb(struct ecore_hwfn *p_hwfn) in ecore_dorq_attn_cb() [all …]
|
H A D | ecore_ll2.c | 61 __ecore_ll2_handle_sanity(struct ecore_hwfn *p_hwfn, in __ecore_ll2_handle_sanity() 93 ecore_ll2_handle_sanity(struct ecore_hwfn *p_hwfn, in ecore_ll2_handle_sanity() 101 ecore_ll2_handle_sanity_lock(struct ecore_hwfn *p_hwfn, in ecore_ll2_handle_sanity_lock() 109 ecore_ll2_handle_sanity_inactive(struct ecore_hwfn *p_hwfn, in ecore_ll2_handle_sanity_inactive() 119 ecore_ll2_get_fragment_of_tx_packet(struct ecore_hwfn *p_hwfn, in ecore_ll2_get_fragment_of_tx_packet() 150 static void ecore_ll2_txq_flush(struct ecore_hwfn *p_hwfn, in ecore_ll2_txq_flush() 209 ecore_ll2_txq_completion(struct ecore_hwfn *p_hwfn, in ecore_ll2_txq_completion() 331 ecore_ll2_handle_slowpath(struct ecore_hwfn *p_hwfn, in ecore_ll2_handle_slowpath() 366 ecore_ll2_rxq_handle_completion(struct ecore_hwfn *p_hwfn, in ecore_ll2_rxq_handle_completion() 419 static enum _ecore_status_t ecore_ll2_rxq_completion(struct ecore_hwfn *p_hwfn, in ecore_ll2_rxq_completion() [all …]
|
H A D | ecore_l2.c | 70 enum _ecore_status_t ecore_l2_alloc(struct ecore_hwfn *p_hwfn) in ecore_l2_alloc() 117 void ecore_l2_setup(struct ecore_hwfn *p_hwfn) in ecore_l2_setup() 125 void ecore_l2_free(struct ecore_hwfn *p_hwfn) in ecore_l2_free() 162 static bool ecore_eth_queue_qid_usage_add(struct ecore_hwfn *p_hwfn, in ecore_eth_queue_qid_usage_add() 195 static void ecore_eth_queue_qid_usage_del(struct ecore_hwfn *p_hwfn, in ecore_eth_queue_qid_usage_del() 206 void ecore_eth_queue_cid_release(struct ecore_hwfn *p_hwfn, in ecore_eth_queue_cid_release() 229 _ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, in _ecore_eth_queue_to_cid() 323 ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid, in ecore_eth_queue_to_cid() 368 ecore_eth_queue_to_cid_pf(struct ecore_hwfn *p_hwfn, u16 opaque_fid, in ecore_eth_queue_to_cid_pf() 376 enum _ecore_status_t ecore_sp_eth_vport_start(struct ecore_hwfn *p_hwfn, in ecore_sp_eth_vport_start() [all …]
|
H A D | ecore_init_ops.c | 64 void ecore_init_clear_rt_data(struct ecore_hwfn *p_hwfn) in ecore_init_clear_rt_data() 72 void ecore_init_store_rt_reg(struct ecore_hwfn *p_hwfn, in ecore_init_store_rt_reg() 86 void ecore_init_store_rt_agg(struct ecore_hwfn *p_hwfn, in ecore_init_store_rt_agg() 106 static enum _ecore_status_t ecore_init_rt(struct ecore_hwfn *p_hwfn, in ecore_init_rt() 153 enum _ecore_status_t ecore_init_alloc(struct ecore_hwfn *p_hwfn) in ecore_init_alloc() 176 void ecore_init_free(struct ecore_hwfn *p_hwfn) in ecore_init_free() 184 static enum _ecore_status_t ecore_init_array_dmae(struct ecore_hwfn *p_hwfn, 215 static enum _ecore_status_t ecore_init_fill_dmae(struct ecore_hwfn *p_hwfn, 231 static void ecore_init_fill(struct ecore_hwfn *p_hwfn, 241 static enum _ecore_status_t ecore_init_cmd_array(struct ecore_hwfn *p_hwfn, [all …]
|
H A D | ecore_cxt.c | 112 #define CONN_CXT_SIZE(p_hwfn) \ argument 118 #define TYPE0_TASK_CXT_SIZE(p_hwfn) \ argument 122 #define TYPE1_TASK_CXT_SIZE(p_hwfn) sizeof(union type1_task_context) argument 381 static void ecore_cxt_qm_iids(struct ecore_hwfn *p_hwfn, in ecore_cxt_qm_iids() 415 static struct ecore_tid_seg *ecore_cxt_tid_seg_info(struct ecore_hwfn *p_hwfn, in ecore_cxt_tid_seg_info() 431 static void ecore_cxt_set_srq_count(struct ecore_hwfn *p_hwfn, in ecore_cxt_set_srq_count() 440 u32 ecore_cxt_get_srq_count(struct ecore_hwfn *p_hwfn) in ecore_cxt_get_srq_count() 445 u32 ecore_cxt_get_xrc_srq_count(struct ecore_hwfn *p_hwfn) in ecore_cxt_get_xrc_srq_count() 450 u32 ecore_cxt_get_ilt_page_size(struct ecore_hwfn *p_hwfn, in ecore_cxt_get_ilt_page_size() 459 static u32 ecore_cxt_srqs_per_page(struct ecore_hwfn *p_hwfn) in ecore_cxt_srqs_per_page() [all …]
|
H A D | ecore_sp_commands.c | 53 enum _ecore_status_t ecore_sp_init_request(struct ecore_hwfn *p_hwfn, in ecore_sp_init_request() 213 ecore_tunn_set_pf_update_params(struct ecore_hwfn *p_hwfn, in ecore_tunn_set_pf_update_params() 247 static void ecore_set_hw_tunn_mode(struct ecore_hwfn *p_hwfn, in ecore_set_hw_tunn_mode() 259 static void ecore_set_hw_tunn_mode_port(struct ecore_hwfn *p_hwfn, in ecore_set_hw_tunn_mode_port() 281 ecore_tunn_set_pf_start_params(struct ecore_hwfn *p_hwfn, in ecore_tunn_set_pf_start_params() 322 enum _ecore_status_t ecore_sp_pf_start(struct ecore_hwfn *p_hwfn, in ecore_sp_pf_start() 455 enum _ecore_status_t ecore_sp_pf_update_dcbx(struct ecore_hwfn *p_hwfn) in ecore_sp_pf_update_dcbx() 479 enum _ecore_status_t ecore_sp_pf_update_ufp(struct ecore_hwfn *p_hwfn) in ecore_sp_pf_update_ufp() 529 enum _ecore_status_t ecore_sp_rl_update(struct ecore_hwfn *p_hwfn, in ecore_sp_rl_update() 583 ecore_sp_pf_update_tunn_cfg(struct ecore_hwfn *p_hwfn, in ecore_sp_pf_update_tunn_cfg() [all …]
|
H A D | ecore_init_fw_funcs.c | 173 #define QM_INIT_TX_PQ_MAP(p_hwfn, map, chip, pq_id, rl_valid, vp_pq_id, rl_id, ext_voq, wrr) OSAL_… argument 182 static u8 ecore_get_ext_voq(struct ecore_hwfn *p_hwfn, in ecore_get_ext_voq() 194 static void ecore_enable_pf_rl(struct ecore_hwfn *p_hwfn, in ecore_enable_pf_rl() 220 static void ecore_enable_pf_wfq(struct ecore_hwfn *p_hwfn, in ecore_enable_pf_wfq() 231 static void ecore_enable_vport_rl(struct ecore_hwfn *p_hwfn, in ecore_enable_vport_rl() 247 static void ecore_enable_vport_wfq(struct ecore_hwfn *p_hwfn, in ecore_enable_vport_wfq() 260 static void ecore_cmdq_lines_voq_rt_init(struct ecore_hwfn *p_hwfn, in ecore_cmdq_lines_voq_rt_init() 274 static void ecore_cmdq_lines_rt_init(struct ecore_hwfn *p_hwfn, in ecore_cmdq_lines_rt_init() 340 static void ecore_btb_blocks_rt_init(struct ecore_hwfn *p_hwfn, in ecore_btb_blocks_rt_init() 382 static void ecore_tx_pq_map_rt_init(struct ecore_hwfn *p_hwfn, in ecore_tx_pq_map_rt_init() [all …]
|
H A D | ecore_ooo.c | 61 static struct ecore_ooo_isle *ecore_ooo_seek_isle(struct ecore_hwfn *p_hwfn, in ecore_ooo_seek_isle() 100 enum _ecore_status_t ecore_ooo_alloc(struct ecore_hwfn *p_hwfn) in ecore_ooo_alloc() 301 void ecore_ooo_setup(struct ecore_hwfn *p_hwfn) in ecore_ooo_setup() 310 void ecore_ooo_free(struct ecore_hwfn *p_hwfn) in ecore_ooo_free() 401 void ecore_ooo_delete_isles(struct ecore_hwfn *p_hwfn, in ecore_ooo_delete_isles() 440 void ecore_ooo_add_new_isle(struct ecore_hwfn *p_hwfn, in ecore_ooo_add_new_isle() 501 void ecore_ooo_add_new_buffer(struct ecore_hwfn *p_hwfn, in ecore_ooo_add_new_buffer() 525 void ecore_ooo_join_isles(struct ecore_hwfn *p_hwfn, in ecore_ooo_join_isles() 564 void ecore_ooo_dump_rx_event(struct ecore_hwfn *p_hwfn, in ecore_ooo_dump_rx_event()
|
H A D | ecore_fcoe.h | 50 static inline enum _ecore_status_t ecore_fcoe_alloc(struct ecore_hwfn OSAL_UNUSED *p_hwfn) in ecore_fcoe_alloc() 54 static inline void ecore_fcoe_setup(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {} in ecore_fcoe_setup() 55 static inline void ecore_fcoe_free(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {} in ecore_fcoe_free()
|
H A D | ecore_dbg_fw_funcs.c | 1823 static void ecore_grc_set_param(struct ecore_hwfn *p_hwfn, in ecore_grc_set_param() 1833 static u32 ecore_grc_get_param(struct ecore_hwfn *p_hwfn, in ecore_grc_get_param() 1842 static void ecore_dbg_grc_init_params(struct ecore_hwfn *p_hwfn) in ecore_dbg_grc_init_params() 1853 static enum dbg_status ecore_dbg_dev_init(struct ecore_hwfn *p_hwfn, in ecore_dbg_dev_init() 1917 static const struct dbg_bus_block *get_dbg_bus_block_desc(struct ecore_hwfn *p_hwfn, in get_dbg_bus_block_desc() 1926 static const struct dbg_bus_line *get_dbg_bus_line_desc(struct ecore_hwfn *p_hwfn, in get_dbg_bus_line_desc() 1950 static void ecore_read_fw_info(struct ecore_hwfn *p_hwfn, in ecore_read_fw_info() 2078 static u32 ecore_dump_fw_ver_param(struct ecore_hwfn *p_hwfn, in ecore_dump_fw_ver_param() 2129 static u32 ecore_dump_mfw_ver_param(struct ecore_hwfn *p_hwfn, in ecore_dump_mfw_ver_param() 2175 static u32 ecore_dump_common_global_params(struct ecore_hwfn *p_hwfn, in ecore_dump_common_global_params() [all …]
|
H A D | bcm_osal.h | 186 #define DIRECT_REG_WR(p_hwfn, addr, value) qlnx_direct_reg_wr32(p_hwfn, addr, value) argument 187 #define DIRECT_REG_WR64(p_hwfn, addr, value) \ argument 189 #define DIRECT_REG_WR_DB(p_hwfn, addr, value) qlnx_dbell_wr32_db(p_hwfn, addr, value) argument 190 #define DIRECT_REG_RD(p_hwfn, addr) qlnx_direct_reg_rd32(p_hwfn, addr) argument 195 #define OSAL_SPIN_LOCK_ALLOC(p_hwfn, mutex) argument 208 #define OSAL_MUTEX_ALLOC(p_hwfn, mutex) argument 224 static inline void OSAL_DCBX_AEN(void *p_hwfn, u32 mib_type) in OSAL_DCBX_AEN() 229 static inline bool OSAL_NVM_IS_ACCESS_ENABLED(void *p_hwfn) in OSAL_NVM_IS_ACCESS_ENABLED() 433 #define OSAL_SLOWPATH_IRQ_REQ(p_hwfn) (0) argument 434 #define OSAL_GET_PROTOCOL_STATS(p_hwfn, type, stats) \ argument [all …]
|
H A D | ecore_iscsi.h | 57 ecore_iscsi_alloc(struct ecore_hwfn OSAL_UNUSED *p_hwfn) in ecore_iscsi_alloc() 63 ecore_iscsi_setup(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {} in ecore_iscsi_setup() 66 ecore_iscsi_free(struct ecore_hwfn OSAL_UNUSED *p_hwfn) {} in ecore_iscsi_free()
|