Home
last modified time | relevance | path

Searched refs:sq (Results 1 – 9 of 9) sorted by relevance

/u-boot/drivers/net/octeontx/
A Dnicvf_queues.c218 sq->desc = sq->dmem.base; in nicvf_init_snd_queue()
220 sq->head = 0; in nicvf_init_snd_queue()
221 sq->tail = 0; in nicvf_init_snd_queue()
230 if (!sq) in nicvf_free_snd_queue()
435 sq = &qs->sq[qidx]; in nicvf_snd_queue_config()
454 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
667 sq->tail &= (sq->dmem.q_len - 1); in nicvf_get_sq_desc()
677 sq->head &= (sq->dmem.q_len - 1); in nicvf_put_sq_desc()
717 hdr = (struct sq_hdr_subdesc *)GET_SQ_DESC(sq, sq->head); in nicvf_sq_free_used_descs()
788 sq = &qs->sq[sq_num]; in nicvf_sq_append_pkt()
[all …]
A Dnicvf_main.c213 struct snd_queue *sq; in nicvf_snd_pkt_handler() local
217 sq = &nic->qs->sq[cqe_tx->sq_idx]; in nicvf_snd_pkt_handler()
219 hdr = (struct sq_hdr_subdesc *)GET_SQ_DESC(sq, cqe_tx->sqe_ptr); in nicvf_snd_pkt_handler()
224 nicvf_put_sq_desc(sq, hdr->subdesc_cnt + 1); in nicvf_snd_pkt_handler()
333 nicvf_sq_free_used_descs(nic->dev, &qs->sq[qidx], qidx); in nicvf_handle_qs_err()
334 nicvf_sq_enable(nic, &qs->sq[qidx], qidx); in nicvf_handle_qs_err()
A Dnicvf_queues.h297 struct snd_queue sq[MAX_SND_QUEUES_PER_QS]; member
322 void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx);
324 void nicvf_put_sq_desc(struct snd_queue *sq, int desc_cnt);
326 struct snd_queue *sq, int qidx);
A Dnic_main.c36 struct sq_cfg_msg *sq);
232 (mbx.sq.qs_num << NIC_QS_ID_SHIFT) | in nic_handle_mbx_intr()
233 (mbx.sq.sq_num << NIC_Q_NUM_SHIFT); in nic_handle_mbx_intr()
234 nic_reg_write(nic, reg_addr, mbx.sq.cfg); in nic_handle_mbx_intr()
236 (struct sq_cfg_msg *)&mbx.sq); in nic_handle_mbx_intr()
623 struct sq_cfg_msg *sq) in nic_tx_channel_cfg() argument
629 u8 sq_idx = sq->sq_num; in nic_tx_channel_cfg()
647 if (!sq->sqs_mode) { in nic_tx_channel_cfg()
A Dnic.h467 struct sq_cfg_msg sq; member
/u-boot/drivers/net/octeontx2/
A Dnix_af.c562 sq_req.sq.s.ena = 1; in nix_attach_send_queue()
563 sq_req.sq.s.cq_ena = 1; in nix_attach_send_queue()
566 sq_req.sq.s.sdp_mcast = 0; in nix_attach_send_queue()
567 sq_req.sq.s.cq = NIX_CQ_TX; in nix_attach_send_queue()
568 sq_req.sq.s.cq_limit = 0; in nix_attach_send_queue()
570 sq_req.sq.s.sso_ena = 0; in nix_attach_send_queue()
571 sq_req.sq.s.smq_rr_quantum = MAX_MTU / 4; in nix_attach_send_queue()
573 sq_req.sq.s.sqe_stype = NIX_STYPE_E_STP; in nix_attach_send_queue()
574 sq_req.sq.s.qint_idx = 0; in nix_attach_send_queue()
575 sq_req.sq.s.sqb_aura = NPA_POOL_SQB; in nix_attach_send_queue()
[all …]
A Dnix.h194 struct qmem sq; member
234 union nix_sq_ctx_s sq ALIGNED;
250 union nix_sq_ctx_s sq ALIGNED;
A Dnix.c557 tx_dr.hdr.s.sq = 0; in nix_lf_xmit()
/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/
A Dcsrs-nix.h734 u64 sq : 20; member
1302 u64 sq : 20; member
9563 u64 sq : 20; member
10089 u64 sq : 20; member
10169 u64 sq : 20; member
10202 u64 sq : 20; member

Completed in 59 milliseconds