Home
last modified time | relevance | path

Searched refs:sb_idx (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h91 u16 sb_idx; member
372 static inline u8 vf_igu_sb(struct bnx2x_virtf *vf, u16 sb_idx) in vf_igu_sb() argument
374 return vf->igu_base_id + sb_idx; in vf_igu_sb()
377 static inline u8 vf_hc_qzone(struct bnx2x_virtf *vf, u16 sb_idx) in vf_hc_qzone() argument
379 return vf_igu_sb(vf, sb_idx); in vf_hc_qzone()
435 u16 q_idx, u16 sb_idx);
440 u16 q_idx, u16 sb_idx);
Dbnx2x_sriov.c131 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_tx() argument
137 sb_idx, in bnx2x_vfop_qctor_dump_tx()
147 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_rx() argument
155 sb_idx, in bnx2x_vfop_qctor_dump_rx()
187 init_p->rx.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
188 init_p->tx.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
219 rxq_p->fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
229 setup_p->txq_params.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
267 bnx2x_vf_igu_ack_sb(bp, vf, vf_igu_sb(vf, bnx2x_vfq(vf, qid, sb_idx)), in bnx2x_vf_queue_create()
2454 int vf_idx, sb_idx, vfq_idx, qcount, first_vf; in bnx2x_enable_sriov() local
[all …]
Dbnx2x_vfpf.c1563 q->sb_idx = setup_q->txq.vf_sb; in bnx2x_vf_mbx_setup_q()
1584 q->index, q->sb_idx); in bnx2x_vf_mbx_setup_q()
1596 q->sb_idx = setup_q->rxq.vf_sb; in bnx2x_vf_mbx_setup_q()
1634 q->index, q->sb_idx); in bnx2x_vf_mbx_setup_q()
Dbnx2x_main.c8111 int num_segs, sb_idx, prod_offset; in bnx2x_init_hw_func() local
8147 for (sb_idx = 0; sb_idx < bp->igu_sb_cnt; sb_idx++) { in bnx2x_init_hw_func()
8148 prod_offset = (bp->igu_base_sb + sb_idx) * in bnx2x_init_hw_func()
8157 bnx2x_ack_sb(bp, bp->igu_base_sb + sb_idx, in bnx2x_init_hw_func()
8160 bp->igu_base_sb + sb_idx); in bnx2x_init_hw_func()
/drivers/net/ethernet/qlogic/qed/
Dqed_int.h305 u8 *sb_idx,
Dqed_l2.h323 u8 sb_idx; member
Dqed_l2.c239 p_cid->sb_idx = p_params->sb_idx; in _qed_eth_queue_to_cid()
302 p_cid->abs.stats_id, p_cid->sb_igu_id, p_cid->sb_idx); in _qed_eth_queue_to_cid()
889 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_rxq_start_ramrod()
1110 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_txq_start_ramrod()
Dqed_vf.c752 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
866 req->sb_index = p_cid->sb_idx; in qed_vf_pf_txq_start()
Dqed_sriov.c282 struct qed_vf_info *p_vf, u16 sb_idx) in qed_iov_validate_sb() argument
287 if (p_vf->igu_sbs[i] == sb_idx) in qed_iov_validate_sb()
293 p_vf->abs_vf_id, sb_idx, p_vf->num_sbs); in qed_iov_validate_sb()
2138 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_rxq()
2474 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_txq()
Dqed_int.c1611 void *cookie, u8 *sb_idx, __le16 **p_fw_cons) in qed_int_register_cb() argument
1624 *sb_idx = pi; in qed_int_register_cb()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1787 struct qede_tx_queue *txq, u8 rss_id, u16 sb_idx) in qede_start_txq() argument
1807 params.sb_idx = sb_idx; in qede_start_txq()
1820 txq->hw_cons_ptr = &fp->sb_info->sb_virt->pi_array[sb_idx]; in qede_start_txq()
1886 q_params.sb_idx = RX_PI; in qede_start_queues()