| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_osdep_bitmap.h | 77 *bitmap = bm; in dlb2_bitmap_alloc() 90 if (bitmap == NULL) in dlb2_bitmap_free() 94 rte_free(bitmap); in dlb2_bitmap_free() 113 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_fill() 136 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_zero() 159 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_set() 189 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_set_range() 216 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_clear() 246 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_clear_range() 277 if (bitmap == NULL || bitmap->map == NULL || len == 0) in dlb2_bitmap_find_set_bit_range() [all …]
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_bitops.h | 30 return !!(*bitmap & BIT(nr)); in ice_is_bit_set_internal() 48 *bitmap &= ~BIT(nr); in ice_clear_bit_internal() 53 *bitmap |= BIT(nr); in ice_set_bit_internal() 57 ice_bitmap_t *bitmap) in ice_test_and_clear_bit_internal() argument 60 ice_clear_bit_internal(nr, bitmap); in ice_test_and_clear_bit_internal() 71 ice_set_bit_internal(nr, bitmap); in ice_test_and_set_bit_internal() 86 &bitmap[BIT_CHUNK(nr)]); in ice_is_bit_set() 127 &bitmap[BIT_CHUNK(nr)]); in ice_test_and_clear_bit() 142 &bitmap[BIT_CHUNK(nr)]); in ice_test_and_set_bit() 313 if (bitmap[i] != 0) { in ice_find_next_bit() [all …]
|
| H A D | ice_type.h | 85 static inline bool ice_is_tc_ena(ice_bitmap_t bitmap, u8 tc) in ice_is_tc_ena() argument 87 return ice_is_bit_set(&bitmap, tc); in ice_is_tc_ena()
|
| H A D | ice_sched.c | 2741 ice_bitmap_t bitmap = tc_bitmap; in ice_cfg_agg() local 2746 (ice_bitmap_t *)&bitmap); in ice_cfg_agg() 2749 (ice_bitmap_t *)&bitmap); in ice_cfg_agg() 3021 ice_bitmap_t bitmap = tc_bitmap; in ice_move_vsi_to_agg() local 3026 (ice_bitmap_t *)&bitmap); in ice_move_vsi_to_agg() 3029 (ice_bitmap_t *)&bitmap); in ice_move_vsi_to_agg()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_utils.h | 22 #define ULP_BITMAP_SET(bitmap, val) ((bitmap) |= (val)) argument 23 #define ULP_BITMAP_RESET(bitmap, val) ((bitmap) &= ~(val)) argument 24 #define ULP_BITMAP_ISSET(bitmap, val) ((bitmap) & (val)) argument 515 uint32_t ulp_bitmap_is_zero(uint8_t *bitmap, int32_t size); 518 uint32_t ulp_bitmap_is_ones(uint8_t *bitmap, int32_t size); 521 uint32_t ulp_bitmap_notzero(const uint8_t *bitmap, int32_t size);
|
| H A D | ulp_utils.c | 1056 uint32_t ulp_bitmap_is_zero(uint8_t *bitmap, int32_t size) in ulp_bitmap_is_zero() argument 1059 if (*bitmap != 0) in ulp_bitmap_is_zero() 1061 bitmap++; in ulp_bitmap_is_zero() 1067 uint32_t ulp_bitmap_is_ones(uint8_t *bitmap, int32_t size) in ulp_bitmap_is_ones() argument 1070 if (*bitmap != 0xFF) in ulp_bitmap_is_ones() 1072 bitmap++; in ulp_bitmap_is_ones() 1078 uint32_t ulp_bitmap_notzero(const uint8_t *bitmap, int32_t size) in ulp_bitmap_notzero() argument 1081 if (*bitmap != 0) in ulp_bitmap_notzero() 1083 bitmap++; in ulp_bitmap_notzero()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | bcm_osal.h | 320 #define OSAL_SET_BIT(bit, bitmap) \ argument 321 rte_bit_relaxed_set32(bit, bitmap) 323 #define OSAL_CLEAR_BIT(bit, bitmap) \ argument 324 rte_bit_relaxed_clear32(bit, bitmap) 326 #define OSAL_GET_BIT(bit, bitmap) \ argument 327 rte_bit_relaxed_get32(bit, bitmap) 330 #define OSAL_FIND_FIRST_BIT(bitmap, length) \ argument 331 qede_find_first_bit(bitmap, length) 334 #define OSAL_FIND_FIRST_ZERO_BIT(bitmap, length) \ argument 335 qede_find_first_zero_bit(bitmap, length) [all …]
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_dev.c | 119 ccp_set_bit(unsigned long *bitmap, int n) in ccp_set_bit() argument 121 __sync_fetch_and_or(&bitmap[WORD_OFFSET(n)], (1UL << BIT_OFFSET(n))); in ccp_set_bit() 125 ccp_clear_bit(unsigned long *bitmap, int n) in ccp_clear_bit() argument 127 __sync_fetch_and_and(&bitmap[WORD_OFFSET(n)], ~(1UL << BIT_OFFSET(n))); in ccp_clear_bit() 131 ccp_get_bit(unsigned long *bitmap, int n) in ccp_get_bit() argument 133 return ((bitmap[WORD_OFFSET(n)] & (1 << BIT_OFFSET(n))) != 0); in ccp_get_bit()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_dump.c | 492 uint8_t bitmap; in get_vlan_rx_offload_cfg() local 499 bitmap = 1 << (vport_id % HNS3_VF_NUM_PER_BYTE); in get_vlan_rx_offload_cfg() 500 req->vf_bitmap[req->vf_offset] = bitmap; in get_vlan_rx_offload_cfg() 582 uint8_t bitmap; in get_vlan_tx_offload_cfg() local 589 bitmap = 1 << (vport_id % HNS3_VF_NUM_PER_BYTE); in get_vlan_tx_offload_cfg() 590 req->vf_bitmap[req->vf_offset] = bitmap; in get_vlan_tx_offload_cfg()
|
| H A D | hns3_ethdev.c | 555 uint8_t bitmap; in hns3_set_vlan_rx_offload_cfg() local 581 bitmap = 1 << (vport_id % HNS3_VF_NUM_PER_BYTE); in hns3_set_vlan_rx_offload_cfg() 582 req->vf_bitmap[req->vf_offset] = bitmap; in hns3_set_vlan_rx_offload_cfg() 743 uint8_t bitmap; in hns3_set_vlan_tx_offload_cfg() local 775 bitmap = 1 << (vport_id % HNS3_VF_NUM_PER_BYTE); in hns3_set_vlan_tx_offload_cfg() 776 req->vf_bitmap[req->vf_offset] = bitmap; in hns3_set_vlan_tx_offload_cfg()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | event_helper.c | 1502 void *bitmap = NULL; in eh_conf_init() local 1539 bitmap = rte_zmalloc("event-helper-ethcore-bitmap", nb_bytes, in eh_conf_init() 1541 if (!bitmap) { in eh_conf_init() 1546 em_conf->eth_core_mask = rte_bitmap_init(RTE_MAX_LCORE, bitmap, in eh_conf_init() 1578 rte_free(bitmap); in eh_conf_init()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ethdev.c | 95 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 96 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 97 (h)->bitmap[idx] |= 1 << bit;\ 101 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 102 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 103 (h)->bitmap[idx] &= ~(1 << bit);\ 107 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 108 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 109 (r) = (h)->bitmap[idx] >> bit & 1;\
|
| H A D | ngbe_ethdev.h | 73 uint32_t bitmap[NGBE_HWSTRIP_BITMAP_SIZE]; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 124 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 125 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 126 (h)->bitmap[idx] |= 1 << bit;\ 130 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 131 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 132 (h)->bitmap[idx] &= ~(1 << bit);\ 136 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 137 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 138 (r) = (h)->bitmap[idx] >> bit & 1;\
|
| H A D | txgbe_ethdev.h | 165 uint32_t bitmap[TXGBE_HWSTRIP_BITMAP_SIZE]; member
|
| /dpdk/doc/guides/howto/ |
| H A D | vfd.rst | 238 ``queue_mask`` bitmap. It is not used to set the summary of the rate 378 The 0 in the TC bitmap means disabling the strict priority scheduling for this
|
| /dpdk/doc/api/ |
| H A D | doxy-api-index.md | 165 [bitmap] (@ref rte_bitmap.h)
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_ethdev.c | 194 mrvl_reserve_bit(int *bitmap, int max) in mrvl_reserve_bit() argument 196 int n = sizeof(*bitmap) * 8 - __builtin_clz(*bitmap); in mrvl_reserve_bit() 201 *bitmap |= 1 << n; in mrvl_reserve_bit()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.h | 240 uint32_t bitmap[IXGBE_HWSTRIP_BITMAP_SIZE]; member
|
| H A D | ixgbe_ethdev.c | 372 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 373 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 374 (h)->bitmap[idx] |= 1 << bit;\ 378 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 379 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 380 (h)->bitmap[idx] &= ~(1 << bit);\ 384 uint32_t idx = (q) / (sizeof((h)->bitmap[0]) * NBBY); \ 385 uint32_t bit = (q) % (sizeof((h)->bitmap[0]) * NBBY); \ 386 (r) = (h)->bitmap[idx] >> bit & 1;\
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | qos_framework.rst | 316 …| 5 | Active queues bitmap | 1 bit per queue | 1 | Wr (Set) | Rd, Wr … 335 … | | | | from the bitmap. … 369 #. Need to make the queue and bitmap operations thread safe, 378 which allows the queues and the bitmap operations to be non-thread safe and 434 #. Identify the next active pipe using the bitmap scan operation, *prefetch* pipe. 1138 The scheduler maintains the bitmap of active queues, which skips the non-active queues,
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_fdir.c | 1412 ret = rte_bitmap_scan(fdir_info->fdir_flow_pool.bitmap, &pos, in i40e_fdir_entry_pool_get() 1426 rte_bitmap_clear(fdir_info->fdir_flow_pool.bitmap, pos); in i40e_fdir_entry_pool_get() 1441 rte_bitmap_set(fdir_info->fdir_flow_pool.bitmap, f->idx); in i40e_fdir_entry_pool_put()
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | build_sample_apps.rst | 45 a set of core numbers instead of a bitmap core mask.
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_16_04.rst | 24 The structure ``rte_eth_dev_info`` now has a ``speed_capa`` bitmap, which 27 * **Added bitmap of link speeds to advertise.**
|
| /dpdk/drivers/baseband/fpga_5gnr_fec/ |
| H A D | rte_fpga_5gnr_fec.c | 822 check_bit(uint32_t bitmap, uint32_t bitmask) in check_bit() argument 824 return bitmap & bitmask; in check_bit()
|