Home
last modified time | relevance | path

Searched refs:hw_sbd_p (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/nge/
H A Dnge_tx.c161 void *hw_sbd_p; in nge_tx_recycle() local
211 hw_sbd_p = DMA_VPTR(ssbdp->desc); in nge_tx_recycle()
215 stflg = ngep->desc_attr.txd_check(hw_sbd_p); in nge_tx_recycle()
361 void *hw_sbd_p; in nge_send_copy() local
402 hw_sbd_p = DMA_VPTR(ssbdp->desc); in nge_send_copy()
404 ngep->desc_attr.txd_fill(hw_sbd_p, &ssbdp->pbuf.cookie, totlen, in nge_send_copy()
442 void *hw_sbd_p; in nge_send_mapped() local
545 hw_sbd_p = DMA_VPTR(srp->sw_sbds[j].desc); in nge_send_mapped()
546 ngep->desc_attr.txd_fill(hw_sbd_p, cookie + i, in nge_send_mapped()
552 hw_sbd_p = DMA_VPTR(srp->sw_sbds[j].desc); in nge_send_mapped()
[all …]
/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_send.c372 bge_sbd_t *hw_sbd_p; in bge_send_serial() local
439 hw_sbd_p = DMA_VPTR(ssbdp->desc); in bge_send_serial()
440 hw_sbd_p->flags = 0; in bge_send_serial()
441 hw_sbd_p->host_buf_addr = txbuf->buf.cookie.dmac_laddress; in bge_send_serial()
442 hw_sbd_p->len = txbuf->copy_len; in bge_send_serial()
444 hw_sbd_p->vlan_tci = pktp->vlan_tci; in bge_send_serial()
445 hw_sbd_p->host_buf_addr += VLAN_TAGSZ; in bge_send_serial()
446 hw_sbd_p->flags |= SBD_FLAG_VLAN_TAG; in bge_send_serial()
449 hw_sbd_p->flags |= SBD_FLAG_IP_CKSUM; in bge_send_serial()
451 hw_sbd_p->flags |= SBD_FLAG_TCP_UDP_CKSUM; in bge_send_serial()
[all …]
/titanic_41/usr/src/uts/common/io/rge/
H A Drge_rxtx.c422 rge_bd_t *hw_sbd_p; in rge_send_recycle() local
435 hw_sbd_p = &rgep->tx_ring[tc_tail]; in rge_send_recycle()
437 if (hw_sbd_p->flags_len & in rge_send_recycle()
451 } while (hw_sbd_p->flags_len & RGE_BSWAP_32(BD_FLAG_HW_OWN)); in rge_send_recycle()
482 rge_bd_t *hw_sbd_p; in rge_send_copy() local
563 hw_sbd_p = &rgep->tx_ring[slot]; in rge_send_copy()
564 ASSERT(hw_sbd_p == ssbdp->desc.mem_va); in rge_send_copy()
565 hw_sbd_p->flags_len = RGE_BSWAP_32(totlen & SBD_LEN_MASK); in rge_send_copy()
568 hw_sbd_p->vlan_tag = RGE_BSWAP_32(tci); in rge_send_copy()
569 hw_sbd_p->vlan_tag |= RGE_BSWAP_32(SBD_VLAN_PKT); in rge_send_copy()
[all …]