Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4v/io/
H A Dldc_shm.c1688 ldc_dring_t *dringp; in ldc_mem_dring_create() local
1713 dringp = kmem_zalloc(sizeof (ldc_dring_t), KM_SLEEP); in ldc_mem_dring_create()
1716 dringp->length = len; in ldc_mem_dring_create()
1717 dringp->dsize = dsize; in ldc_mem_dring_create()
1720 dringp->size = (size & MMU_PAGEMASK); in ldc_mem_dring_create()
1722 dringp->size += MMU_PAGESIZE; in ldc_mem_dring_create()
1724 dringp->status = LDC_UNBOUND; in ldc_mem_dring_create()
1727 dringp->base = kmem_zalloc(dringp->size, KM_SLEEP); in ldc_mem_dring_create()
1730 mutex_init(&dringp->lock, NULL, MUTEX_DRIVER, NULL); in ldc_mem_dring_create()
1734 dringp->next = ldcssp->dring_list; in ldc_mem_dring_create()
[all …]
H A Dvsw_txdring.c158 ldcp->lane_out.dringp = dp; in vsw_create_tx_dring()
383 dp = lp->dringp; in vsw_destroy_tx_dring()
441 lp->dringp = NULL; in vsw_destroy_tx_dring()
463 ldcp->lane_in.dringp = dp; in vsw_map_rx_dring()
491 if ((dp = lp->dringp) == NULL) { in vsw_unmap_rx_dring()
512 lp->dringp = NULL; in vsw_unmap_rx_dring()
811 if ((dp = ldcp->lane_out.dringp) == NULL) { in vsw_dringsend()
944 vsw_dring_find_free_desc(dring_info_t *dringp, in vsw_dring_find_free_desc() argument
953 ASSERT(dringp->priv_addr != NULL); in vsw_dring_find_free_desc()
956 __func__, dringp, dringp->end_idx); in vsw_dring_find_free_desc()
[all …]
H A Dvsw_rxdring.c178 ldcp->lane_out.dringp = dp; in vsw_create_rx_dring()
371 dp = lp->dringp; in vsw_destroy_rx_dring()
433 lp->dringp = NULL; in vsw_destroy_rx_dring()
461 ldcp->lane_in.dringp = dp; in vsw_map_tx_dring()
510 if ((dp = lp->dringp) == NULL) { in vsw_unmap_tx_dring()
537 lp->dringp = NULL; in vsw_unmap_tx_dring()
615 dring_info_t *dp = lp->dringp; in vsw_ldc_rcv_shm()
685 end_ix = lp->dringp->next_rxi; in vsw_ldc_rcv_shm()
690 msgp->dring_ident = ldcp->lane_in.dringp->ident; in vsw_ldc_rcv_shm()
727 dring_info_t *dp = ldcp->lane_out.dringp; in vsw_receive_packet()
[all …]
H A Dvsw_ldc.c3007 dp = ldcp->lane_out.dringp; in vsw_process_dring_reg_ack()
3054 dp = lane_in->dringp; in vsw_process_ctrl_dring_reg_pkt()
3624 if ((dp = ldcp->lane_out.dringp) == NULL) { in vsw_process_data_ibnd_pkt()
3699 if ((dp = ldcp->lane_out.dringp) == NULL) { in vsw_process_data_ibnd_pkt()
4070 if (((dp = ldcp->lane_out.dringp) != NULL) && in vsw_ldcsend()
4136 if ((dp = ldcp->lane_out.dringp) == NULL) { in vsw_descrsend()
4313 VNET_DRING_REG_EXT_MSG_SIZE(lp->dringp->data_ncookies); in vsw_send_dring_info()
4431 ldcp->lane_out.dringp = dp; in vsw_create_privring()
4876 dring_info_t *drp = lp->dringp; in display_lane()
4882 cmn_err(CE_CONT, "dringp 0x%lx\n", (uint64_t)lp->dringp); in display_lane()
[all …]
H A Dldc.c466 ldc_dring_t *tmp_dringp, *dringp; in _fini() local
480 dringp = ldcssp->dring_list; in _fini()
481 while (dringp != NULL) { in _fini()
482 tmp_dringp = dringp->next; in _fini()
484 rv = ldc_mem_dring_info((ldc_dring_handle_t)dringp, &minfo); in _fini()
488 (ldc_dring_handle_t)dringp); in _fini()
492 (ldc_dring_handle_t)dringp); in _fini()
496 (void) ldc_mem_dring_destroy((ldc_dring_handle_t)dringp); in _fini()
497 dringp = tmp_dringp; in _fini()
/titanic_41/usr/src/uts/sun4v/sys/
H A Dvsw_ldc.h304 dring_info_t *dringp; /* List of drings for this lane */ member