Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h91 u16 sb_idx; member
375 static inline u8 vf_igu_sb(struct bnx2x_virtf *vf, u16 sb_idx) in vf_igu_sb() argument
377 return vf->igu_base_id + sb_idx; in vf_igu_sb()
380 static inline u8 vf_hc_qzone(struct bnx2x_virtf *vf, u16 sb_idx) in vf_hc_qzone() argument
382 return vf_igu_sb(vf, sb_idx); in vf_hc_qzone()
438 u16 q_idx, u16 sb_idx);
443 u16 q_idx, u16 sb_idx);
Dbnx2x_sriov.c129 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_tx() argument
135 sb_idx, in bnx2x_vfop_qctor_dump_tx()
145 u16 q_idx, u16 sb_idx) in bnx2x_vfop_qctor_dump_rx() argument
153 sb_idx, in bnx2x_vfop_qctor_dump_rx()
185 init_p->rx.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
186 init_p->tx.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
220 rxq_p->fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
230 setup_p->txq_params.fw_sb_id = vf_igu_sb(vf, q->sb_idx); in bnx2x_vfop_qctor_prep()
268 bnx2x_vf_igu_ack_sb(bp, vf, vf_igu_sb(vf, bnx2x_vfq(vf, qid, sb_idx)), in bnx2x_vf_queue_create()
2449 int vf_idx, sb_idx, vfq_idx, qcount, first_vf; in bnx2x_enable_sriov() local
[all …]
Dbnx2x_vfpf.c1561 q->sb_idx = setup_q->txq.vf_sb; in bnx2x_vf_mbx_setup_q()
1582 q->index, q->sb_idx); in bnx2x_vf_mbx_setup_q()
1594 q->sb_idx = setup_q->rxq.vf_sb; in bnx2x_vf_mbx_setup_q()
1632 q->index, q->sb_idx); in bnx2x_vf_mbx_setup_q()
Dbnx2x_main.c8116 int num_segs, sb_idx, prod_offset; in bnx2x_init_hw_func() local
8152 for (sb_idx = 0; sb_idx < bp->igu_sb_cnt; sb_idx++) { in bnx2x_init_hw_func()
8153 prod_offset = (bp->igu_base_sb + sb_idx) * in bnx2x_init_hw_func()
8162 bnx2x_ack_sb(bp, bp->igu_base_sb + sb_idx, in bnx2x_init_hw_func()
8165 bp->igu_base_sb + sb_idx); in bnx2x_init_hw_func()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_int.h327 u8 *sb_idx,
Dqed_l2.h329 u8 sb_idx; member
Dqed_l2.c214 p_cid->sb_idx = p_params->sb_idx; in _qed_eth_queue_to_cid()
277 p_cid->abs.stats_id, p_cid->sb_igu_id, p_cid->sb_idx); in _qed_eth_queue_to_cid()
870 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_rxq_start_ramrod()
1092 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_txq_start_ramrod()
Dqed_vf.c747 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
861 req->sb_index = p_cid->sb_idx; in qed_vf_pf_txq_start()
Dqed_sriov.c261 struct qed_vf_info *p_vf, u16 sb_idx) in qed_iov_validate_sb() argument
266 if (p_vf->igu_sbs[i] == sb_idx) in qed_iov_validate_sb()
272 p_vf->abs_vf_id, sb_idx, p_vf->num_sbs); in qed_iov_validate_sb()
2127 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_rxq()
2463 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_txq()
Dqed_int.c1793 void *cookie, u8 *sb_idx, __le16 **p_fw_cons) in qed_int_register_cb() argument
1806 *sb_idx = pi; in qed_int_register_cb()
/linux-6.1.9/include/linux/qed/
Dqed_eth_if.h29 u8 sb_idx; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c243 u8 sb_idx; in dr_rule_rehash_copy_ste() local
246 sb_idx = cur_ste->ste_chain_location - 1; in dr_rule_rehash_copy_ste()
247 mlx5dr_ste_set_bit_mask(hw_ste, nic_matcher->ste_builder[sb_idx].bit_mask); in dr_rule_rehash_copy_ste()
Ddr_ste.c233 int sb_idx; in dr_ste_replace_head_ste() local
248 sb_idx = ste->ste_chain_location - 1; in dr_ste_replace_head_ste()
250 nic_matcher->ste_builder[sb_idx].bit_mask); in dr_ste_replace_head_ste()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2146 struct qede_tx_queue *txq, u8 rss_id, u16 sb_idx) in qede_start_txq() argument
2166 params.sb_idx = sb_idx; in qede_start_txq()
2180 txq->hw_cons_ptr = &fp->sb_info->sb_virt->pi_array[sb_idx]; in qede_start_txq()
2251 q_params.sb_idx = RX_PI; in qede_start_queues()