Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 102) sorted by relevance

12345

/dpdk/drivers/net/sfc/
H A Dsfc_stats.h31 uint64_t bytes; member
41 sfc_pkts_bytes_add(union sfc_pkts_bytes *st, uint64_t pkts, uint64_t bytes) in sfc_pkts_bytes_add() argument
48 result.bytes = st->bytes + bytes; in sfc_pkts_bytes_add()
58 st->bytes += bytes; in sfc_pkts_bytes_add()
H A Dsfc_mae_counter.c149 p->reset.pkts, p->reset.bytes); in sfc_mae_counter_fw_rsrc_enable()
202 p->reset.pkts, p->reset.bytes); in sfc_mae_counter_fw_rsrc_disable()
219 uint64_t pkts, uint64_t bytes) in sfc_mae_counter_increment() argument
254 cnt_val.bytes = p->value.bytes + bytes; in sfc_mae_counter_increment()
274 pkts, cnt_val.pkts, bytes, cnt_val.bytes); in sfc_mae_counter_increment()
1039 data->bytes = value.bytes - p->reset.bytes; in sfc_mae_counter_get()
1050 p->reset.bytes = value.bytes; in sfc_mae_counter_get()
/dpdk/lib/fib/
H A Ddir24_8_avx512.c18 __m512i ip_vec, idxes, res, bytes; in dir24_8_vec_lookup_x16() local
63 bytes = _mm512_and_epi32(ip_vec, lsbyte_msk); in dir24_8_vec_lookup_x16()
64 idxes = _mm512_maskz_add_epi32(msk_ext, idxes, bytes); in dir24_8_vec_lookup_x16()
97 __m512i res, idxes, bytes; in dir24_8_vec_lookup_x8_8b()
119 bytes = _mm512_cvtepi32_epi64(ip_vec); in rte_dir24_8_vec_lookup_bulk_1b()
122 bytes = _mm512_and_epi64(bytes, lsbyte_msk); in rte_dir24_8_vec_lookup_bulk_1b()
123 idxes = _mm512_maskz_add_epi64(msk_ext, idxes, bytes); in rte_dir24_8_vec_lookup_bulk_1b()
87 __m512i res, idxes, bytes; dir24_8_vec_lookup_x8_8b() local
/dpdk/lib/telemetry/
H A Dtelemetry_data.c60 const size_t bytes = strlcpy(d->data.array[d->data_len++].sval, in rte_tel_data_add_array_string() local
62 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_array_string()
195 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_int() local
196 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_int()
215 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_uint() local
216 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_uint()
246 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_container() local
247 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_container()
H A Dtelemetry_legacy.c237 int bytes = read(s, buffer_recv, sizeof(buffer_recv) - 1); in legacy_client_handler() local
239 while (bytes > 0) { in legacy_client_handler()
240 buffer_recv[bytes] = 0; in legacy_client_handler()
254 bytes = read(s, buffer_recv, sizeof(buffer_recv) - 1); in legacy_client_handler()
/dpdk/usertools/
H A Ddpdk-rss-flows.py40 def hash_data(self, use_l4_port: bool = False) -> bytes:
75 key: bytes, argument
84 def toeplitz_hash(self, data: bytes) -> int: argument
159 def __init__(self, key: bytes = None, reta_size: int = None): argument
163 def rss_key(self) -> bytes:
171 def rss_key(self) -> bytes:
172 return bytes(
196 key=bytes(
200 # Marvell cnxk NICs take 48 bytes keys
213 key=bytes(
[all...]
H A Ddpdk-pmdinfo.py197 def find_strings(buf: bytes, prefix: str) -> Iterator[str]: argument
239 def from_elftools(s: Union[bytes, str]) -> str: argument
244 if isinstance(s, bytes):
249 def to_elftools(s: str) -> Union[bytes, str]:
/dpdk/lib/eal/windows/
H A Deal_hugepages.c81 ULONGLONG bytes; in hugepage_info_init() local
85 if (!GetNumaAvailableMemoryNodeEx(numa_node, &bytes)) { in hugepage_info_init()
91 hpi->num_pages[socket_id] = bytes / hpi->hugepage_sz; in hugepage_info_init()
/dpdk/examples/pipeline/examples/
H A Dvxlan.spec97 // - The outer IPv4 header (20 bytes);
98 // - The outer UDP header (8 bytes);
99 // - The outer VXLAN header (8 bytes);
100 // - The inner Ethernet header (14 bytes);
103 // - The outer UDP header (8 bytes);
104 // - The outer VXLAN header (8 bytes);
105 // - The inner Ethernet header (14 bytes);
/dpdk/drivers/net/bnxt/
H A Dbnxt_util.c11 int bnxt_check_zero_bytes(const uint8_t *bytes, int len) in bnxt_check_zero_bytes() argument
16 if (bytes[i] != 0x00) in bnxt_check_zero_bytes()
H A Dbnxt_util.h18 int bnxt_check_zero_bytes(const uint8_t *bytes, int len);
/dpdk/app/test/
H A Dtest_telemetry_data.c87 int bytes; in check_output() local
94 bytes = read(sock, buf, sizeof(buf) - 1); in check_output()
95 if (bytes < 0) { in check_output()
100 buf[bytes] = '\0'; in check_output()
535 int sock, bytes; in connect_to_socket() local
556 bytes = read(sock, buf, sizeof(buf) - 1); in connect_to_socket()
557 if (bytes < 0) { in connect_to_socket()
563 buf[bytes] = '\0'; in connect_to_socket()
/dpdk/drivers/common/sfc_efx/base/
H A Def10_tlv_layout.h221 uint8_t bytes[]; member
229 uint8_t bytes[]; member
246 uint8_t bytes[]; member
254 uint8_t bytes[]; member
953 uint8_t bytes[]; member
970 uint8_t bytes[]; member
988 uint8_t bytes[]; member
1057 uint8_t bytes[]; member
/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx_packed.h97 stats->bytes += pkt_len1; in virtio_update_batch_stats()
98 stats->bytes += pkt_len2; in virtio_update_batch_stats()
99 stats->bytes += pkt_len3; in virtio_update_batch_stats()
100 stats->bytes += pkt_len4; in virtio_update_batch_stats()
151 txvq->stats.bytes += txm->pkt_len; in virtqueue_enqueue_single_packed_vec()
249 rxvq->stats.bytes += cookie->pkt_len; in virtqueue_dequeue_single_packed_vec()
/dpdk/examples/ipsec-secgw/test/
H A Dtrs_ipv6opts.py78 self.assertEqual(bytes(d[UDP].payload), b'abc')
117 self.assertEqual(bytes(d[UDP].payload), b'abc')
132 self.assertEqual(bytes(resp[UDP].payload), b'abc')
161 self.assertEqual(bytes(resp[UDP].payload), b'abc')
179 self.assertEqual(bytes(resp[UDP].payload), b'abc')
H A Dpkttest.py59 …info = fcntl.ioctl(self.s.fileno(), Interface.IOCTL_GET_INFO, struct.pack('256s', bytes(ifname[:1…
70 self.send_bytes(bytes(pkt))
/dpdk/drivers/raw/ifpga/base/
H A Dopae_i2c.c233 size_t bytes; in altera_i2c_read_rx_fifo() local
236 bytes = min(rx_avail, dev->msg_len); in altera_i2c_read_rx_fifo()
238 while (bytes-- > 0) { in altera_i2c_read_rx_fifo()
253 int bytes; in altera_i2c_fill_tx_fifo() local
258 bytes = min(tx_avail, dev->msg_len); in altera_i2c_fill_tx_fifo()
259 ret = dev->msg_len - bytes; in altera_i2c_fill_tx_fifo()
261 while (bytes-- > 0) { in altera_i2c_fill_tx_fifo()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_flow.c181 count->bytes = 0; in bond_flow_query_count()
195 count->bytes += member_count.bytes; in bond_flow_query_count()
199 member_count.bytes = 0; in bond_flow_query_count()
/dpdk/lib/ipsec/
H A Desp_inb.c578 uint32_t adj, i, k, tl, bytes; in tun_process() local
600 bytes = 0; in tun_process()
624 bytes += mb[i]->pkt_len; in tun_process()
630 sa->statistics.bytes += bytes; in tun_process()
642 uint32_t i, k, l2, tl, bytes; in trs_process() local
662 bytes = 0; in trs_process()
681 bytes += mb[i]->pkt_len; in trs_process()
687 sa->statistics.bytes += bytes; in trs_process()
H A Desp_outb.c157 /* number of bytes to encrypt */ in outb_tun_pkt_prepare()
386 /* number of bytes to encrypt */ in outb_trs_pkt_prepare()
659 * In that case we have to move ICV bytes back to their proper place. in esp_outb_sqh_process()
665 uint32_t i, k, icv_len, *icv, bytes;
674 bytes = 0; in inline_outb_mbuf_prepare() local
685 bytes += mb[i]->pkt_len; in inline_outb_mbuf_prepare()
691 sa->statistics.bytes += bytes;
711 uint32_t i, ol_flags, bytes; in esn_outb_nb_valid_packets()
714 bytes in esn_outb_nb_valid_packets()
628 uint32_t i, k, icv_len, *icv, bytes; esp_outb_sqh_process() local
[all...]
/dpdk/doc/guides/sample_app_ug/
H A Dtest_pipeline.rst68 The available options are 8, 16 and 32 bytes;
95 … | [4-byte index, 4 bytes of 0] …
108 … | [destination IPv4 address, 4 bytes of 0] …
118 … | [4-byte index, 12 bytes of 0] …
131 … | [destination IPv4 address, 12 bytes of 0] |
141 … | [4-byte index, 28 bytes of 0]. …
154 … | [destination IPv4 address, 28 bytes of 0] |
/dpdk/drivers/net/qede/
H A Dqede_regs.c218 size_t bytes; in qede_write_fwdump() local
227 bytes = fwrite(dump, 1, len, f); in qede_write_fwdump()
228 if (bytes != len) { in qede_write_fwdump()
231 bytes, len); in qede_write_fwdump()
/dpdk/doc/guides/cryptodevs/
H A Darmv8.rst77 * Cipher input data has to be a multiple of 16 bytes.
78 * Digest input data has to be a multiple of 8 bytes.
/dpdk/lib/lpm/
H A Drte_lpm6.c539 * of the bytes being inspected in this step. in expand_rule()
542 get_bitshift(const struct rte_ipv6_addr *ip, uint8_t first_byte, uint8_t bytes) in expand_rule()
548 for (i = first_byte; i < (uint32_t)(first_byte + bytes); i++) { in expand_rule()
549 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in expand_rule()
569 uint8_t bytes, uint8_t first_byte, uint8_t depth,
578 * of the bytes being inspected in this step. in get_bitshift()
580 entry_ind = get_bitshift(ip, first_byte, bytes); in get_bitshift()
583 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in get_bitshift()
621 uint32_t *next_tbl_ind, struct rte_ipv6_addr *ip, uint8_t bytes, in simulate_add_step()
632 * of the bytes bein in simulate_add_step()
573 get_bitshift(const uint8_t * ip,uint8_t first_byte,uint8_t bytes) get_bitshift() argument
600 simulate_add_step(struct rte_lpm6 * lpm,struct rte_lpm6_tbl_entry * tbl,struct rte_lpm6_tbl_entry ** next_tbl,const uint8_t * ip,uint8_t bytes,uint8_t first_byte,uint8_t depth,uint32_t * need_tbl_nb) simulate_add_step() argument
652 add_step(struct rte_lpm6 * lpm,struct rte_lpm6_tbl_entry * tbl,uint32_t tbl_ind,struct rte_lpm6_tbl_entry ** next_tbl,uint32_t * next_tbl_ind,uint8_t * ip,uint8_t bytes,uint8_t first_byte,uint8_t depth,uint32_t next_hop,uint8_t is_new_rule) add_step() argument
[all...]
/dpdk/buildtools/
H A Dcoff.py84 return decode_asciiz(bytes(self._coff.name.immediate))
100 return bytes(ctypes.c_uint32(self._coff.value))

12345