Home
last modified time | relevance | path

Searched refs:VSW_VNETPORT (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_phys.c217 rv = vsw_mac_client_init(vswp, port, VSW_VNETPORT); in vsw_set_addrs()
391 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_mac_multicast_add_all()
433 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_mac_multicast_remove_all()
462 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_update_bandwidth()
542 if (type == VSW_VNETPORT) { in vsw_maccl_open()
558 if (type != VSW_VNETPORT || !port->p_hio_enabled) in vsw_maccl_open()
586 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_maccl_close()
606 vsw_mac_client_cleanup(vswp, port, VSW_VNETPORT); in vsw_mac_cleanup_ports()
630 ASSERT((type == VSW_LOCALDEV) || (type == VSW_VNETPORT)); in vsw_set_hw()
635 if (type == VSW_VNETPORT) { in vsw_set_hw()
[all …]
H A Dvsw_switching.c432 ASSERT((caller == VSW_VNETPORT) || (caller == VSW_LOCALDEV)); in vsw_switch_l2_frame_mac_client()
551 if (caller == VSW_VNETPORT) { in vsw_switch_l2_frame()
615 if ((caller != VSW_LOCALDEV) && (caller != VSW_VNETPORT)) { in vsw_switch_l3_frame()
665 if (caller == VSW_VNETPORT) { in vsw_switch_l3_frame()
725 ((caller == VSW_LOCALDEV) || (caller == VSW_VNETPORT))) { in vsw_forward_all()
739 if (caller == VSW_VNETPORT) in vsw_forward_all()
746 if ((caller == VSW_PHYSDEV) || (caller == VSW_VNETPORT)) { in vsw_forward_all()
813 ((caller == VSW_VNETPORT) || (caller == VSW_LOCALDEV))) { in vsw_forward_grp()
838 if ((caller == VSW_VNETPORT) && in vsw_forward_grp()
852 if (tpp->d_type == VSW_VNETPORT) { in vsw_forward_grp()
[all …]
H A Dvsw_ldc.c372 rv = vsw_mac_client_init(vswp, port, VSW_VNETPORT); in vsw_port_attach()
381 vsw_create_vlans(port, VSW_VNETPORT); in vsw_port_attach()
453 vsw_mac_client_cleanup(vswp, port, VSW_VNETPORT); in vsw_port_detach()
457 vsw_destroy_vlans(port, VSW_VNETPORT); in vsw_port_detach()
488 vsw_mac_client_cleanup(vswp, port, VSW_VNETPORT); in vsw_detach_ports()
492 vsw_destroy_vlans(port, VSW_VNETPORT); in vsw_detach_ports()
3501 (void) vsw_vlan_frame_pretag(ldcp->ldc_port, VSW_VNETPORT, mp); in vsw_process_pkt_data()
3504 vswp->vsw_switch_frame(vswp, mp, VSW_VNETPORT, ldcp->ldc_port, NULL); in vsw_process_pkt_data()
3604 (void) vsw_vlan_frame_pretag(ldcp->ldc_port, VSW_VNETPORT, mp); in vsw_process_data_ibnd_pkt()
3607 vswp->vsw_switch_frame(vswp, mp, VSW_VNETPORT, in vsw_process_data_ibnd_pkt()
[all …]
H A Dvsw.c1838 } else if (type == VSW_VNETPORT) { in vsw_vlan_read_ids()
2547 vsw_vlan_read_ids(portp, VSW_VNETPORT, mdp, *node, &portp->pvid, in vsw_port_read_props()
2643 vsw_vlan_read_ids(portp, VSW_VNETPORT, curr_mdp, curr_mdex, &pvid, in vsw_port_update()
2679 vsw_vlan_remove_ids(portp, VSW_VNETPORT); in vsw_port_update()
2685 vsw_vlan_add_ids(portp, VSW_VNETPORT); in vsw_port_update()
2696 vsw_update_bandwidth(NULL, portp, VSW_VNETPORT, maxbw); in vsw_port_update()
H A Dvsw_txdring.c1259 VSW_VNETPORT, mp); in vsw_process_dringdata()
1337 vswp->vsw_switch_frame(vswp, bp, VSW_VNETPORT, in vsw_process_dringdata()
H A Dvsw_rxdring.c100 (vswp)->vsw_switch_frame((vswp), (bp), VSW_VNETPORT, \
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw.h59 #define VSW_VNETPORT 2 /* port connected to vnet (over ldc) */ macro