Searched refs:vsw_t (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 78 static int vsw_set_if_hw_addr(vsw_t *vswp); 79 static void vsw_unset_hw_addr(vsw_t *, vsw_port_t *, int); 80 static int vsw_maccl_open(vsw_t *vswp, vsw_port_t *port, int type); 81 static void vsw_maccl_close(vsw_t *vswp, vsw_port_t *port, int type); 82 static void vsw_mac_multicast_add_all(vsw_t *vswp, vsw_port_t *portp, int type); 83 static void vsw_mac_multicast_remove_all(vsw_t *vswp, 85 static void vsw_mac_add_vlans(vsw_t *vswp, mac_client_handle_t mch, 89 static void vsw_mac_set_mtu(vsw_t *vswp, uint32_t mtu); 90 static void vsw_maccl_set_bandwidth(vsw_t *vswp, vsw_port_t *port, int type, 92 static int vsw_notify_add(vsw_t *vswp); [all …]
|
H A D | vsw.c | 79 static int vsw_unattach(vsw_t *vswp); 80 static int vsw_get_md_physname(vsw_t *, md_t *, mde_cookie_t, char *); 81 static int vsw_get_md_smodes(vsw_t *, md_t *, mde_cookie_t, uint8_t *); 85 static int vsw_mdeg_register(vsw_t *vswp); 86 static void vsw_mdeg_unregister(vsw_t *vswp); 89 static int vsw_get_initial_md_properties(vsw_t *vswp, md_t *, mde_cookie_t); 90 static int vsw_read_mdprops(vsw_t *vswp); 96 static int vsw_port_read_props(vsw_port_t *portp, vsw_t *vswp, 98 static void vsw_read_pri_eth_types(vsw_t *vswp, md_t *mdp, 100 static void vsw_mtu_read(vsw_t *vswp, md_t *mdp, mde_cookie_t node, [all …]
|
H A D | vsw_switching.c | 74 int vsw_setup_switching_start(vsw_t *vswp); 75 void vsw_setup_switching_stop(vsw_t *vswp); 76 int vsw_setup_switching(vsw_t *); 77 void vsw_setup_switching_post_process(vsw_t *vswp); 78 void vsw_switch_frame_nop(vsw_t *vswp, mblk_t *mp, int caller, 80 static int vsw_setup_layer2(vsw_t *); 81 static int vsw_setup_layer3(vsw_t *); 84 static void vsw_switch_l2_frame_mac_client(vsw_t *vswp, mblk_t *mp, int caller, 86 static void vsw_switch_l2_frame(vsw_t *vswp, mblk_t *mp, int caller, 88 static void vsw_switch_l3_frame(vsw_t *vswp, mblk_t *mp, int caller, [all …]
|
H A D | vsw_hio.c | 88 void vsw_hio_init(vsw_t *vswp); 89 void vsw_hio_cleanup(vsw_t *vswp); 90 void vsw_hio_start(vsw_t *vswp, vsw_ldc_t *ldcp); 91 void vsw_hio_stop(vsw_t *vswp, vsw_ldc_t *ldcp); 92 void vsw_process_dds_msg(vsw_t *vswp, vsw_ldc_t *ldcp, void *msg); 93 void vsw_hio_start_ports(vsw_t *vswp); 97 static void vsw_hio_free_all_shares(vsw_t *vswp, boolean_t reboot); 98 static vsw_share_t *vsw_hio_alloc_share(vsw_t *vswp, vsw_ldc_t *ldcp); 100 static vsw_share_t *vsw_hio_find_free_share(vsw_t *vswp); 101 static vsw_share_t *vsw_hio_find_vshare_ldcid(vsw_t *vswp, uint64_t ldc_id); [all …]
|
H A D | vsw_ldc.c | 82 static int vsw_plist_del_node(vsw_t *, vsw_port_t *port); 83 void vsw_detach_ports(vsw_t *vswp); 84 int vsw_port_add(vsw_t *vswp, md_t *mdp, mde_cookie_t *node); 86 int vsw_port_detach(vsw_t *vswp, int p_instance); 89 vsw_port_t *vsw_lookup_port(vsw_t *vswp, int p_instance); 92 void vsw_reset_ports(vsw_t *vswp); 94 void vsw_physlink_update_ports(vsw_t *vswp); 151 static void vsw_set_lane_attr(vsw_t *, lane_t *); 161 static void vsw_save_lmacaddr(vsw_t *vswp, uint64_t macaddr); 175 extern int vsw_set_hw(vsw_t *, vsw_port_t *, int); [all …]
|
H A D | vsw_rxdring.c | 113 vsw_t *vswp = ldcp->ldc_vswp; in vsw_create_rx_dring_info() 172 vsw_t *vswp = ldcp->ldc_vswp; in vsw_create_rx_dring() 257 vsw_t *vswp = ldcp->ldc_vswp; in vsw_setup_rx_dring() 367 vsw_t *vswp = ldcp->ldc_vswp; in vsw_destroy_rx_dring() 550 vsw_t *vswp = ldcp->ldc_vswp; in vsw_ldc_rcv_worker() 613 vsw_t *vswp = ldcp->ldc_vswp; in vsw_ldc_rcv_shm() 832 vsw_t *vswp = ldcp->ldc_vswp; in vsw_stop_rcv_thread() 877 vsw_t *vswp = ldcp->ldc_vswp; in vsw_dringsend_shm() 1056 vsw_t *vswp = ldcp->ldc_vswp; in vsw_process_dringdata_shm() 1090 vsw_t *vswp = ldcp->ldc_vswp; in vsw_process_dringdata_info_shm() [all …]
|
H A D | vsw_txdring.c | 72 static int vsw_init_multipools(vsw_ldc_t *ldcp, vsw_t *vswp); 112 vsw_t *vswp = ldcp->ldc_vswp; in vsw_create_tx_dring_info() 151 vsw_t *vswp = ldcp->ldc_vswp; in vsw_create_tx_dring() 228 vsw_t *vswp = ldcp->ldc_vswp; in vsw_setup_tx_dring() 454 vsw_t *vswp = ldcp->ldc_vswp; in vsw_map_rx_dring() 487 vsw_t *vswp = ldcp->ldc_vswp; in vsw_unmap_rx_dring() 516 vsw_init_multipools(vsw_ldc_t *ldcp, vsw_t *vswp) in vsw_init_multipools() 632 vsw_t *vswp = ldcp->ldc_vswp; in vsw_send_msg() 706 vsw_t *vswp = ldcp->ldc_vswp; in vsw_ldc_msg_worker() 759 vsw_t *vswp = ldcp->ldc_vswp; in vsw_stop_msg_thread() [all …]
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 204 } vsw_t; typedef 219 extern void vswdebug(vsw_t *vswp, const char *fmt, ...);
|