| /dpdk/drivers/net/sfc/ |
| H A D | sfc_stats.h | 32 uint64_t bytes; member 42 sfc_pkts_bytes_add(union sfc_pkts_bytes *st, uint64_t pkts, uint64_t bytes) in sfc_pkts_bytes_add() argument 49 result.bytes = st->bytes + bytes; in sfc_pkts_bytes_add() 59 st->bytes += bytes; in sfc_pkts_bytes_add()
|
| H A D | sfc_mae_counter.c | 137 p->reset.pkts, p->reset.bytes); in sfc_mae_counter_enable() 178 p->reset.pkts, p->reset.bytes); in sfc_mae_counter_disable() 195 uint64_t pkts, uint64_t bytes) in sfc_mae_counter_increment() argument 229 cnt_val.bytes = p->value.bytes + bytes; in sfc_mae_counter_increment() 249 pkts, cnt_val.pkts, bytes, cnt_val.bytes); in sfc_mae_counter_increment() 974 data->bytes = value.bytes - p->reset.bytes; in sfc_mae_counter_get() 982 p->reset.bytes = value.bytes; in sfc_mae_counter_get()
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_nvm.c | 828 u8 *bytes, int *perrno); 831 u8 *bytes, int *perrno); 834 u8 *bytes, int *perrno); 888 u8 *bytes, int *perrno) in i40e_nvmupd_command() argument 923 bytes[0] = hw->nvmupd_state; in i40e_nvmupd_command() 926 bytes[1] = 0; in i40e_nvmupd_command() 1031 u8 *bytes, int *perrno) in i40e_nvmupd_state_init() argument 1497 u8 *bytes, int *perrno) in i40e_nvmupd_exec_aq() argument 1622 bytes += len; in i40e_nvmupd_get_aq_result() 1686 u8 *bytes, int *perrno) in i40e_nvmupd_nvm_read() argument [all …]
|
| /dpdk/lib/fib/ |
| H A D | dir24_8_avx512.c | 18 __m512i ip_vec, idxes, res, bytes; in dir24_8_vec_lookup_x16() local 53 bytes = _mm512_and_epi32(ip_vec, lsbyte_msk); in dir24_8_vec_lookup_x16() 54 idxes = _mm512_maskz_add_epi32(msk_ext, idxes, bytes); in dir24_8_vec_lookup_x16() 87 __m512i res, idxes, bytes; in dir24_8_vec_lookup_x8_8b() local 102 bytes = _mm512_cvtepi32_epi64(ip_vec); in dir24_8_vec_lookup_x8_8b() 105 bytes = _mm512_and_epi64(bytes, lsbyte_msk); in dir24_8_vec_lookup_x8_8b() 106 idxes = _mm512_maskz_add_epi64(msk_ext, idxes, bytes); in dir24_8_vec_lookup_x8_8b()
|
| /dpdk/lib/telemetry/ |
| H A D | telemetry_data.c | 51 const size_t bytes = strlcpy(d->data.array[d->data_len++].sval, in rte_tel_data_add_array_string() local 53 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_array_string() 129 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_int() local 130 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_int() 146 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_u64() local 147 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_u64() 168 const size_t bytes = strlcpy(e->name, name, RTE_TEL_MAX_STRING_LEN); in rte_tel_data_add_dict_container() local 169 return bytes < RTE_TEL_MAX_STRING_LEN ? 0 : E2BIG; in rte_tel_data_add_dict_container()
|
| H A D | telemetry_legacy.c | 236 int bytes = read(s, buffer_recv, sizeof(buffer_recv) - 1); in legacy_client_handler() local 238 while (bytes > 0) { in legacy_client_handler() 239 buffer_recv[bytes] = 0; in legacy_client_handler() 253 bytes = read(s, buffer_recv, sizeof(buffer_recv) - 1); in legacy_client_handler()
|
| /dpdk/app/test/ |
| H A D | test_telemetry_data.c | 51 int bytes; in test_output() local 58 bytes = read(sock, buf, sizeof(buf) - 1); in test_output() 59 if (bytes < 0) { in test_output() 64 buf[bytes] = '\0'; in test_output() 338 int sock, bytes; in connect_to_socket() local 359 bytes = read(sock, buf, sizeof(buf) - 1); in connect_to_socket() 360 if (bytes < 0) { in connect_to_socket() 366 buf[bytes] = '\0'; in connect_to_socket()
|
| /dpdk/examples/pipeline/examples/ |
| H A D | vxlan.spec | 97 // - 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/lib/eal/windows/ |
| H A D | eal_hugepages.c | 81 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/doc/guides/cryptodevs/ |
| H A D | aesni_mb.rst | 80 * The only tag size supported for ZUC-EIA3-256 is 4 bytes. 176 * 12 bytes: used mainly for IPsec, as it requires 12 bytes from the user, which internally 177 are appended the counter block (4 bytes), which is set to 1 for the first block 180 * 16 bytes: when passing 16 bytes, the library will take them and use the last 4 bytes
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_tlv_layout.h | 221 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/bnxt/ |
| H A D | bnxt_util.c | 11 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()
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx_packed.h | 97 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 D | trs_ipv6opts.py | 78 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')
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_ops.c | 79 ssize_t bytes = 0, str_size = RTE_ETH_BURST_MODE_INFO_SIZE, rc; in cnxk_nix_rx_burst_mode_get() local 113 str_size - bytes); in cnxk_nix_rx_burst_mode_get() 117 bytes += rc; in cnxk_nix_rx_burst_mode_get() 122 rc = rte_strscpy(mode->info + bytes, in cnxk_nix_rx_burst_mode_get() 124 str_size - bytes); in cnxk_nix_rx_burst_mode_get() 128 bytes += rc; in cnxk_nix_rx_burst_mode_get() 178 str_size - bytes); in cnxk_nix_tx_burst_mode_get() 182 bytes += rc; in cnxk_nix_tx_burst_mode_get() 187 rc = rte_strscpy(mode->info + bytes, in cnxk_nix_tx_burst_mode_get() 189 str_size - bytes); in cnxk_nix_tx_burst_mode_get() [all …]
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_i2c.c | 233 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/doc/guides/nics/ |
| H A D | mvpp2.rst | 176 - ``rx_bytes``: number of RX bytes 185 - ``tx_bytes``: number of TX bytes 288 - ``<token_unit>``: Policer token unit (`bytes` or `packets`). 304 - ``<burst_size>``: Committed burst size, in kilo bytes. 320 token_unit = bytes 465 * maskable, if key size is up to 8 bytes. 466 * exact, otherwise, i.e for keys bigger than 8 bytes. 527 In this case key size is 8 bytes thus maskable type is selected. 538 In this case key size is 10 bytes thus exact type is selected. 697 900000 - Shaper rate in bytes/s. [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | packet_classif_access_ctrl.rst | 35 * All subsequent fields has to be grouped into sets of 4 consecutive bytes. 61 …he size parameter defines the length of the field in bytes. Allowable values are 1, 2, 4, or 8 byt… 63 that make up 4 consecutive input bytes. 64 Also, it is best to define fields of 8 or more bytes as 4 byte fields so that 104 /* next input field (IPv4 source address) - 4 consecutive bytes. */ 113 /* next input field (IPv4 destination address) - 4 consecutive bytes. */ 123 * Next 2 fields (src & dst ports) form 4 consecutive bytes. 249 /* next input field (IPv4 source address) - 4 consecutive bytes. */ 258 /* next input field (IPv4 destination address) - 4 consecutive bytes. */ 269 * Anyway we need to allocate all the 4 consecutive bytes for it. [all …]
|
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_flow.c | 181 count->bytes = 0; in bond_flow_query_count() 193 count->bytes += slave_count.bytes; in bond_flow_query_count() 195 slave_count.bytes = 0; in bond_flow_query_count()
|
| /dpdk/lib/ipsec/ |
| H A D | esp_inb.c | 578 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 D | esp_outb.c | 624 uint32_t i, k, icv_len, *icv, bytes; in esp_outb_sqh_process() local 633 bytes = 0; in esp_outb_sqh_process() 644 bytes += mb[i]->pkt_len; in esp_outb_sqh_process() 650 sa->statistics.bytes += bytes; in esp_outb_sqh_process() 670 uint32_t i, ol_flags, bytes; in inline_outb_mbuf_prepare() local 673 bytes = 0; in inline_outb_mbuf_prepare() 677 bytes += mb[i]->pkt_len; in inline_outb_mbuf_prepare() 683 ss->sa->statistics.bytes += bytes; in inline_outb_mbuf_prepare()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | test_pipeline.rst | 68 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/kni/ |
| H A D | rte_eth_kni.c | 37 uint64_t bytes; member 308 stats->q_ibytes[i] = q->rx.bytes; in eth_kni_stats_get() 318 stats->q_obytes[i] = q->tx.bytes; in eth_kni_stats_get() 341 q->rx.bytes = 0; in eth_kni_stats_reset() 346 q->tx.bytes = 0; in eth_kni_stats_reset()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_regs.c | 218 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/drivers/net/ice/ |
| H A D | ice_ethdev.h | 140 #define ICE_RXTX_BYTES_HIGH(bytes) ((bytes) & ~ICE_40_BIT_MASK) argument 141 #define ICE_RXTX_BYTES_LOW(bytes) ((bytes) & ICE_40_BIT_MASK) argument 384 uint64_t bytes; member
|