Searched refs:mcst_pkt (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 1522 vsw_add_rem_mcst(vnet_mcast_msg_t *mcst_pkt, vsw_port_t *port) in vsw_add_rem_mcst() argument 1531 D2(vswp, "%s: %d addresses", __func__, mcst_pkt->count); in vsw_add_rem_mcst() 1533 for (i = 0; i < mcst_pkt->count; i++) { in vsw_add_rem_mcst() 1538 KEY_HASH(addr, &(mcst_pkt->mca[i])); in vsw_add_rem_mcst() 1543 if (mcst_pkt->set == 0x1) { in vsw_add_rem_mcst() 1565 ether_copy(&mcst_pkt->mca[i], &mcst_p->mca); in vsw_add_rem_mcst()
|
H A D | vsw_ldc.c | 177 extern int vsw_add_rem_mcst(vnet_mcast_msg_t *mcst_pkt, vsw_port_t *port); 3175 vnet_mcast_msg_t *mcst_pkt; in vsw_process_ctrl_mcst_pkt() local 3186 mcst_pkt = (vnet_mcast_msg_t *)pkt; in vsw_process_ctrl_mcst_pkt() 3188 switch (mcst_pkt->tag.vio_subtype) { in vsw_process_ctrl_mcst_pkt() 3205 for (i = 0; i < mcst_pkt->count; i++) { in vsw_process_ctrl_mcst_pkt() 3206 if ((mcst_pkt->mca[i].ether_addr_octet[0] & 01) != 1) { in vsw_process_ctrl_mcst_pkt() 3209 SND_MCST_NACK(ldcp, mcst_pkt); in vsw_process_ctrl_mcst_pkt() 3218 if (vsw_add_rem_mcst(mcst_pkt, port) != 0) { in vsw_process_ctrl_mcst_pkt() 3219 SND_MCST_NACK(ldcp, mcst_pkt); in vsw_process_ctrl_mcst_pkt() 3223 mcst_pkt->tag.vio_subtype = VIO_SUBTYPE_ACK; in vsw_process_ctrl_mcst_pkt() [all …]
|