Searched refs:num_descriptors (Results 1 – 10 of 10) sorted by relevance
214 ((i) = (((i) + 1) & ((dp)->num_descriptors - 1)))218 ((i) = (((i) - 1) & ((dp)->num_descriptors - 1)))227 (((i) >= 0) && ((i) < (dp)->num_descriptors))257 uint32_t num_descriptors; /* # of descriptors */ member
189 uint32_t num_descriptors; /* # of desc in the ring */ member
133 mp->num_descriptors = dp->num_descriptors; in vsw_create_rx_dring_info()200 dp->num_descriptors = vsw_num_descriptors; in vsw_create_rx_dring()211 dp->rxdp_to_vmp = kmem_zalloc(dp->num_descriptors * sizeof (uintptr_t), in vsw_create_rx_dring()344 for (i = 0; i < dp->num_descriptors; i++) { in vsw_setup_rx_dring()425 dp->num_descriptors * sizeof (uintptr_t)); in vsw_destroy_rx_dring()485 for (i = 0; i < dp->num_descriptors; i++) { in vsw_map_tx_dring()
131 mp->num_descriptors = dp->num_descriptors; in vsw_create_tx_dring_info()182 dp->num_descriptors = vsw_num_descriptors; in vsw_create_tx_dring()904 (dp->last_ack_recv + 1) % dp->num_descriptors; in vsw_dringsend()992 len = dp->num_descriptors; in vsw_reclaim_dring()1076 len = dp->num_descriptors; in vsw_process_dringdata()1407 len = dp->num_descriptors; in vsw_process_dringdata()
3629 len = dp->num_descriptors; in vsw_process_data_ibnd_pkt()3675 dp->last_ack_recv = (idx + 1) % dp->num_descriptors; in vsw_process_data_ibnd_pkt()4437 dp->num_descriptors = vsw_num_descriptors; in vsw_create_privring()4512 if ((dring_pkt->num_descriptors == 0) || in vsw_map_dring_cmn()4522 dp->num_descriptors = dring_pkt->num_descriptors; in vsw_map_dring_cmn()4535 dp->dring_ncookies, dp->num_descriptors, dp->descriptor_size, in vsw_map_dring_cmn()4886 drp->num_descriptors, drp->descriptor_size); in display_lane()
366 num_desc = msg->num_descriptors; in vgen_map_tx_dring()
363 num_desc = msg->num_descriptors; in vgen_map_rx_dring()
4584 if (reg_msg->num_descriptors > INT32_MAX) { in vd_process_dring_reg_msg()4614 reg_msg->ncookies, reg_msg->num_descriptors, in vd_process_dring_reg_msg()4647 vd->dring_len = reg_msg->num_descriptors; in vd_process_dring_reg_msg()
5741 msg->num_descriptors = ldcp->local_hparams.num_desc; in vgen_init_dring_reg_msg()
1851 pkt.num_descriptors = vdc->dring_len; in vdc_init_dring_negotiate()