/titanic_41/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 92 static inline uint32_t t1_sge_rx(pesge *sge, freelQ_t *Q, 95 static void t1_sge_check_pause(pesge *sge, struct freelQ *Q); 97 static void alloc_freelQ_buffers(pesge *sge, struct freelQ *Q); 98 static void freelQs_empty(pesge *sge); 99 static void free_cmdQ_buffers(pesge *sge, cmdQ_t *Q, uint32_t credits_pend); 100 static int alloc_rx_resources(pesge *sge, struct sge_params *p); 101 static int alloc_tx_resources(pesge *sge, struct sge_params *p); 104 static void configure_sge(pesge *sge, struct sge_params *p); 105 static void free_freelQ_buffers(pesge *sge, struct freelQ *Q); 106 static void free_rx_resources(pesge *sge); [all …]
|
H A D | pe.c | 134 if (sge_data_in(sa->sge)) { in pe_intr() 206 (void) sge_start(sa->sge); in pe_init() 242 (void) sge_stop(sa->sge); in pe_stop() 287 if (sge_data_out(sa->sge, 0, mp, hmp, 1, flg) == 0) { in pe_start() 336 sa->sge->intr_cnt.tx_need_cpl_space++; in pe_start() 365 sa->sge->intr_cnt.tx_multi_mblks++; in pe_start() 418 sa->sge->intr_cnt.tx_no_dvma1++; in pe_start() 423 sa->sge->intr_cnt.tx_no_dma1++; in pe_start() 448 sa->sge->intr_cnt.tx_no_dma1++; in pe_start() 471 sa->sge->intr_cnt.tx_no_dma1++; in pe_start() [all …]
|
H A D | sge.h | 57 #define doorbell_pio(sge, cmd) sge_ring_doorbell(sge, cmd) argument 445 extern int t1_sge_destroy(pesge* sge); 450 extern int t1_sge_configure(pesge *sge, struct sge_params *p);
|
H A D | glue.c | 297 sep = sge_get_stat(chp->sge); in pe_ioctl() 400 (void) sge_stop(adapter->sge); in t1_fatal_err()
|
H A D | ch.c | 768 t1_write_reg_4(chp->sge->obj, A_SG_CONTROL, 0x0); in ch_quiesce() 769 t1_write_reg_4(chp->sge->obj, A_SG_INT_CAUSE, 0x0); in ch_quiesce() 1751 chp->sge->intr_cnt.tx_msg_pullups++; in ch_send() 1758 chp->sge->intr_cnt.tx_hdr_pullups++; in ch_send() 1773 chp->sge->intr_cnt.tx_udp_ip_frag++; in ch_send() 1776 chp->sge->intr_cnt.tx_tcp_ip_frag++; in ch_send()
|
H A D | ch.h | 200 pesge *sge; member
|
/titanic_41/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124reg.h | 52 #define SET_SGE_LNK(sge) (sge.sge_trm_lnk_drd_xcf_rsvd = 0x40000000) argument 53 #define SET_SGE_TRM(sge) (sge.sge_trm_lnk_drd_xcf_rsvd = 0x80000000) argument 54 #define IS_SGE_TRM_SET(sge) (sge.sge_trm_lnk_drd_xcf_rsvd & 0x80000000) argument
|
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 192 acc_attr = &sc->sge.acc_attr_desc; in t4_sge_init() 197 dma_attr = &sc->sge.dma_attr_desc; in t4_sge_init() 214 acc_attr = &sc->sge.acc_attr_tx; in t4_sge_init() 218 dma_attr = &sc->sge.dma_attr_tx; in t4_sge_init() 235 sc->sge.rxb_params.dip = sc->dip; in t4_sge_init() 236 sc->sge.rxb_params.buf_size = rx_buf_size; in t4_sge_init() 238 acc_attr = &sc->sge.rxb_params.acc_attr_rx; in t4_sge_init() 242 dma_attr = &sc->sge.rxb_params.dma_attr_rx; in t4_sge_init() 261 sc->sge.rxbuf_cache = rxbuf_cache_create(&sc->sge.rxb_params); in t4_sge_init() 264 sc->sge.fl_starve_threshold = G_EGRTHRESHOLD(v) * 2 + 1; in t4_sge_init() [all …]
|
H A D | adapter.h | 364 struct sge { struct 459 struct sge sge; member 550 txq = &pi->adapter->sge.txq[pi->first_txq]; \ 553 rxq = &pi->adapter->sge.rxq[pi->first_rxq]; \ 556 ofld_txq = &pi->adapter->sge.ofld_txq[pi->first_ofld_txq]; \ 559 ofld_rxq = &pi->adapter->sge.ofld_rxq[pi->first_ofld_rxq]; \
|
H A D | t4_nexus.c | 263 struct sge *s; in t4_devo_attach() 478 s = &sc->sge; in t4_devo_attach() 690 struct sge *s; in t4_devo_detach() 717 s = &sc->sge; in t4_devo_detach() 1315 sc->sge.iq_start = val[0]; in get_params__post_init() 1316 sc->sge.eq_start = val[1]; in get_params__post_init()
|
H A D | t4_l2t.c | 205 V_SYNC_WR(sync) | V_TID_QID(sc->sge.fwq.abs_id))); in write_l2e()
|
H A D | t4_mac.c | 448 struct sge_txq *txq = &sc->sge.txq[pi->first_txq]; in t4_mc_tx()
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_send.c | 483 ibt_wr_ds_t *sge; in rdsv3_ib_xmit_populate_wr() local 513 sge = &wr->wr_sgl[ix++]; in rdsv3_ib_xmit_populate_wr() 514 sge->ds_va = sgl->ds_va + off; in rdsv3_ib_xmit_populate_wr() 516 sge->ds_len = assigned; in rdsv3_ib_xmit_populate_wr() 517 sge->ds_key = sgl->ds_key; in rdsv3_ib_xmit_populate_wr() 534 sge = &wr->wr_sgl[0]; in rdsv3_ib_xmit_populate_wr() 535 sge->ds_va = ic->i_send_hdrs_dma + (pos * sizeof (struct rdsv3_header)); in rdsv3_ib_xmit_populate_wr() 536 sge->ds_len = sizeof (struct rdsv3_header); in rdsv3_ib_xmit_populate_wr() 537 sge->ds_key = ic->i_mr->lkey; in rdsv3_ib_xmit_populate_wr() 999 ibt_wr_ds_t *sge; in rdsv3_ib_xmit_rdma() local [all …]
|
H A D | ib_recv.c | 388 ibt_wr_ds_t *sge = &ic->i_ack_sge; in rdsv3_ib_recv_init_ack() local 392 sge->ds_va = ic->i_ack_dma; in rdsv3_ib_recv_init_ack() 393 sge->ds_len = sizeof (struct rdsv3_header); in rdsv3_ib_recv_init_ack() 394 sge->ds_key = ic->i_mr->lkey; in rdsv3_ib_recv_init_ack() 396 wr->wr_sgl = sge; in rdsv3_ib_recv_init_ack()
|
/titanic_41/usr/src/uts/common/io/chxge/com/ |
H A D | ch_subr.c | 230 (void) t1_sge_intr_error_handler(adapter->sge); in fpga_slow_intr() 979 (void) t1_sge_intr_enable(adapter->sge); in t1_interrupts_enable() 1030 (void) t1_sge_intr_disable(adapter->sge); in t1_interrupts_disable() 1067 (void) t1_sge_intr_clear(adapter->sge); in t1_interrupts_clear() 1112 (void) t1_sge_intr_error_handler(adapter->sge); in asic_slow_intr() 1270 err = t1_sge_configure(adapter->sge, &adapter->params.sge); in t1_init_hw_modules() 1276 min(adapter->params.sge.large_buf_capacity, in t1_init_hw_modules() 1316 if (adapter->sge) in t1_free_sw_modules() 1317 (void) t1_sge_destroy(adapter->sge); in t1_free_sw_modules() 1382 adapter->sge = t1_sge_create(adapter, &adapter->params.sge); in t1_init_sw_modules() [all …]
|
H A D | common.h | 128 struct sge_params sge; member
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli4.c | 2413 emlxs_pkt_to_sgl(emlxs_port_t *port, fc_packet_t *pkt, ULP_SGE64 *sge, in emlxs_pkt_to_sgl() argument 2496 (uint8_t *)sge, sizeof (ULP_SGE64)); in emlxs_pkt_to_sgl() 2497 sge++; in emlxs_pkt_to_sgl() 2525 BE_SWAP32_BCOPY((uint8_t *)&stage_sge, (uint8_t *)sge, in emlxs_pkt_to_sgl() 2528 sge++; in emlxs_pkt_to_sgl() 2533 return (sge); in emlxs_pkt_to_sgl() 2545 ULP_SGE64 *sge; in emlxs_sli4_bde_setup() local 2558 sge = xrip->SGList.virt; in emlxs_sli4_bde_setup() 2576 sge = emlxs_pkt_to_sgl(port, pkt, sge, SGL_CMD, &cmd_cnt); in emlxs_sli4_bde_setup() 2577 if (! sge) { in emlxs_sli4_bde_setup() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_impl.c | 202 pMpi2SGESimple64_t sge; in mptsas_start_config_page_access() local 227 sge = (pMpi2SGESimple64_t)&request->PageBufferSGE; in mptsas_start_config_page_access() 260 ddi_put32(mpt->m_acc_req_frame_hdl, &sge->Address.Low, in mptsas_start_config_page_access() 262 ddi_put32(mpt->m_acc_req_frame_hdl, &sge->Address.High, in mptsas_start_config_page_access() 277 ddi_put32(mpt->m_acc_req_frame_hdl, &sge->FlagsLength, flagslength); in mptsas_start_config_page_access() 1224 pMpi2SGESimple64_t sge; in mptsas_uflash2() local 1241 sge = (pMpi2SGESimple64_t)(tcsge + 1); in mptsas_uflash2() 1250 ddi_put32(acc_hdl, &sge->FlagsLength, flagslength); in mptsas_uflash2() 1251 ddi_put32(acc_hdl, &sge->Address.Low, in mptsas_uflash2() 1253 ddi_put32(acc_hdl, &sge->Address.High, in mptsas_uflash2() [all …]
|
H A D | mptsas.c | 4328 pMpi2SGESimple64_t sge; in mptsas_sge_mainframe() local 4334 sge = (pMpi2SGESimple64_t)(&frame->SGL); in mptsas_sge_mainframe() 4337 &sge->Address.Low, dmap->addr.address64.Low); in mptsas_sge_mainframe() 4339 &sge->Address.High, dmap->addr.address64.High); in mptsas_sge_mainframe() 4340 ddi_put32(acc_hdl, &sge->FlagsLength, in mptsas_sge_mainframe() 4342 flags = ddi_get32(acc_hdl, &sge->FlagsLength); in mptsas_sge_mainframe() 4363 ddi_put32(acc_hdl, &sge->FlagsLength, flags); in mptsas_sge_mainframe() 4365 sge++; in mptsas_sge_mainframe() 4373 pMpi2SGESimple64_t sge; in mptsas_sge_chain() local 4443 sge = (pMpi2SGESimple64_t)(&frame->SGL); in mptsas_sge_chain() [all …]
|
/titanic_41/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 449 struct aac_sge *sge, *sge0; in aac_send_raw_srb() local 580 if ((sge = kmem_zalloc(sizeof (struct aac_sge) * acp->left_cookien, in aac_send_raw_srb() 585 acp->sgt = sge; in aac_send_raw_srb() 589 sge0++, sge++) in aac_send_raw_srb() 590 *sge = *sge0; in aac_send_raw_srb()
|
H A D | aac.c | 5164 struct aac_sge *sge; in aac_cmd_dma_alloc() local 5305 sge = &acp->sgt[0]; in aac_cmd_dma_alloc() 5306 sge->bcount = acp->cookie.dmac_size; in aac_cmd_dma_alloc() 5307 sge->addr.ad64.lo = AAC_LS32(acp->cookie.dmac_laddress); in aac_cmd_dma_alloc() 5308 sge->addr.ad64.hi = AAC_MS32(acp->cookie.dmac_laddress); in aac_cmd_dma_alloc() 5310 for (sge++; sge < &acp->sgt[acp->left_cookien]; sge++) { in aac_cmd_dma_alloc() 5312 sge->bcount = acp->cookie.dmac_size; in aac_cmd_dma_alloc() 5313 sge->addr.ad64.lo = AAC_LS32(acp->cookie.dmac_laddress); in aac_cmd_dma_alloc() 5314 sge->addr.ad64.hi = AAC_MS32(acp->cookie.dmac_laddress); in aac_cmd_dma_alloc() 5592 struct aac_sge *sge; in aac_cmd_fib_rawio() local [all …]
|
/titanic_41/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_msg.h | 2044 struct ulptx_sge_pair sge[]; member 2058 struct ulptx_isge sge[]; member
|
/titanic_41/usr/src/uts/common/ |
H A D | Makefile.files | 1893 CH_OBJS = ch.o glue.o pe.o sge.o
|
/titanic_41/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 954 struct fw_ri_dsge_pair sge[]; member 970 struct fw_ri_sge sge[]; member
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | 5710_hsi.h | 5269 struct fcoe_bd_ctx sge[3]; member
|