Home
last modified time | relevance | path

Searched refs:BYTE_SIZE (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c31 #define BYTE_SIZE 8 macro
126 if (part_depth < BYTE_SIZE && part_depth >= 0) { in ip6_mask_addr()
132 part_depth -= BYTE_SIZE; in ip6_mask_addr()
589 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()
623 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in simulate_add_step()
677 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in add_step()
968 tbl24_index = (ip[0] << BYTES2_SIZE) | (ip[1] << BYTE_SIZE) | ip[2]; in rte_lpm6_lookup()
1004 (ips[i][1] << BYTE_SIZE) | ips[i][2]; in rte_lpm6_lookup_bulk_func()
/f-stack/dpdk/lib/librte_lpm/
H A Drte_lpm6.c41 #define BYTE_SIZE 8 macro
133 if (part_depth < BYTE_SIZE && part_depth >= 0) { in ip6_mask_addr()
139 part_depth -= BYTE_SIZE; in ip6_mask_addr()
583 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()
617 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in simulate_add_step()
671 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in add_step()
960 tbl24_index = (ip[0] << BYTES2_SIZE) | (ip[1] << BYTE_SIZE) | ip[2]; in rte_lpm6_lookup()
996 (ips[i][1] << BYTE_SIZE) | ips[i][2]; in rte_lpm6_lookup_bulk_func()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx_packed_avx.c18 #define BYTE_SIZE 8 macro
21 offsetof(struct vring_packed_desc, len)) * BYTE_SIZE)
28 offsetof(struct rte_mbuf, rearm_data)) * BYTE_SIZE)
31 offsetof(struct rte_mbuf, rearm_data)) * BYTE_SIZE)
39 offsetof(struct vring_packed_desc, len)) * BYTE_SIZE)
/f-stack/dpdk/lib/librte_fib/
H A Dtrie.c231 #define BYTE_SIZE 8 macro
240 bitshift = (int8_t)(((first_byte + bytes - 1) - i)*BYTE_SIZE); in get_idx()