Searched refs:packet_buf (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_l2.c | 1546 u32 packet_buf[2] = {0}; in ecore_crc32c_le() local 1548 OSAL_MEMCPY((u8 *)(&packet_buf[0]), &mac[0], 6); in ecore_crc32c_le() 1549 return ecore_calc_crc32c((u8 *)packet_buf, 8, seed, 0); in ecore_crc32c_le()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_sp_verbs.c | 138 u32_t packet_buf[2] = {0}; in ecore_crc32_le() local 140 memcpy(((u8_t *)(&packet_buf[0]))+2, &mac[0], 2); in ecore_crc32_le() 141 memcpy(&packet_buf[1], &mac[2], 4); in ecore_crc32_le() 142 return SWAP_BYTES32(calc_crc32((u8_t *)packet_buf, 8, seed, 0)); in ecore_crc32_le()
|