| /dpdk/drivers/net/sfc/ |
| H A D | sfc_flow_tunnel.h | 31 RTE_LEN2MASK(SFC_FT_USER_MARK_BITS, uint32_t) 51 (RTE_LEN2MASK(SFC_FT_TUNNEL_MARK_BITS, uint8_t) - 1)
|
| H A D | sfc_mae.c | 3278 rte_cpu_to_be_16(RTE_LEN2MASK(12, uint16_t))); in sfc_mae_rule_parse_action_of_set_vlan_vid() 3287 RTE_LEN2MASK(3, uint8_t)) << 13; in sfc_mae_rule_parse_action_of_set_vlan_pcp()
|
| /dpdk/lib/acl/ |
| H A D | acl_run_avx512x8.h | 46 #define _SIMD_MASK_MAX_ RTE_LEN2MASK(_SIMD_MASK_BIT_, uint32_t) 53 #define _SIMD_PTR_MSK_ RTE_LEN2MASK(_SIMD_PTR_NUM_, uint32_t)
|
| H A D | acl_run_avx512x16.h | 46 #define _SIMD_MASK_MAX_ RTE_LEN2MASK(_SIMD_MASK_BIT_, uint32_t) 53 #define _SIMD_PTR_MSK_ RTE_LEN2MASK(_SIMD_PTR_NUM_, uint32_t)
|
| H A D | rte_acl.h | 89 RTE_ACL_MAX_INDEX = RTE_LEN2MASK(RTE_ACL_TYPE_SHIFT, uint32_t),
|
| H A D | rte_acl.c | 453 if ((RTE_LEN2MASK(RTE_ACL_MAX_CATEGORIES, typeof(rd->category_mask)) & in acl_check_rule()
|
| H A D | acl_bld.c | 1082 uint64_t msk_val = RTE_LEN2MASK(bit_len, in acl_calc_wildness() 1512 bcx->category_mask = RTE_LEN2MASK(bcx->cfg.num_categories, in acl_bld()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.h | 84 #define ICE_4_BIT_MASK RTE_LEN2MASK(ICE_4_BIT_WIDTH, uint8_t) 92 #define ICE_40_BIT_MASK RTE_LEN2MASK(ICE_40_BIT_WIDTH, uint64_t) 94 #define ICE_48_BIT_MASK RTE_LEN2MASK(ICE_48_BIT_WIDTH, uint64_t)
|
| H A D | ice_dcf_ethdev.c | 1289 #define ICE_DCF_48_BIT_MASK RTE_LEN2MASK(ICE_DCF_48_BIT_WIDTH, uint64_t)
|
| /dpdk/lib/bpf/ |
| H A D | bpf_validate.c | 99 #define ALL_REGS RTE_LEN2MASK(EBPF_REG_NUM, uint16_t) 100 #define WRT_REGS RTE_LEN2MASK(EBPF_REG_10, uint16_t) 101 #define ZERO_REG RTE_LEN2MASK(EBPF_REG_1, uint16_t) 293 if (rd->u.max > RTE_LEN2MASK(opsz - rs->u.max, uint64_t)) in eval_lsh() 302 RTE_LEN2MASK(opsz - rs->u.max - 1, int64_t)) in eval_lsh() 373 return RTE_LEN2MASK(opsz - v, uint64_t); in eval_umax_bits() 646 msk = RTE_LEN2MASK(opsz, uint64_t); in eval_alu() 711 msk = RTE_LEN2MASK(ins->imm, uint64_t); in eval_bele() 807 msk = RTE_LEN2MASK(opsz * CHAR_BIT, uint64_t); in eval_load() 889 msk = RTE_LEN2MASK(opsz * CHAR_BIT, uint64_t); in eval_store() [all …]
|
| /dpdk/lib/ipsec/ |
| H A D | sa.c | 16 #define MBUF_MAX_L2_LEN RTE_LEN2MASK(RTE_MBUF_L2_LEN_BITS, uint64_t) 17 #define MBUF_MAX_L3_LEN RTE_LEN2MASK(RTE_MBUF_L3_LEN_BITS, uint64_t)
|
| /dpdk/lib/eal/include/ |
| H A D | rte_common.h | 858 #define RTE_LEN2MASK(ln, tp) \ macro
|
| /dpdk/lib/pipeline/ |
| H A D | rte_port_in_action.c | 461 uint64_t pkt_mask = RTE_LEN2MASK(n_pkts, uint64_t); in ah_lb()
|
| H A D | rte_pipeline.c | 1325 p->pkts_mask = RTE_LEN2MASK(n_pkts, uint64_t); in rte_pipeline_run()
|
| H A D | rte_table_action.c | 224 if (p->tc_mask > RTE_LEN2MASK(cfg->n_tc, uint32_t)) in mtr_apply_check() 2725 (tc_mask > RTE_LEN2MASK(action->cfg.mtr.n_tc, uint32_t))) in rte_table_action_meter_read()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf.h | 87 #define IAVF_48_BIT_MASK RTE_LEN2MASK(IAVF_48_BIT_WIDTH, uint64_t)
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.h | 80 #define I40E_4_BIT_MASK RTE_LEN2MASK(I40E_4_BIT_WIDTH, uint8_t) 88 #define I40E_48_BIT_MASK RTE_LEN2MASK(I40E_48_BIT_WIDTH, uint64_t)
|
| /dpdk/lib/flow_classify/ |
| H A D | rte_flow_classify.c | 598 pkts_mask = RTE_LEN2MASK(nb_pkts, uint64_t); in flow_classifier_lookup()
|
| /dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 897 if (enabled_port_mask & ~(RTE_LEN2MASK(nb_ports, unsigned))) in main()
|
| /dpdk/examples/ip_reassembly/ |
| H A D | main.c | 1032 if (enabled_port_mask & ~(RTE_LEN2MASK(nb_ports, unsigned))) in main()
|
| /dpdk/app/test-acl/ |
| H A D | main.c | 780 v.data.category_mask = RTE_LEN2MASK(RTE_ACL_MAX_CATEGORIES, in add_cb_rules()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 753 intr_mask = RTE_LEN2MASK(nb_efd, uint32_t) << misc_shift; in igc_configure_msix_intr() 821 mask = RTE_LEN2MASK(nb_efd, uint32_t) << misc_shift; in igc_rxq_interrupt_setup()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_ethdev.c | 47 #define IGB_4_BIT_MASK RTE_LEN2MASK(IGB_4_BIT_WIDTH, uint8_t) 5251 intr_mask = RTE_LEN2MASK(nb_efd, uint32_t) << misc_shift; in eth_igb_configure_msix_intr() 5273 intr_mask = RTE_LEN2MASK(nb_efd, uint32_t) << misc_shift; in eth_igb_configure_msix_intr()
|
| /dpdk/drivers/raw/ntb/ |
| H A D | ntb.c | 1400 hw->db_valid_mask = RTE_LEN2MASK(hw->db_cnt, uint64_t); in ntb_init_hw()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 1535 RTE_LEN2MASK((uint8_t)dcb_rx_conf->nb_tcs, uint8_t); in hns3_dcb_hw_configure()
|