Lines 464-470
ocs_hw_setup(ocs_hw_t *hw, ocs_os_handle_t os, sli4_port_type_e port_type)
Link Here
|
464 |
hw->config.queue_topology = hw_global.queue_topology_string; |
464 |
hw->config.queue_topology = hw_global.queue_topology_string; |
465 |
|
465 |
|
466 |
hw->qtop = ocs_hw_qtop_parse(hw, hw->config.queue_topology); |
466 |
hw->qtop = ocs_hw_qtop_parse(hw, hw->config.queue_topology); |
467 |
|
467 |
if (hw->qtop == NULL) |
|
|
468 |
return OCS_HW_RTN_ERROR; |
468 |
hw->config.n_eq = hw->qtop->entry_counts[QTOP_EQ]; |
469 |
hw->config.n_eq = hw->qtop->entry_counts[QTOP_EQ]; |
469 |
hw->config.n_cq = hw->qtop->entry_counts[QTOP_CQ]; |
470 |
hw->config.n_cq = hw->qtop->entry_counts[QTOP_CQ]; |
470 |
hw->config.n_rq = hw->qtop->entry_counts[QTOP_RQ]; |
471 |
hw->config.n_rq = hw->qtop->entry_counts[QTOP_RQ]; |
471 |
- |
|
|