Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 25 of 52) sorted by relevance

123

/dpdk/examples/l2fwd-cat/
H A Dcat.c37 bits_count(uint64_t bitmask) in bits_count() argument
41 for (; bitmask != 0; count++) in bits_count()
42 bitmask &= bitmask - 1; in bits_count()
165 is_contiguous(uint64_t bitmask) in is_contiguous() argument
170 const unsigned max_idx = (sizeof(bitmask) * CHAR_BIT); in is_contiguous()
172 if (bitmask == 0) in is_contiguous()
176 if (((1ULL << i) & bitmask) != 0) in is_contiguous()
182 if (bits_count(bitmask) != j) { in is_contiguous()
184 (unsigned long long)bitmask); in is_contiguous()
/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_cat.rst18 bitmasks. In current CAT implementations, a bit in a COS bitmask corresponds to
25 The number of classes and number of valid bits in a COS bitmask is CPU model
26 specific and COS bitmasks need to be contiguous. Sample code calls this bitmask
27 ``cbm`` or capacity bitmask.
95 where ``cbm`` stands for capacity bitmask and must be expressed in
H A Dbbdev_app.rst106 * ``-c COREMASK``: A hexadecimal bitmask of cores to run on
H A Dkeep_alive.rst57 * ``p PORTMASK``: A hexadecimal bitmask of the ports to configure
H A Dip_frag.rst60 * -p PORTMASK is a hexadecimal bitmask of ports to configure
H A Dl2_forward_crypto.rst57 * p PORTMASK: A hexadecimal bitmask of the ports to configure (default is all the ports)
151 * cryptodev_mask: A hexadecimal bitmask of the cryptodevs to be used by the
H A Dipsec_secgw.rst156 * ``-p PORTMASK``: Hexadecimal bitmask of ports to configure.
163 * ``-u PORTMASK``: hexadecimal bitmask of unprotected ports
211 * ``--cryptodev_mask MASK``: hexadecimal bitmask of the crypto devices
227 (bitmask of RTE_ETH_RX_OFFLOAD_* values). It is an optional parameter and
232 (bitmask of RTE_ETH_TX_OFFLOAD_* values). It is an optional parameter and
H A Ddist_app.rst49 * -p PORTMASK: Hexadecimal bitmask of ports to configure
H A Dmulti_process.rst162 * -p <portmask>, where portmask is a hexadecimal bitmask of what ports on the system are to be us…
256 * -p <portmask >, where portmask is a hexadecimal bitmask of what ports on the system are to be u…
H A Dvmdq_dcb_forwarding.rst113 so the pools parameter in the rte_eth_vmdq_dcb_conf structure is specified as a bitmask value.
H A Dl3_forward_graph.rst57 * ``-p PORTMASK:`` Hexadecimal bitmask of ports to configure
H A Dip_reassembly.rst49 * -p PORTMASK: Hexadecimal bitmask of ports to configure
H A Dserver_node_efd.rst100 * ``-p PORTMASK:`` Hexadecimal bitmask of ports to configure
/dpdk/drivers/net/i40e/
H A Di40e_fdir.c369 pf->fdir.flex_mask[pctype].bitmask[i].offset = 0; in i40e_init_flx_pld()
370 pf->fdir.flex_mask[pctype].bitmask[i].mask = 0; in i40e_init_flx_pld()
614 flex_mask->bitmask[nb_bitmask].mask = ~mask_tmp; in i40e_set_flex_mask_on_pctype()
615 flex_mask->bitmask[nb_bitmask].offset = in i40e_set_flex_mask_on_pctype()
628 fd_mask = (flex_mask->bitmask[i].mask << in i40e_set_flex_mask_on_pctype()
631 fd_mask |= ((flex_mask->bitmask[i].offset + in i40e_set_flex_mask_on_pctype()
1534 flex_mask.bitmask[nb_bitmask].mask = ~mask_tmp; in i40e_flow_store_flex_mask()
1535 flex_mask.bitmask[nb_bitmask].offset = in i40e_flow_store_flex_mask()
1576 fd_mask = (flex_mask->bitmask[i].mask << in i40e_flow_set_fdir_flex_msk()
1579 fd_mask |= ((flex_mask->bitmask[i].offset + in i40e_flow_set_fdir_flex_msk()
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_int.c951 u32 bitmask) in ecore_int_deassertion_aeu_bit() argument
957 p_bit_name, bitmask); in ecore_int_deassertion_aeu_bit()
996 u32 mask = ~bitmask; in ecore_int_deassertion_aeu_bit()
1124 unsigned long int bitmask; in ecore_int_deassertion() local
1141 bitmask = bits & (((1 << bit_len) - 1) << bit); in ecore_int_deassertion()
1142 bitmask >>= bit; in ecore_int_deassertion()
1144 if (bitmask) { in ecore_int_deassertion()
1149 num = (u8)OSAL_FIND_FIRST_BIT(&bitmask, in ecore_int_deassertion()
1170 bitmask <<= bit; in ecore_int_deassertion()
1177 bitmask); in ecore_int_deassertion()
/dpdk/doc/guides/testpmd_app_ug/
H A Drun_app.rst79 Set the hexadecimal bitmask of the cores running the packet forwarding test.
84 Set the hexadecimal bitmask of the ports used by the packet forwarding test.
464 Set the hexadecimal bitmask of TX queue offloads.
469 Set the hexadecimal bitmask of RX queue offloads.
546 Set the hexadecimal bitmask of RX multi queue mode which can be enabled.
561 Set the hairpin port mode with bitmask, only valid when hairpin queues number is set::
/dpdk/examples/flow_classify/
H A Dflow_classify.c500 uint32_t bitmask = 0; in convert_depth_to_bitmask() local
504 bitmask |= (1 << (31 - j)); in convert_depth_to_bitmask()
505 return bitmask; in convert_depth_to_bitmask()
/dpdk/doc/guides/linux_gsg/
H A Deal_args.include.rst9 Set the hexadecimal bitmask of the cores to run on.
42 Hexadecimal bitmask of cores to be used as service cores.
/dpdk/doc/guides/tools/
H A Dproc_info.rst26 **-p PORTMASK**: Hexadecimal bitmask of ports to configure.
H A Dcomp_perf.rst48 Set the hexadecimal bitmask of the cores to run on. The corelist is a
/dpdk/doc/guides/prog_guide/
H A Dbbdev.rst538 "op_flags","bitmask of all active operation capabilities"
640 "op_flags","bitmask of all active operation capabilities"
752 with the operation flags forming a bitmask in the ``op_flags`` field.
784 |op_flags |bitmask of all active operation capabilities |
800 |op_flags |bitmask of all active operation capabilities |
950 with the operation flags forming a bitmask in the ``op_flags`` field.
995 |op_flags |bitmask of all active operation capabilities |
1015 |op_flags |bitmask of all active operation capabilities |
/dpdk/lib/eal/linux/
H A Deal_memalloc.c157 prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id) in prepare_numa()
174 restore_numa(int *oldpolicy, struct bitmask *oldmask) in restore_numa()
1019 struct bitmask *oldmask; in eal_memalloc_alloc_seg_bulk()
/dpdk/drivers/bus/dpaa/base/qbman/
H A Dqman.h625 static inline void qm_dqrr_cdc_consume_n(struct qm_portal *portal, u16 bitmask) in qm_dqrr_cdc_consume_n() argument
633 ((u32)bitmask << 16)); /* DQRR_DCAP::DCAP_CI */ in qm_dqrr_cdc_consume_n()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_x550.c1376 u32 idx, reg, num_qs, start_q, bitmask; in ixgbe_restore_mdd_vf_X550() local
1385 bitmask = 0x000000FF; in ixgbe_restore_mdd_vf_X550()
1390 bitmask = 0x0000000F; in ixgbe_restore_mdd_vf_X550()
1394 bitmask = 0x00000003; in ixgbe_restore_mdd_vf_X550()
1402 reg |= (bitmask << (start_q % 32)); in ixgbe_restore_mdd_vf_X550()
/dpdk/doc/guides/contributing/
H A Ddesign.rst165 validated for header integrity, counting the number of bits set in a bitmask

123