Searched refs:mmac (Results 1 – 5 of 5) sorted by relevance
1350 mmac_kstatsp->mmac_max_addr_cnt.value.ul = hxgep->mmac.total; in hxge_mmac_stat_update()1352 hxgep->mmac.available; in hxge_mmac_stat_update()1354 hxge_mac_octet_to_u64(hxgep->mmac.addrs[0].addr); in hxge_mmac_stat_update()1356 hxge_mac_octet_to_u64(hxgep->mmac.addrs[1].addr); in hxge_mmac_stat_update()1358 hxge_mac_octet_to_u64(hxgep->mmac.addrs[2].addr); in hxge_mmac_stat_update()1360 hxge_mac_octet_to_u64(hxgep->mmac.addrs[3].addr); in hxge_mmac_stat_update()1362 hxge_mac_octet_to_u64(hxgep->mmac.addrs[4].addr); in hxge_mmac_stat_update()1364 hxge_mac_octet_to_u64(hxgep->mmac.addrs[5].addr); in hxge_mmac_stat_update()1366 hxge_mac_octet_to_u64(hxgep->mmac.addrs[6].addr); in hxge_mmac_stat_update()1368 hxge_mac_octet_to_u64(hxgep->mmac.addrs[7].addr); in hxge_mmac_stat_update()[all …]
472 (void) hxge_pfc_num_macs_get(hxgep, &hxgep->mmac.total); in hxge_attach()473 hxgep->mmac.available = hxgep->mmac.total; in hxge_attach()474 for (i = 0; i < hxgep->mmac.total; i++) { in hxge_attach()475 hxgep->mmac.addrs[i].set = B_FALSE; in hxge_attach()476 hxgep->mmac.addrs[i].primary = B_FALSE; in hxge_attach()2778 for (i = 0; i < hxgep->mmac.total; i++) { in hxge_mmac_get_slot()2779 if (!hxgep->mmac.addrs[i].set) { in hxge_mmac_get_slot()2807 hxgep->mmac.addrs[slot].set = B_TRUE; in hxge_mmac_set_addr()2808 bcopy(addr, hxgep->mmac.addrs[slot].addr, ETHERADDRL); in hxge_mmac_set_addr()2809 hxgep->mmac.available--; in hxge_mmac_set_addr()[all …]
334 hxge_mmac_t mmac; member
1222 ring->mmac.naddr = XGE_RX_MULTI_MAC_ADDRESSES_MAX; in xgell_rx_ring_maddr_init()1223 ring->mmac.naddrfree = ring->mmac.naddr; in xgell_rx_ring_maddr_init()1237 for (i = 0; i < ring->mmac.naddr; i++) { in xgell_rx_ring_maddr_init()1239 ring->mmac.mac_addr + i); in xgell_rx_ring_maddr_init()1240 ring->mmac.mac_addr_set[i] = B_FALSE; in xgell_rx_ring_maddr_init()1259 if (ring->mmac.naddrfree == 0) { in xgell_addmac()1265 for (slot = 0; slot < ring->mmac.naddr; slot++) { in xgell_addmac()1266 if (ring->mmac.mac_addr_set[slot] == B_FALSE) { in xgell_addmac()1271 ASSERT(slot < ring->mmac.naddr); in xgell_addmac()1288 ring->mmac.mac_addr + slot) != XGE_HAL_OK) { in xgell_addmac()[all …]
330 xgell_multi_mac_t mmac; /* per group multiple addrs */ member