Home
last modified time | relevance | path

Searched refs:ethAddr (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dmemac.c57 static uint32_t GetMacAddrHashCode(uint64_t ethAddr) in GetMacAddrHashCode() argument
65 mask1 = ethAddr & (uint64_t)0x01; in GetMacAddrHashCode()
66 ethAddr >>= 1; in GetMacAddrHashCode()
70 mask2 = ethAddr & (uint64_t)0x01; in GetMacAddrHashCode()
72 ethAddr >>= 1; in GetMacAddrHashCode()
627 uint64_t ethAddr; in MemacAddExactMatchMacAddress() local
633 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in MemacAddExactMatchMacAddress()
635 if (ethAddr & GROUP_ADDRESS) in MemacAddExactMatchMacAddress()
642 if (p_Memac->paddr[paddrNum] == ethAddr) in MemacAddExactMatchMacAddress()
652 p_Memac->paddr[paddrNum] = ethAddr; in MemacAddExactMatchMacAddress()
[all …]
H A Dtgec.c81 static uint32_t GetMacAddrHashCode(uint64_t ethAddr) in GetMacAddrHashCode() argument
86 GET_MAC_ADDR_CRC(ethAddr, crc); in GetMacAddrHashCode()
501 uint64_t ethAddr; in TgecAddExactMatchMacAddress() local
507 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in TgecAddExactMatchMacAddress()
509 if (ethAddr & GROUP_ADDRESS) in TgecAddExactMatchMacAddress()
516 if (p_Tgec->paddr[paddrNum] == ethAddr) in TgecAddExactMatchMacAddress()
527 p_Tgec->paddr[paddrNum] = ethAddr; in TgecAddExactMatchMacAddress()
546 uint64_t ethAddr; in TgecDelExactMatchMacAddress() local
552 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in TgecDelExactMatchMacAddress()
558 (p_Tgec->paddr[paddrNum] == ethAddr)) in TgecDelExactMatchMacAddress()
[all …]
H A Ddtsec.c113 static uint32_t GetMacAddrHashCode(uint64_t ethAddr) in GetMacAddrHashCode() argument
118 GET_MAC_ADDR_CRC(ethAddr, crc); in GetMacAddrHashCode()
818 uint64_t ethAddr; in DtsecAddExactMatchMacAddress() local
824 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecAddExactMatchMacAddress()
826 if (ethAddr & GROUP_ADDRESS) in DtsecAddExactMatchMacAddress()
833 if (p_Dtsec->paddr[paddrNum] == ethAddr) in DtsecAddExactMatchMacAddress()
843 p_Dtsec->paddr[paddrNum] = ethAddr; in DtsecAddExactMatchMacAddress()
846 … fman_dtsec_add_addr_in_paddr(p_Dtsec->p_MemMap, (uint64_t)PTR_TO_UINT(&ethAddr), paddrNum); in DtsecAddExactMatchMacAddress()
861 uint64_t ethAddr; in DtsecDelExactMatchMacAddress() local
867 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecDelExactMatchMacAddress()
[all …]