Home
last modified time | relevance | path

Searched refs:ssbdp (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c58 sw_tx_sbd_t *ssbdp; in nge_tx_recycle_all() local
70 DMA_ZERO(ssbdp->desc); in nge_tx_recycle_all()
72 if (ssbdp->mp != NULL) { in nge_tx_recycle_all()
78 freemsg(ssbdp->mp); in nge_tx_recycle_all()
81 NGE_TXSWD_RECYCLE(ssbdp); in nge_tx_recycle_all()
160 sw_tx_sbd_t *ssbdp; in nge_tx_recycle() local
218 DMA_ZERO(ssbdp->desc); in nge_tx_recycle()
219 if (ssbdp->mp != NULL) { in nge_tx_recycle()
220 ssbdp->mp->b_next = mp; in nge_tx_recycle()
221 mp = ssbdp->mp; in nge_tx_recycle()
[all …]
H A Dnge_main.c462 sw_tx_sbd_t *ssbdp; in nge_fini_send_ring() local
465 ssbdp = srp->sw_sbds; in nge_fini_send_ring()
483 kmem_free(ssbdp, srp->desc.nslots*sizeof (*ssbdp)); in nge_fini_send_ring()
501 sw_tx_sbd_t *ssbdp; in nge_init_send_ring() local
518 ssbdp = kmem_zalloc(nslots*sizeof (*ssbdp), KM_SLEEP); in nge_init_send_ring()
519 srp->sw_sbds = ssbdp; in nge_init_send_ring()
528 nge_slice_chunk(&ssbdp->desc, &desc, 1, in nge_init_send_ring()
530 nge_slice_chunk(&ssbdp->pbuf, &pbuf, 1, in nge_init_send_ring()
572 sw_tx_sbd_t *ssbdp; in nge_reinit_send_ring() local
600 ssbdp = &srp->sw_sbds[slot]; in nge_reinit_send_ring()
[all …]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_send.c98 sw_sbd_t *ssbdp; in bge_recycle_ring() local
120 ssbdp = &srp->sw_sbds[slot]; in bge_recycle_ring()
121 ASSERT(ssbdp->pbuf != NULL); in bge_recycle_ring()
122 buf_item = ssbdp->pbuf; in bge_recycle_ring()
129 ssbdp->pbuf = NULL; in bge_recycle_ring()
370 sw_sbd_t *ssbdp; in bge_send_serial() local
432 ssbdp = &srp->sw_sbds[tx_next]; in bge_send_serial()
433 ASSERT(ssbdp->pbuf == NULL); in bge_send_serial()
434 ssbdp->pbuf = txbuf_item; in bge_send_serial()
439 hw_sbd_p = DMA_VPTR(ssbdp->desc); in bge_send_serial()
[all …]
H A Dbge_main2.c185 sw_sbd_t *ssbdp; in bge_reinit_send_ring() local
240 ssbdp = srp->sw_sbds; in bge_reinit_send_ring()
241 for (slot = 0; slot < srp->desc.nslots; ++ssbdp, ++slot) in bge_reinit_send_ring()
242 ssbdp->pbuf = NULL; in bge_reinit_send_ring()
2357 sw_sbd_t *ssbdp; local
2405 ssbdp = kmem_zalloc(nslots*sizeof (*ssbdp), KM_SLEEP);
2410 srp->sw_sbds = ssbdp;
2424 for (slot = 0; slot < nslots; ++ssbdp, ++slot) {
2425 bge_slice_chunk(&ssbdp->desc, &desc, 1,
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c308 sw_sbd_t *ssbdp; in rge_reinit_send_ring() local
316 ssbdp = rgep->sw_sbds; in rge_reinit_send_ring()
326 ssbdp++; in rge_reinit_send_ring()
396 sw_sbd_t *ssbdp; in rge_fini_send_ring() local
399 ssbdp = rgep->sw_sbds; in rge_fini_send_ring()
402 ssbdp++; in rge_fini_send_ring()
472 sw_sbd_t *ssbdp; in rge_init_send_ring() local
480 ssbdp = kmem_zalloc(RGE_SEND_SLOTS*sizeof (*ssbdp), KM_SLEEP); in rge_init_send_ring()
481 rgep->sw_sbds = ssbdp; in rge_init_send_ring()
497 pbuf = &ssbdp->pbuf; in rge_init_send_ring()
[all …]
H A Drge_rxtx.c483 sw_sbd_t *ssbdp; in rge_send_copy() local
506 ssbdp = &rgep->sw_sbds[slot]; in rge_send_copy()
517 txb = DMA_VPTR(ssbdp->pbuf); in rge_send_copy()
558 DMA_SYNC(ssbdp->pbuf, DDI_DMA_SYNC_FORDEV); in rge_send_copy()
564 ASSERT(hw_sbd_p == ssbdp->desc.mem_va); in rge_send_copy()
581 ethhdr = (struct ether_header *)(DMA_VPTR(ssbdp->pbuf)); in rge_send_copy()
587 ((uint8_t *)DMA_VPTR(ssbdp->pbuf) + in rge_send_copy()