Searched refs:mchash (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_pfc.c | 332 uint32_t mchash; in hxge_add_mcast_addr() local 342 mchash = crc32_mchash(addrp); in hxge_add_mcast_addr() 356 j = mchash / HASH_REG_WIDTH; in hxge_add_mcast_addr() 357 hash_bit = (1 << (mchash % HASH_REG_WIDTH)); in hxge_add_mcast_addr() 360 hash_filter->hash_bit_ref_cnt[mchash]++; in hxge_add_mcast_addr() 361 if (hash_filter->hash_bit_ref_cnt[mchash] == 1) { in hxge_add_mcast_addr() 391 uint32_t mchash; in hxge_del_mcast_addr() local 400 mchash = crc32_mchash(addrp); in hxge_del_mcast_addr() 410 hash_filter->hash_bit_ref_cnt[mchash]--; in hxge_del_mcast_addr() 411 if (hash_filter->hash_bit_ref_cnt[mchash] == 0) { in hxge_del_mcast_addr() [all …]
|
/titanic_41/usr/src/uts/common/io/efe/ |
H A D | efe.c | 1569 efe_setmchash(efe_t *efep, uint16_t *mchash) in efe_setmchash() argument 1571 PUTCSR(efep, CSR_MC0, mchash[0]); in efe_setmchash() 1572 PUTCSR(efep, CSR_MC1, mchash[1]); in efe_setmchash() 1573 PUTCSR(efep, CSR_MC2, mchash[2]); in efe_setmchash() 1574 PUTCSR(efep, CSR_MC3, mchash[3]); in efe_setmchash()
|
/titanic_41/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 2546 uint64_t mchash; in atge_rxfilter() local 2562 mchash = ~0ULL; in atge_rxfilter() 2570 mchash = atgep->atge_mchash; in atge_rxfilter() 2575 OUTL(atgep, ATGE_MAR0, (uint32_t)mchash); in atge_rxfilter() 2576 OUTL(atgep, ATGE_MAR1, (uint32_t)(mchash >> 32)); in atge_rxfilter() 2580 atgep->atge_name, __func__, rxcfg, mchash)); in atge_rxfilter()
|
/titanic_41/usr/src/uts/common/io/yge/ |
H A D | yge.c | 451 uint32_t *mchash; in yge_setrxfilt() local 457 mchash = port->p_mchash; in yge_setrxfilt() 480 GMAC_WRITE_2(dev, pnum, GM_MC_ADDR_H1, mchash[0] & 0xffff); in yge_setrxfilt() 481 GMAC_WRITE_2(dev, pnum, GM_MC_ADDR_H2, (mchash[0] >> 16) & 0xffff); in yge_setrxfilt() 482 GMAC_WRITE_2(dev, pnum, GM_MC_ADDR_H3, mchash[1] & 0xffff); in yge_setrxfilt() 483 GMAC_WRITE_2(dev, pnum, GM_MC_ADDR_H4, (mchash[1] >> 16) & 0xffff); in yge_setrxfilt()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_mac.c | 5868 uint32_t mchash; in nxge_add_mcast_addr() local 5878 mchash = crc32_mchash(addrp); in nxge_add_mcast_addr() 5887 j = mchash / HASH_REG_WIDTH; in nxge_add_mcast_addr() 5888 hash_bit = (1 << (mchash % HASH_REG_WIDTH)); in nxge_add_mcast_addr() 5890 hash_filter->hash_bit_ref_cnt[mchash]++; in nxge_add_mcast_addr() 5891 if (hash_filter->hash_bit_ref_cnt[mchash] == 1) { in nxge_add_mcast_addr() 5914 uint32_t mchash; in nxge_del_mcast_addr() local 5923 mchash = crc32_mchash(addrp); in nxge_del_mcast_addr() 5932 hash_filter->hash_bit_ref_cnt[mchash]--; in nxge_del_mcast_addr() 5933 if (hash_filter->hash_bit_ref_cnt[mchash] == 0) { in nxge_del_mcast_addr() [all …]
|