Home
last modified time | relevance | path

Searched refs:vnetp (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/sun4v/io/
H A Dvnet.c79 static void vnet_force_link_state(vnet_t *vnetp, queue_t *q, mblk_t *mp);
101 static int vnet_unattach(vnet_t *vnetp);
102 static void vnet_ring_grp_init(vnet_t *vnetp);
103 static void vnet_ring_grp_uninit(vnet_t *vnetp);
105 static int vnet_read_mac_address(vnet_t *vnetp);
108 static int vnet_bind_hwrings(vnet_t *vnetp);
109 static void vnet_unbind_hwrings(vnet_t *vnetp);
118 static void vnet_fdb_create(vnet_t *vnetp);
119 static void vnet_fdb_destroy(vnet_t *vnetp);
120 static vnet_res_t *vnet_fdbe_find(vnet_t *vnetp, struct ether_addr *addrp);
[all …]
H A Dvnet_dds.c86 int vdds_init(vnet_t *vnetp);
87 void vdds_cleanup(vnet_t *vnetp);
88 void vdds_process_dds_msg(vnet_t *vnetp, vio_dds_msg_t *dmsg);
90 void vdds_cleanup_hio(vnet_t *vnetp);
110 static int vdds_send_dds_resp_msg(vnet_t *vnetp, vio_dds_msg_t *dmsg, int ack);
111 static int vdds_send_dds_rel_msg(vnet_t *vnetp);
115 extern int vnet_send_dds_msg(vnet_t *vnetp, void *dmsg);
116 extern int vnet_hio_mac_init(vnet_t *vnetp, char *ifname);
117 extern void vnet_hio_mac_cleanup(vnet_t *vnetp);
146 vdds->vnetp->instance, fname); in debug_printf()
[all …]
H A Dvnet_gen.c71 int vgen_init(void *vnetp, uint64_t regprop, dev_info_t *vnetdip,
195 static boolean_t vgen_frame_lookup_vid(vnet_t *vnetp, struct ether_header *ehp,
210 extern void vnet_dds_cleanup_hio(vnet_t *vnetp);
211 extern int vnet_mtu_update(vnet_t *vnetp, uint32_t mtu);
212 extern void vnet_link_update(vnet_t *vnetp, link_state_t link_state);
493 vgen_init(void *vnetp, uint64_t regprop, dev_info_t *vnetdip, in vgen_init() argument
501 if ((vnetp == NULL) || (vnetdip == NULL)) in vgen_init()
510 vgenp->vnetp = vnetp; in vgen_init()
785 vnet_t *vnetp = vgenp->vnetp; in vgen_portsend() local
806 is_tagged = vgen_frame_lookup_vid(vnetp, ehp, &vlan_id); in vgen_portsend()
[all …]
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvnet.h52 #define VNET_MATCH_RES(vresp, vnetp) \ argument
53 (ether_cmp(vresp->local_macaddr, vnetp->curr_macaddr) == 0)
121 struct vnet *vnetp; /* back pointer to vnet */ member
140 struct vnet *vnetp; /* Back pointer to vnetp */ member
212 void *vnetp; /* vnet associated */ member
229 void *vnetp; /* vnet associated */ member
243 void *vnetp; /* vnet associated */ member
260 void *vnetp; /* vnet this grp belongs to */ member
H A Dvnet_gen.h68 #define LDC_TO_VNET(ldcp) ((ldcp)->portp->vgenp->vnetp)
415 vnet_t *vnetp; /* associated vnet instance */ member