/titanic_50/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 277 ldc_inject_error(ldc_chan_t *ldcp, uint64_t error) in ldc_inject_error() 359 #define TRACE_RXDQ_LENGTH(ldcp) \ argument 366 #define TRACE_RXHVQ_LENGTH(ldcp, head, tail) \ argument 374 #define TRACE_RXDQ_COPY(ldcp, bytes) \ argument 465 ldc_chan_t *tmp_ldcp, *ldcp; in _fini() local 583 i_ldc_txq_reconf(ldc_chan_t *ldcp) in i_ldc_txq_reconf() 614 i_ldc_rxq_reconf(ldc_chan_t *ldcp, boolean_t force_reset) in i_ldc_rxq_reconf() 650 i_ldc_rxq_drain(ldc_chan_t *ldcp) in i_ldc_rxq_drain() 693 i_ldc_reset_state(ldc_chan_t *ldcp) in i_ldc_reset_state() 726 i_ldc_reset(ldc_chan_t *ldcp, boolean_t force_reset) in i_ldc_reset() [all …]
|
H A D | vsw_ldc.c | 240 #define LDC_ENTER_LOCK(ldcp) \ argument 244 #define LDC_EXIT_LOCK(ldcp) \ argument 249 #define VSW_VER_EQ(ldcp, major, minor) \ argument 253 #define VSW_VER_LT(ldcp, major, minor) \ argument 258 #define VSW_VER_GTEQ(ldcp, major, minor) \ argument 263 #define VSW_VER_LTEQ(ldcp, major, minor) \ argument 566 vsw_ldc_t *ldcp = NULL; in vsw_ldc_attach() local 720 vsw_ldc_detach(vsw_ldc_t *ldcp) in vsw_ldc_detach() 801 vsw_ldc_init(vsw_ldc_t *ldcp) in vsw_ldc_init() 883 vsw_ldc_uninit(vsw_ldc_t *ldcp) in vsw_ldc_uninit() [all …]
|
H A D | vnet_txdring.c | 126 vgen_create_tx_dring(vgen_ldc_t *ldcp) in vgen_create_tx_dring() 295 vgen_destroy_tx_dring(vgen_ldc_t *ldcp) in vgen_destroy_tx_dring() 351 vgen_map_rx_dring(vgen_ldc_t *ldcp, void *pkt) in vgen_map_rx_dring() 444 vgen_unmap_rx_dring(vgen_ldc_t *ldcp) in vgen_unmap_rx_dring() 480 vgen_init_multipools(vgen_ldc_t *ldcp) in vgen_init_multipools() 589 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg; in vgen_dringsend() local 745 vgen_poll_rcv(vgen_ldc_t *ldcp, int bytes_to_pickup) in vgen_poll_rcv() 822 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg1; in vgen_handle_dringdata() local 856 vgen_handle_dringdata_info(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp) in vgen_handle_dringdata_info() 959 vgen_process_dringdata(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp) in vgen_process_dringdata() [all …]
|
H A D | vsw_rxdring.c | 97 #define VSW_SWITCH_FRAMES(vswp, ldcp, bp, bpt, count, total_count) \ argument 107 vsw_create_rx_dring_info(vsw_ldc_t *ldcp) in vsw_create_rx_dring_info() 170 vsw_create_rx_dring(vsw_ldc_t *ldcp) in vsw_create_rx_dring() 248 vsw_setup_rx_dring(vsw_ldc_t *ldcp, dring_info_t *dp) in vsw_setup_rx_dring() 365 vsw_destroy_rx_dring(vsw_ldc_t *ldcp) in vsw_destroy_rx_dring() 441 vsw_map_tx_dring(vsw_ldc_t *ldcp, void *pkt) in vsw_map_tx_dring() 505 vsw_unmap_tx_dring(vsw_ldc_t *ldcp) in vsw_unmap_tx_dring() 549 vsw_ldc_t *ldcp = (vsw_ldc_t *)arg; in vsw_ldc_rcv_worker() local 601 vsw_ldc_rcv_shm(vsw_ldc_t *ldcp) in vsw_ldc_rcv_shm() 715 vsw_receive_packet(vsw_ldc_t *ldcp, mblk_t **bp) in vsw_receive_packet() [all …]
|
H A D | vnet_gen.c | 238 #define LDC_LOCK(ldcp) \ argument 244 #define LDC_UNLOCK(ldcp) \ argument 251 #define VGEN_VER_EQ(ldcp, major, minor) \ argument 255 #define VGEN_VER_LT(ldcp, major, minor) \ argument 260 #define VGEN_VER_GTEQ(ldcp, major, minor) \ argument 465 vgen_inject_error(vgen_ldc_t *ldcp, int error) in vgen_inject_error() 781 vgen_ldc_t *ldcp; in vgen_portsend() local 854 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg; in vgen_ldcsend() local 896 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg; in vgen_ldcsend_pkt() local 997 vgen_ldc_t *ldcp; in vgen_multicst() local [all …]
|
H A D | vnet_rxdring.c | 114 vgen_create_rx_dring(vgen_ldc_t *ldcp) in vgen_create_rx_dring() 274 vgen_destroy_rx_dring(vgen_ldc_t *ldcp) in vgen_destroy_rx_dring() 352 vgen_map_tx_dring(vgen_ldc_t *ldcp, void *pkt) in vgen_map_tx_dring() 464 vgen_unmap_tx_dring(vgen_ldc_t *ldcp) in vgen_unmap_tx_dring() 505 vgen_map_data(vgen_ldc_t *ldcp, void *pkt) in vgen_map_data() 591 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg; in vgen_dringsend_shm() local 770 vgen_ldc_t *ldcp = (vgen_ldc_t *)arg1; in vgen_handle_dringdata_shm() local 812 vgen_handle_dringdata_info_shm(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp) in vgen_handle_dringdata_info_shm() 868 vgen_intr_rcv_shm(vgen_ldc_t *ldcp) in vgen_intr_rcv_shm() 961 vgen_poll_rcv_shm(vgen_ldc_t *ldcp, int bytes_to_pickup) in vgen_poll_rcv_shm() [all …]
|
H A D | vsw_txdring.c | 101 #define SND_DRING_NACK(ldcp, pkt) \ argument 108 vsw_create_tx_dring_info(vsw_ldc_t *ldcp) in vsw_create_tx_dring_info() 149 vsw_create_tx_dring(vsw_ldc_t *ldcp) in vsw_create_tx_dring() 224 vsw_setup_tx_dring(vsw_ldc_t *ldcp, dring_info_t *dp) in vsw_setup_tx_dring() 376 vsw_destroy_tx_dring(vsw_ldc_t *ldcp) in vsw_destroy_tx_dring() 449 vsw_map_rx_dring(vsw_ldc_t *ldcp, void *pkt) in vsw_map_rx_dring() 484 vsw_unmap_rx_dring(vsw_ldc_t *ldcp) in vsw_unmap_rx_dring() 516 vsw_init_multipools(vsw_ldc_t *ldcp, vsw_t *vswp) in vsw_init_multipools() 627 vsw_send_msg(vsw_ldc_t *ldcp, void *msgp, int size, boolean_t handle_reset) in vsw_send_msg() 705 vsw_ldc_t *ldcp = (vsw_ldc_t *)arg; in vsw_ldc_msg_worker() local [all …]
|
H A D | ldc_shm.c | 194 ldc_chan_t *ldcp; in ldc_mem_alloc_handle() local 254 ldc_chan_t *ldcp; in ldc_mem_free_handle() local 349 ldc_chan_t *ldcp; in i_ldc_mem_bind_handle() local 674 ldc_chan_t *ldcp; in ldc_mem_nextcookie() local 730 ldc_chan_t *ldcp; in ldc_mem_unbind_handle() local 865 ldc_chan_t *ldcp; in ldc_mem_copy() local 1091 ldc_chan_t *ldcp; in ldc_mem_rdwr_cookie() local 1262 ldc_chan_t *ldcp; in i_ldc_mem_map() local 1522 ldc_chan_t *ldcp; in ldc_mem_unmap() local 1591 ldc_chan_t *ldcp; in i_ldc_mem_acquire_release() local [all …]
|
H A D | vsw_hio.c | 191 vsw_hio_alloc_share(vsw_t *vswp, vsw_ldc_t *ldcp) in vsw_hio_alloc_share() 504 vsw_hio_start(vsw_t *vswp, vsw_ldc_t *ldcp) in vsw_hio_start() 559 vsw_hio_stop(vsw_t *vswp, vsw_ldc_t *ldcp) in vsw_hio_stop() 587 vsw_ldc_t *ldcp; in vsw_hio_send_delshare_msg() local 623 vsw_send_dds_msg(vsw_ldc_t *ldcp, uint8_t dds_subclass, uint64_t in vsw_send_dds_msg() 650 vsw_process_dds_msg(vsw_t *vswp, vsw_ldc_t *ldcp, void *msg) in vsw_process_dds_msg() 744 vsw_send_dds_resp_msg(vsw_ldc_t *ldcp, vio_dds_msg_t *dmsg, int ack) in vsw_send_dds_resp_msg()
|
H A D | vsw.c | 411 #define LDC_ENTER_LOCK(ldcp) \ argument 415 #define LDC_EXIT_LOCK(ldcp) \ argument
|
/titanic_50/usr/src/cmd/mdb/sun4v/modules/ldc/ |
H A D | ldc.c | 155 ldc_chan_t ldcp; in ldcinfo() local 264 ldc_chan_t ldcp; in ldc_walk_step() local
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vnet_gen.h | 68 #define LDC_TO_VNET(ldcp) ((ldcp)->portp->vgenp->vnetp) argument 69 #define LDC_TO_VGEN(ldcp) ((ldcp)->portp->vgenp) argument 165 #define NEXTTBUF(ldcp, tbufp) (((tbufp) + 1) == (ldcp)->tbufendp \ argument 169 #define INCR_RXI(i, ldcp) \ argument 173 #define DECR_RXI(i, ldcp) \ argument 177 #define INCR_TXI(i, ldcp) \ argument 181 #define DECR_TXI(i, ldcp) \ argument 185 #define CHECK_RXI(i, ldcp) \ argument 189 #define CHECK_TXI(i, ldcp) \ argument 392 vgen_ldc_t *ldcp; /* list of ldcs for this port */ member
|
H A D | vsw_ldc.h | 405 vsw_ldc_t *ldcp; /* ldc for this port */ member 452 vsw_ldc_t *ldcp; member 470 vsw_ldc_t *ldcp; member
|
H A D | ldc_impl.h | 381 ldc_chan_t *ldcp; /* Pointer to channel struct */ member 399 ldc_chan_t *ldcp; /* Pointer to bound channel */ member
|