Home
last modified time | relevance | path

Searched refs:sq_idx (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos_sq.c238 int pool_id, sq_idx, err; in otx2_qos_enable_sq() local
243 sq_idx = hw->non_qos_queues + qidx; in otx2_qos_enable_sq()
246 err = otx2_qos_sq_aura_pool_init(pfvf, sq_idx); in otx2_qos_enable_sq()
250 pool_id = otx2_get_pool_idx(pfvf, AURA_NIX_SQ, sq_idx); in otx2_qos_enable_sq()
251 err = otx2_sq_init(pfvf, sq_idx, pool_id); in otx2_qos_enable_sq()
265 int pool_id, sq_idx; in otx2_qos_disable_sq() local
267 sq_idx = hw->non_qos_queues + qidx; in otx2_qos_disable_sq()
273 sq = &pfvf->qset.sq[sq_idx]; in otx2_qos_disable_sq()
277 if (sq_idx < hw->non_qos_queues || in otx2_qos_disable_sq()
278 sq_idx >= otx2_get_total_tx_queues(pfvf)) { in otx2_qos_disable_sq()
[all …]
H A Dotx2_txrx.c1341 int sq_idx, sqe; in otx2_free_pending_sqe() local
1343 for (sq_idx = 0; sq_idx < pfvf->hw.tx_queues; sq_idx++) { in otx2_free_pending_sqe()
1344 sq = &pfvf->qset.sq[sq_idx]; in otx2_free_pending_sqe()
1359 txq = netdev_get_tx_queue(pfvf->netdev, sq_idx); in otx2_free_pending_sqe()
/linux/io_uring/
H A Dfdinfo.c136 unsigned int sq_idx; in io_uring_show_fdinfo() local
140 sq_idx = READ_ONCE(ctx->sq_array[entry & sq_mask]); in io_uring_show_fdinfo()
141 if (sq_idx > sq_mask) in io_uring_show_fdinfo()
143 sqe = &ctx->sq_sqes[sq_idx << sq_shift]; in io_uring_show_fdinfo()
147 sq_idx, io_uring_get_opcode(sqe->opcode), sqe->fd, in io_uring_show_fdinfo()
/linux/drivers/scsi/qedi/
H A Dqedi_fw.c973 u16 sq_idx = 0; in qedi_send_iscsi_login() local
1041 sq_idx = qedi_get_wqe_idx(qedi_conn); in qedi_send_iscsi_login()
1042 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_login()
1075 u16 sq_idx = 0; in qedi_send_iscsi_logout() local
1115 sq_idx = qedi_get_wqe_idx(qedi_conn); in qedi_send_iscsi_logout()
1116 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_logout()
1435 u16 sq_idx = 0; in send_iscsi_tmf() local
1489 sq_idx = qedi_get_wqe_idx(qedi_conn); in send_iscsi_tmf()
1490 task_params.sqe = &ep->sq[sq_idx]; in send_iscsi_tmf()
1550 u16 sq_idx = 0; in qedi_send_iscsi_text() local
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_admin_defs.h170 u16 sq_idx; member
286 u16 sq_idx; member
H A Dena_com.c882 destroy_cmd.sq.sq_idx = io_sq->idx; in ena_com_destroy_io_sq()
1222 io_sq->idx = cmd_completion.sq_idx; in ena_com_create_io_sq()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h330 u64 sq_idx:3; member
338 u64 sq_idx:3;
H A Dnic_main.c618 u8 sq_idx = sq->sq_num; in nic_tx_channel_cfg() local
652 tl4 += sq_idx; in nic_tx_channel_cfg()
657 ((u32)sq_idx << NIC_Q_NUM_SHIFT), tl4); in nic_tx_channel_cfg()
659 ((u64)vnic << 27) | ((u32)sq_idx << 24) | rr_quantum); in nic_tx_channel_cfg()
H A Dnicvf_queues.h369 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx);
H A Dnicvf_queues.c1825 void nicvf_update_sq_stats(struct nicvf *nic, int sq_idx) in nicvf_update_sq_stats() argument
1831 (sq_idx << NIC_Q_NUM_SHIFT) | (reg << 3)) in nicvf_update_sq_stats()
1833 sq = &nic->qs->sq[sq_idx]; in nicvf_update_sq_stats()
H A Dnicvf_main.c667 sq = &nic->qs->sq[cqe_tx->sq_idx]; in nicvf_snd_pkt_handler()
/linux/drivers/nvme/host/
H A Dpci.c174 static inline unsigned int sq_idx(unsigned int qid, u32 stride) in sq_idx() function
313 nvmeq->dbbuf_sq_db = &dev->dbbuf_dbs[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
315 nvmeq->dbbuf_sq_ei = &dev->dbbuf_eis[sq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()