Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
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()
A Dqplib_fp.c965 u16 nsge; in bnxt_qplib_create_qp() local
1034 nsge = (qp->wqe_mode == BNXT_QPLIB_WQE_MODE_STATIC) ? in bnxt_qplib_create_qp()
1037 cpu_to_le16(((nsge & in bnxt_qplib_create_qp()
1635 u16 nsge, u16 *idx) in bnxt_qplib_put_sges() argument
1640 for (indx = 0; indx < nsge; indx++, (*idx)++) { in bnxt_qplib_put_sges()
1656 u16 nsge; in bnxt_qplib_required_slots() local
1659 nsge = wqe->num_sge; in bnxt_qplib_required_slots()
1661 bytes = sizeof(struct sq_send_hdr) + nsge * sizeof(struct sq_sge); in bnxt_qplib_required_slots()
A Dib_verbs.c859 static u16 bnxt_re_get_wqe_size(int ilsize, int nsge) in bnxt_re_get_wqe_size() argument
863 wqe_size = bnxt_re_get_swqe_size(nsge); in bnxt_re_get_wqe_size()
/linux/drivers/scsi/csiostor/
A Dcsio_scsi.c178 if (req->nsge) in csio_scsi_fcp_cmnd()
626 req->nsge = i; in csio_setup_ddp()
711 if (req->nsge) { in csio_scsis_uninit()
1720 if (req->nsge > 0) { in csio_scsi_err_handler()
1748 if (req->nsge > 0) { in csio_scsi_cbfn()
1787 int nsge = 0; in csio_queuecommand() local
1810 if (unlikely(nsge < 0)) { in csio_queuecommand()
1833 ioreq->nsge = nsge; in csio_queuecommand()
1877 if (nsge > 0) in csio_queuecommand()
1978 if (ioreq->nsge > 0) in csio_eh_abort_handler()
[all …]
A Dcsio_wr.h245 uint32_t nsge; /* Number of SG elements */ member
A Dcsio_isr.c235 ioreq->nsge); in csio_scsi_isr_handler()
/linux/net/tls/
A Dtls_sw.c622 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
624 memcpy(nsge, &tmp, sizeof(*nsge)); in tls_split_open_record()
626 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
631 memcpy(nsge, osge, sizeof(*nsge)); in tls_split_open_record()
632 sg_unmark_end(nsge); in tls_split_open_record()
638 nsge = sk_msg_elem(msg_npl, j); in tls_split_open_record()
654 struct scatterlist *osge, *nsge; in tls_merge_open_record() local
662 nsge = sk_msg_elem(msg_npl, j); in tls_merge_open_record()
664 if (sg_page(osge) == sg_page(nsge) && in tls_merge_open_record()
666 osge->length += nsge->length; in tls_merge_open_record()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_if.h867 u8 nsge, u64 addr) in encode_txq_desc_cmd() argument
873 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd()
880 u8 *nsge, u64 *addr) in decode_txq_desc_cmd() argument
884 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd()
A Dionic_txrx.c855 dma_addr_t addr, u8 nsge, u16 len, in ionic_tx_tso_post() argument
869 cmd = encode_txq_desc_cmd(IONIC_TXQ_DESC_OPCODE_TSO, flags, nsge, addr); in ionic_tx_tso_post()
/linux/drivers/infiniband/hw/cxgb4/
A Dt4fw_ri_api.h122 __be16 nsge; member
139 __be16 nsge; member
A Dqp.c482 isglp->nsge = cpu_to_be16(num_sge); in build_isgl()
853 sglp->nsge = cpu_to_be16(1); in build_memreg()
/linux/drivers/scsi/
A Dmyrb.c1275 int nsge; in myrb_pthru_queuecommand() local
1281 nsge = scsi_dma_map(scmd); in myrb_pthru_queuecommand()
1282 if (nsge > 1) { in myrb_pthru_queuecommand()
1431 int nsge; in myrb_ldev_queuecommand() local
1557 nsge = scsi_dma_map(scmd); in myrb_ldev_queuecommand()
1558 if (nsge == 1) { in myrb_ldev_queuecommand()
1590 mbox->type5.sg_count = nsge; in myrb_ldev_queuecommand()
1592 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrb_ldev_queuecommand()
A Dmyrs.c1598 int nsge; in myrs_queuecommand() local
1720 nsge = scsi_dma_map(scmd); in myrs_queuecommand()
1721 if (nsge == 1) { in myrs_queuecommand()
1730 if (nsge > 2) { in myrs_queuecommand()
1754 hw_sge->ext.sge0_len = nsge; in myrs_queuecommand()
1759 scsi_for_each_sg(scmd, sgl, nsge, i) { in myrs_queuecommand()
/linux/net/core/
A Dfilter.c2706 struct scatterlist sge, nsge, nnsge, rsge = {0}, *psge; in BPF_CALL_4() local
2791 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2799 sge = nsge; in BPF_CALL_4()
2802 nsge = nnsge; in BPF_CALL_4()
2805 nsge = sk_msg_elem_cpy(msg, i); in BPF_CALL_4()
2915 struct scatterlist *nsge, *sge = sk_msg_elem(msg, i); in BPF_CALL_4() local
2925 nsge = sk_msg_elem(msg, i); in BPF_CALL_4()
2927 sg_set_page(nsge, in BPF_CALL_4()

Completed in 1015 milliseconds