QED_AFFIN_HWFN
#define QED_AFFIN_HWFN_IDX(dev) (IS_LEAD_HWFN(QED_AFFIN_HWFN(dev)) ? 0 : 1)
struct qed_hwfn *hwfn = QED_AFFIN_HWFN(cdev);
p_ptt = qed_ptt_acquire(QED_AFFIN_HWFN(cdev));
rc = qed_sp_fcoe_func_stop(QED_AFFIN_HWFN(cdev), p_ptt,
qed_ptt_release(QED_AFFIN_HWFN(cdev), p_ptt);
rc = qed_sp_fcoe_func_start(QED_AFFIN_HWFN(cdev), QED_SPQ_MODE_EBLOCK,
rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info);
rc = qed_fcoe_acquire_connection(QED_AFFIN_HWFN(cdev), NULL,
*p_doorbell = qed_fcoe_get_db_addr(QED_AFFIN_HWFN(cdev),
qed_fcoe_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con);
return qed_sp_fcoe_conn_offload(QED_AFFIN_HWFN(cdev), con,
return qed_sp_fcoe_conn_destroy(QED_AFFIN_HWFN(cdev), con,
return qed_fcoe_get_stats(QED_AFFIN_HWFN(cdev), stats, is_atomic);
struct qed_hwfn *hwfn = QED_AFFIN_HWFN(cdev);
rc = qed_sp_iscsi_func_stop(QED_AFFIN_HWFN(cdev), QED_SPQ_MODE_EBLOCK,
rc = qed_sp_iscsi_func_start(QED_AFFIN_HWFN(cdev), QED_SPQ_MODE_EBLOCK,
rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info);
rc = qed_iscsi_acquire_connection(QED_AFFIN_HWFN(cdev), NULL,
*p_doorbell = qed_iscsi_get_db_addr(QED_AFFIN_HWFN(cdev),
qed_iscsi_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con);
return qed_sp_iscsi_conn_offload(QED_AFFIN_HWFN(cdev), con,
return qed_sp_iscsi_conn_update(QED_AFFIN_HWFN(cdev), con,
return qed_sp_iscsi_conn_clear_sq(QED_AFFIN_HWFN(cdev), hash_con->con,
return qed_sp_iscsi_conn_terminate(QED_AFFIN_HWFN(cdev), hash_con->con,
return qed_iscsi_get_stats(QED_AFFIN_HWFN(cdev), stats, is_atomic);
return qed_sp_iscsi_mac_update(QED_AFFIN_HWFN(cdev), hash_con->con,
(QED_AFFIN_HWFN(cdev) != QED_LEADING_HWFN(cdev));
struct qed_hwfn *p_hwfn = QED_AFFIN_HWFN(cdev);
struct qed_hwfn *p_hwfn = QED_AFFIN_HWFN(cdev);
struct qed_hwfn *p_hwfn = QED_AFFIN_HWFN(cdev);
struct qed_hwfn *p_hwfn = QED_AFFIN_HWFN(cdev);
p_hwfn = QED_AFFIN_HWFN(cdev);
p_hwfn = QED_AFFIN_HWFN(cdev);
struct qed_hwfn *hwfn = QED_AFFIN_HWFN(cdev);
rc = qed_sp_nvmetcp_func_stop(QED_AFFIN_HWFN(cdev), QED_SPQ_MODE_EBLOCK,
rc = qed_sp_nvmetcp_func_start(QED_AFFIN_HWFN(cdev),
rc = qed_cxt_get_tid_mem_info(QED_AFFIN_HWFN(cdev), tid_info);
rc = qed_nvmetcp_acquire_connection(QED_AFFIN_HWFN(cdev),
*p_doorbell = qed_nvmetcp_get_db_addr(QED_AFFIN_HWFN(cdev),
qed_nvmetcp_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con);
return qed_sp_nvmetcp_conn_offload(QED_AFFIN_HWFN(cdev), con,
return qed_sp_nvmetcp_conn_update(QED_AFFIN_HWFN(cdev), con,
return qed_sp_nvmetcp_conn_clear_sq(QED_AFFIN_HWFN(cdev), hash_con->con,
return qed_sp_nvmetcp_conn_terminate(QED_AFFIN_HWFN(cdev), hash_con->con,
return QED_AFFIN_HWFN(cdev);
return qed_rdma_start(QED_AFFIN_HWFN(cdev), params);
struct qed_hwfn *p_hwfn = QED_AFFIN_HWFN(cdev);
feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE);
feat_num = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_PF_L2_QUE) *
int n_cnq = FEAT_NUM(QED_AFFIN_HWFN(cdev), QED_RDMA_CNQ);