| /dpdk/drivers/net/bnxt/tf_ulp/generic_templates/ |
| H A D | ulp_template_db_tbl.c | 564 .direction = TF_DIR_RX 572 .direction = TF_DIR_RX 580 .direction = TF_DIR_RX 588 .direction = TF_DIR_RX 596 .direction = TF_DIR_RX 604 .direction = TF_DIR_RX 612 .direction = TF_DIR_RX 620 .direction = TF_DIR_RX 628 .direction = TF_DIR_RX 636 .direction = TF_DIR_RX [all …]
|
| H A D | ulp_template_db_thor_act.c | 83 .direction = TF_DIR_RX, 105 .direction = TF_DIR_RX, 125 .direction = TF_DIR_RX, 145 .direction = TF_DIR_RX, 165 .direction = TF_DIR_RX, 182 .direction = TF_DIR_RX, 197 .direction = TF_DIR_RX, 218 .direction = TF_DIR_RX, 239 .direction = TF_DIR_RX, 261 .direction = TF_DIR_RX, [all …]
|
| H A D | ulp_template_db_wh_plus_act.c | 83 .direction = TF_DIR_RX, 105 .direction = TF_DIR_RX, 125 .direction = TF_DIR_RX, 147 .direction = TF_DIR_RX, 168 .direction = TF_DIR_RX, 186 .direction = TF_DIR_RX, 201 .direction = TF_DIR_RX, 222 .direction = TF_DIR_RX, 243 .direction = TF_DIR_RX, 265 .direction = TF_DIR_RX, [all …]
|
| H A D | ulp_template_db_wh_plus_class.c | 73 .direction = TF_DIR_RX, 94 .direction = TF_DIR_RX, 113 .direction = TF_DIR_RX, 126 .direction = TF_DIR_RX, 153 .direction = TF_DIR_RX, 176 .direction = TF_DIR_RX, 195 .direction = TF_DIR_RX, 207 .direction = TF_DIR_RX, 226 .direction = TF_DIR_RX, 252 .direction = TF_DIR_RX, [all …]
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb.c | 164 u32 max_frame_size, u8 direction) in txgbe_dcb_calculate_tc_credits_cee() argument 190 p = &dcb_config->tc_config[i].path[direction]; in txgbe_dcb_calculate_tc_credits_cee() 191 bw_percent = dcb_config->bw_percentage[p->bwg_id][direction]; in txgbe_dcb_calculate_tc_credits_cee() 212 p = &dcb_config->tc_config[i].path[direction]; in txgbe_dcb_calculate_tc_credits_cee() 213 bw_percent = dcb_config->bw_percentage[p->bwg_id][direction]; in txgbe_dcb_calculate_tc_credits_cee() 245 if (direction == TXGBE_DCB_TX_CONFIG) { in txgbe_dcb_calculate_tc_credits_cee() 290 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in txgbe_dcb_unpack_refill_cee() 309 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in txgbe_dcb_unpack_bwgid_cee() 319 tsa[tc] = tc_config[tc].path[direction].tsa; in txgbe_dcb_unpack_tsa_cee() 338 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in txgbe_dcb_get_tc_from_up() [all …]
|
| H A D | txgbe_dcb.h | 101 u32 max_frame_size, u8 direction); 109 void txgbe_dcb_unpack_refill_cee(struct txgbe_dcb_config *cfg, int direction, 112 void txgbe_dcb_unpack_bwgid_cee(struct txgbe_dcb_config *cfg, int direction, 114 void txgbe_dcb_unpack_tsa_cee(struct txgbe_dcb_config *cfg, int direction, 116 void txgbe_dcb_unpack_map_cee(struct txgbe_dcb_config *cfg, int direction, 118 u8 txgbe_dcb_get_tc_from_up(struct txgbe_dcb_config *cfg, int direction, u8 up);
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb.c | 66 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument 90 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee() 91 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee() 112 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee() 113 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee() 145 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee() 201 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee() 220 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee() 230 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee() 249 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up() [all …]
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_ipsec.h | 78 if (ipsec_xform->direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS && in ipsec_xform_aead_verify() 82 if (ipsec_xform->direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS && in ipsec_xform_aead_verify() 108 if ((ipsec_xform->direction != RTE_SECURITY_IPSEC_SA_DIR_INGRESS) && in cnxk_ipsec_xform_verify() 109 (ipsec_xform->direction != RTE_SECURITY_IPSEC_SA_DIR_EGRESS)) in cnxk_ipsec_xform_verify() 129 if (ipsec_xform->direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS) { in cnxk_ipsec_xform_verify() 162 if (ipsec_xform->direction == in cnxk_ipsec_xform_verify()
|
| H A D | cnxk_cryptodev_capabilities.c | 978 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS, 989 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 1000 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS, 1011 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 1022 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS, 1033 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 1044 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS, 1055 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 1221 if (sec_cap->ipsec.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) { in cn10k_sec_caps_update() 1242 if (sec_cap->ipsec.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) { in cn9k_sec_caps_update()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 100 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 200 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 302 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 408 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS, 509 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 611 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 716 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 824 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 929 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 1040 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, [all …]
|
| H A D | test_dmadev_api.c | 192 vchan_conf.direction = RTE_DMA_DIR_DEV_TO_DEV + 1; in check_direction() 195 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM - 1; in check_direction() 201 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_DEV; in check_direction() 204 vchan_conf.direction = RTE_DMA_DIR_DEV_TO_MEM; in check_direction() 207 vchan_conf.direction = RTE_DMA_DIR_DEV_TO_DEV; in check_direction() 222 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM; in check_port_type() 230 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM; in check_port_type() 272 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM; in test_dma_vchan_setup() 286 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM; in test_dma_vchan_setup() 307 vchan_conf.direction = RTE_DMA_DIR_MEM_TO_MEM; in setup_one_vchan()
|
| H A D | test_cryptodev_security_ipsec.c | 169 if ((ipsec_xform->direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) && in test_ipsec_sec_caps_verify() 178 if ((ipsec_xform->direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS) && in test_ipsec_sec_caps_verify() 307 td_in->ipsec_xform.direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS; in test_ipsec_td_in_from_out() 576 if (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) { in test_ipsec_tunnel_hdr_len_get() 748 if (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS && in test_ipsec_td_verify() 755 if (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS && in test_ipsec_td_verify() 785 if ((td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) && in test_ipsec_td_verify() 800 if ((td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS) && in test_ipsec_td_verify() 813 if ((td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_INGRESS) && in test_ipsec_td_verify() 867 res_d->ipsec_xform.direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS; in test_ipsec_res_d_prepare() [all …]
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_mapper.c | 537 .dir = res->direction, in ulp_mapper_index_entry_free() 851 fid_parms.direction = tbl->direction; in ulp_mapper_ident_process() 948 fid_parms.direction = tbl->direction; in ulp_mapper_ident_extract() 1680 fid_parms.direction = tbl->direction; in ulp_mapper_mark_gfid_process() 1728 fid_parms.direction = tbl->direction; in ulp_mapper_mark_act_ptr_process() 1776 fid_parms.direction = tbl->direction; in ulp_mapper_mark_vfr_idx_process() 2202 fid_parms.direction = tbl->direction; in ulp_mapper_tcam_tbl_process() 2373 fid_parms.direction = tbl->direction; in ulp_mapper_em_tbl_process() 2484 glb_res.direction = tbl->direction; in ulp_mapper_index_tbl_process() 2668 fid_parms.direction = tbl->direction; in ulp_mapper_index_tbl_process() [all …]
|
| H A D | ulp_template_struct.h | 270 uint8_t direction; member 342 enum tf_dir direction; member 351 enum tf_dir direction; member
|
| /dpdk/drivers/compress/qat/dev/ |
| H A D | qat_comp_pmd_gen1.c | 105 unsigned int algo, comp_level, direction; in qat_comp_set_slice_cfg_word_gen1() local 115 direction = ICP_QAT_HW_COMPRESSION_DIR_DECOMPRESS; in qat_comp_set_slice_cfg_word_gen1() 118 direction = ICP_QAT_HW_COMPRESSION_DIR_COMPRESS; in qat_comp_set_slice_cfg_word_gen1() 139 direction, in qat_comp_set_slice_cfg_word_gen1()
|
| /dpdk/lib/security/ |
| H A D | rte_security.h | 331 enum rte_security_ipsec_sa_direction direction; member 459 enum rte_security_docsis_direction direction; member 820 enum rte_security_ipsec_sa_direction direction; member 843 enum rte_security_docsis_direction direction; member 899 enum rte_security_ipsec_sa_direction direction; member 906 enum rte_security_docsis_direction direction; member
|
| H A D | rte_security.c | 188 capability->ipsec.direction == in rte_security_capability_get() 189 idx->ipsec.direction) in rte_security_capability_get() 197 if (capability->docsis.direction == in rte_security_capability_get() 198 idx->docsis.direction) in rte_security_capability_get()
|
| /dpdk/lib/dmadev/ |
| H A D | rte_dmadev.c | 597 if (conf->direction != RTE_DMA_DIR_MEM_TO_MEM && in rte_dma_vchan_setup() 598 conf->direction != RTE_DMA_DIR_MEM_TO_DEV && in rte_dma_vchan_setup() 599 conf->direction != RTE_DMA_DIR_DEV_TO_MEM && in rte_dma_vchan_setup() 600 conf->direction != RTE_DMA_DIR_DEV_TO_DEV) { in rte_dma_vchan_setup() 604 if (conf->direction == RTE_DMA_DIR_MEM_TO_MEM && in rte_dma_vchan_setup() 610 if (conf->direction == RTE_DMA_DIR_MEM_TO_DEV && in rte_dma_vchan_setup() 616 if (conf->direction == RTE_DMA_DIR_DEV_TO_MEM && in rte_dma_vchan_setup() 622 if (conf->direction == RTE_DMA_DIR_DEV_TO_DEV && in rte_dma_vchan_setup() 634 src_is_dev = conf->direction == RTE_DMA_DIR_DEV_TO_MEM || in rte_dma_vchan_setup() 635 conf->direction == RTE_DMA_DIR_DEV_TO_DEV; in rte_dma_vchan_setup() [all …]
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_mgmt.c | 107 enum hinic_msg_direction_type direction, in prepare_header() argument 119 HINIC_MSG_HEADER_SET(direction, DIRECTION) | in prepare_header() 274 enum hinic_msg_direction_type direction, in send_msg_to_mgmt_async() argument 282 if (direction == HINIC_MSG_RESPONSE) in send_msg_to_mgmt_async() 284 direction, cmd, resp_msg_id); in send_msg_to_mgmt_async() 287 direction, cmd, ASYNC_MSG_ID(pf_to_mgmt)); in send_msg_to_mgmt_async() 313 enum hinic_msg_direction_type direction, in send_msg_to_mgmt_sync() argument 329 if (direction == HINIC_MSG_RESPONSE) in send_msg_to_mgmt_sync() 331 direction, cmd, resp_msg_id); in send_msg_to_mgmt_sync() 334 direction, cmd, SYNC_MSG_ID(pf_to_mgmt)); in send_msg_to_mgmt_sync()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec.c | 100 .direction = sa->direction, in create_lookaside_session() 173 .direction = sa->direction, in create_inline_session() 271 sec_cap->ipsec.direction == sa->direction) in create_inline_session() 335 sa->attr.egress = (sa->direction == in create_inline_session() 337 sa->attr.ingress = (sa->direction == in create_inline_session() 477 sec_cap->ipsec.direction == sa->direction) in create_inline_session() 500 if (sa->direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) { in create_ipsec_esp_flow()
|
| /dpdk/lib/pcapng/ |
| H A D | rte_pcapng.c | 414 enum rte_pcapng_direction direction) in rte_pcapng_copy() argument 436 if ((direction == RTE_PCAPNG_DIRECTION_IN && in rte_pcapng_copy() 438 (direction == RTE_PCAPNG_DIRECTION_OUT && in rte_pcapng_copy() 445 if ((direction == RTE_PCAPNG_DIRECTION_IN && in rte_pcapng_copy() 447 (direction == RTE_PCAPNG_DIRECTION_OUT && in rte_pcapng_copy() 471 switch (direction) { in rte_pcapng_copy()
|
| /dpdk/lib/ethdev/ |
| H A D | ethdev_driver.h | 884 uint32_t direction); 938 struct rte_hairpin_peer_info *peer_info, uint32_t direction); 943 struct rte_hairpin_peer_info *peer_info, uint32_t direction); 947 (struct rte_eth_dev *dev, uint16_t cur_queue, uint32_t direction); 1718 uint32_t direction); 1744 uint32_t direction); 1785 uint32_t direction);
|
| H A D | ethdev_driver.c | 552 uint32_t direction) in rte_eth_hairpin_queue_peer_bind() argument 565 peer_info, direction); in rte_eth_hairpin_queue_peer_bind() 570 uint32_t direction) in rte_eth_hairpin_queue_peer_unbind() argument 580 direction); in rte_eth_hairpin_queue_peer_unbind() 587 uint32_t direction) in rte_eth_hairpin_queue_peer_update() argument 601 cur_info, peer_info, direction); in rte_eth_hairpin_queue_peer_update()
|
| /dpdk/doc/guides/rawdevs/ |
| H A D | cnxk_gpio.rst | 20 - set GPIO direction 103 Set GPIO direction 106 Message is used to change GPIO direction to either input or output. 147 Get GPIO direction 150 Message is used to read GPIO direction.
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_capabilities.c | 235 .direction = RTE_SECURITY_IPSEC_SA_DIR_EGRESS, 246 .direction = RTE_SECURITY_IPSEC_SA_DIR_INGRESS,
|