Home
last modified time | relevance | path

Searched refs:nsge (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.h139 static inline u16 bnxt_re_get_swqe_size(int nsge) in bnxt_re_get_swqe_size() argument
141 return sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_re_get_swqe_size()
144 static inline u16 bnxt_re_get_rwqe_size(int nsge) in bnxt_re_get_rwqe_size() argument
146 return sizeof(struct rq_wqe_hdr) + (nsge * sizeof(struct sq_sge)); in bnxt_re_get_rwqe_size()
H A Dqplib_fp.c977 u16 nsge; in bnxt_qplib_create_qp() local
1046 nsge = (qp->wqe_mode == BNXT_QPLIB_WQE_MODE_STATIC) ? in bnxt_qplib_create_qp()
1049 cpu_to_le16(((nsge & in bnxt_qplib_create_qp()
1642 u16 nsge, u16 *idx) in bnxt_qplib_put_sges()
1647 for (indx = 0; indx < nsge; indx++, (*idx)++) { in bnxt_qplib_put_sges()
1663 u16 nsge; in bnxt_qplib_required_slots() local
1666 nsge = wqe->num_sge; in bnxt_qplib_required_slots()
1668 bytes = sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_qplib_required_slots()
1640 bnxt_qplib_put_sges(struct bnxt_qplib_hwq *hwq, struct bnxt_qplib_sge *ssge, u16 nsge, u16 *idx) bnxt_qplib_put_sges() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.h160 static inline u16 bnxt_re_get_swqe_size(int nsge) in bnxt_re_get_swqe_size() argument
162 return sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_re_get_swqe_size()
165 static inline u16 bnxt_re_get_rwqe_size(int nsge) in bnxt_re_get_rwqe_size() argument
167 return sizeof(struct rq_wqe_hdr) + (nsge * sizeof(struct sq_sge)); in bnxt_re_get_rwqe_size()
H A Dqplib_fp.c994 u16 nsge; in bnxt_qplib_create_qp() local
1065 nsge = (qp->wqe_mode == BNXT_QPLIB_WQE_MODE_STATIC) ? in bnxt_qplib_create_qp()
1068 cpu_to_le16(((nsge & in bnxt_qplib_create_qp()
1672 u16 nsge, u16 *idx) in bnxt_qplib_put_sges()
1677 for (indx = 0; indx < nsge; indx++, (*idx)++) { in bnxt_qplib_put_sges()
1693 u16 nsge; in bnxt_qplib_required_slots() local
1696 nsge = wqe->num_sge; in bnxt_qplib_required_slots()
1698 bytes = sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_qplib_required_slots()
1670 bnxt_qplib_put_sges(struct bnxt_qplib_hwq *hwq, struct bnxt_qplib_sge *ssge, u16 nsge, u16 *idx) bnxt_qplib_put_sges() argument
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H A Dcsio_scsi.c178 if (req->nsge) in csio_scsi_fcp_cmnd()
302 ULPTX_NSGE_V(req->nsge)); in csio_scsi_init_ultptx_dsgl()
305 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_scsi_init_ultptx_dsgl()
464 if (unlikely((req)->nsge > 1)) \
466 (ALIGN(((req)->nsge - 1), 2) / 2)); \
569 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_setup_ddp()
583 if ((i != (req->nsge - 1)) && in csio_setup_ddp()
626 req->nsge = i; in csio_setup_ddp()
711 if (req->nsge) { in csio_scsis_uninit()
1716 if (req->nsge > in csio_scsi_err_handler()
1783 int nsge = 0; csio_queuecommand() local
[all...]
H A Dcsio_isr.c235 ioreq->nsge); in csio_scsi_isr_handler()
H A Dcsio_wr.h245 uint32_t nsge; /* Number of SG elements */ member
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_scsi.c178 if (req->nsge) in csio_scsi_fcp_cmnd()
302 ULPTX_NSGE_V(req->nsge)); in csio_scsi_init_ultptx_dsgl()
305 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_scsi_init_ultptx_dsgl()
464 if (unlikely((req)->nsge > 1)) \
466 (ALIGN(((req)->nsge - 1), 2) / 2)); \
569 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_setup_ddp()
583 if ((i != (req->nsge - 1)) && in csio_setup_ddp()
626 req->nsge = i; in csio_setup_ddp()
711 if (req->nsge) { in csio_scsis_uninit()
1720 if (req->nsge > in csio_scsi_err_handler()
1787 int nsge = 0; csio_queuecommand() local
[all...]
H A Dcsio_wr.h245 uint32_t nsge; /* Number of SG elements */ member
H A Dcsio_isr.c235 ioreq->nsge); in csio_scsi_isr_handler()
/kernel/linux/linux-5.10/net/tls/
H A Dtls_sw.c560 struct scatterlist *sge, *osge, *nsge; in tls_split_open_record() local
612 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
614 memcpy(nsge, &tmp, sizeof(*nsge)); in tls_split_open_record()
616 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
621 memcpy(nsge, osge, sizeof(*nsge)); in tls_split_open_record()
622 sg_unmark_end(nsge); in tls_split_open_record()
628 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
644 struct scatterlist *osge, *nsge; in tls_merge_open_record() local
[all...]
/kernel/linux/linux-6.6/net/tls/
H A Dtls_sw.c612 struct scatterlist *sge, *osge, *nsge; in tls_split_open_record() local
664 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
666 memcpy(nsge, &tmp, sizeof(*nsge)); in tls_split_open_record()
668 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
673 memcpy(nsge, osge, sizeof(*nsge)); in tls_split_open_record()
674 sg_unmark_end(nsge); in tls_split_open_record()
680 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
696 struct scatterlist *osge, *nsge; in tls_merge_open_record() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c608 u8 opcode, flags, nsge; in ionic_tx_clean() local
614 &opcode, &flags, &nsge, &addr); in ionic_tx_clean()
627 for (i = 0; i < nsge; i++, elem++) in ionic_tx_clean()
745 dma_addr_t addr, u8 nsge, u16 len, in ionic_tx_tso_post()
759 cmd = encode_txq_desc_cmd(IONIC_TXQ_DESC_OPCODE_TSO, flags, nsge, addr); in ionic_tx_tso_post()
743 ionic_tx_tso_post(struct ionic_queue *q, struct ionic_txq_desc *desc, struct sk_buff *skb, dma_addr_t addr, u8 nsge, u16 len, unsigned int hdrlen, unsigned int mss, bool outer_csum, u16 vlan_tci, bool has_vlan, bool start, bool done) ionic_tx_tso_post() argument
H A Dionic_if.h795 u8 nsge, u64 addr) in encode_txq_desc_cmd()
801 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd()
808 u8 *nsge, u64 *addr) in decode_txq_desc_cmd()
812 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd()
794 encode_txq_desc_cmd(u8 opcode, u8 flags, u8 nsge, u64 addr) encode_txq_desc_cmd() argument
807 decode_txq_desc_cmd(u64 cmd, u8 *opcode, u8 *flags, u8 *nsge, u64 *addr) decode_txq_desc_cmd() argument
/kernel/linux/linux-5.10/drivers/scsi/
H A Dmyrb.c1277 int nsge; in myrb_pthru_queuecommand() local
1283 nsge = scsi_dma_map(scmd); in myrb_pthru_queuecommand()
1284 if (nsge > 1) { in myrb_pthru_queuecommand()
1434 int nsge; in myrb_ldev_queuecommand() local
1586 nsge = scsi_dma_map(scmd); in myrb_ldev_queuecommand()
1587 if (nsge == 1) { in myrb_ldev_queuecommand()
1619 mbox->type5.sg_count = nsge; in myrb_ldev_queuecommand()
1621 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrb_ldev_queuecommand()
H A Dmyrs.c1595 int nsge; in myrs_queuecommand() local
1722 nsge = scsi_dma_map(scmd); in myrs_queuecommand()
1723 if (nsge == 1) { in myrs_queuecommand()
1732 if (nsge > 2) { in myrs_queuecommand()
1756 hw_sge->ext.sge0_len = nsge; in myrs_queuecommand()
1761 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrs_queuecommand()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmyrb.c1276 int nsge; in myrb_pthru_queuecommand() local
1282 nsge = scsi_dma_map(scmd); in myrb_pthru_queuecommand()
1283 if (nsge > 1) { in myrb_pthru_queuecommand()
1432 int nsge; in myrb_ldev_queuecommand() local
1558 nsge = scsi_dma_map(scmd); in myrb_ldev_queuecommand()
1559 if (nsge == 1) { in myrb_ldev_queuecommand()
1591 mbox->type5.sg_count = nsge; in myrb_ldev_queuecommand()
1593 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrb_ldev_queuecommand()
H A Dmyrs.c1596 int nsge; in myrs_queuecommand() local
1718 nsge = scsi_dma_map(scmd); in myrs_queuecommand()
1719 if (nsge == 1) { in myrs_queuecommand()
1728 if (nsge > 2) { in myrs_queuecommand()
1752 hw_sge->ext.sge0_len = nsge; in myrs_queuecommand()
1757 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrs_queuecommand()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A Dt4fw_ri_api.h122 __be16 nsge; member
139 __be16 nsge; member
H A Dqp.c482 isglp->nsge = cpu_to_be16(num_sge); in build_isgl()
853 sglp->nsge = cpu_to_be16(1); in build_memreg()
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A Dt4fw_ri_api.h122 __be16 nsge; member
137 __be16 nsge; member
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_if.h879 u8 nsge, u64 addr) in encode_txq_desc_cmd()
885 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd()
892 u8 *nsge, u64 *addr) in decode_txq_desc_cmd()
896 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd()
878 encode_txq_desc_cmd(u8 opcode, u8 flags, u8 nsge, u64 addr) encode_txq_desc_cmd() argument
891 decode_txq_desc_cmd(u64 cmd, u8 *opcode, u8 *flags, u8 *nsge, u64 *addr) decode_txq_desc_cmd() argument
H A Dionic_txrx.c963 dma_addr_t addr, u8 nsge, u16 len, in ionic_tx_tso_post()
978 cmd = encode_txq_desc_cmd(IONIC_TXQ_DESC_OPCODE_TSO, flags, nsge, addr); in ionic_tx_tso_post()
960 ionic_tx_tso_post(struct ionic_queue *q, struct ionic_desc_info *desc_info, struct sk_buff *skb, dma_addr_t addr, u8 nsge, u16 len, unsigned int hdrlen, unsigned int mss, bool outer_csum, u16 vlan_tci, bool has_vlan, bool start, bool done) ionic_tx_tso_post() argument
/kernel/linux/linux-5.10/net/core/
H A Dfilter.c2758 struct scatterlist sge, nsge, nnsge, rsge = {0}, *psge; in BPF_CALL_4() local
2846 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2854 sge = nsge; in BPF_CALL_4()
2857 nsge = nnsge; in BPF_CALL_4()
2860 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2971 struct scatterlist *nsge, *sge = sk_msg_elem(msg, i); in BPF_CALL_4() local
2981 nsge = sk_msg_elem(msg, i); in BPF_CALL_4()
2983 sg_set_page(nsge, in BPF_CALL_4()
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c2750 struct scatterlist sge, nsge, nnsge, rsge = {0}, *psge; in BPF_CALL_4() local
2838 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2846 sge = nsge; in BPF_CALL_4()
2849 nsge = nnsge; in BPF_CALL_4()
2852 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2963 struct scatterlist *nsge, *sge = sk_msg_elem(msg, i); in BPF_CALL_4() local
2973 nsge = sk_msg_elem(msg, i); in BPF_CALL_4()
2975 sg_set_page(nsge, in BPF_CALL_4()

Completed in 81 milliseconds

12