Home
last modified time | relevance | path

Searched refs:pst (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_npc_parse.c20 PLT_SET_USED(pst); in npc_parse_meta_items()
32 pst->pattern++; in npc_parse_mark_item()
302 if (!(pst->npc->keyx_supp_nmask[pst->nix_intf] & in npc_parse_lb()
479 pst->tunnel = 1; in npc_parse_mpls()
480 pst->pattern = pst->last_pattern; in npc_parse_mpls()
494 pst->tunnel = 1; in npc_check_lc_ip_tunnel()
713 pst->tunnel = 1; in npc_parse_ld()
736 if (pst->tunnel) in npc_parse_le()
792 pst->tunnel = 1; in npc_parse_le()
813 if (!pst->tunnel) in npc_parse_lf()
[all …]
H A Droc_npc_mcam.c534 struct npc_parse_state *pst) in npc_mcam_alloc_and_write() argument
547 PLT_SET_USED(pst); in npc_mcam_alloc_and_write()
645 __builtin_popcount(pst->npc->keyx_supp_nmask[pst->nix_intf] & in npc_set_vlan_ltype()
656 pst->flow->mcam_data[0] |= val; in npc_set_vlan_ltype()
667 __builtin_popcount(pst->npc->keyx_supp_nmask[pst->nix_intf] & in npc_set_ipv6ext_ltype_mask()
690 __builtin_popcount(pst->npc->keyx_supp_nmask[pst->nix_intf] & in npc_set_ipv6ext_ltype_mask()
729 lt = pst->lt[lid] & 0xf; in npc_program_mcam()
771 if (pst->set_vlan_ltype_mask) in npc_program_mcam()
772 npc_set_vlan_ltype(pst); in npc_program_mcam()
777 if (pst->is_vf && pst->flow->nix_intf == NIX_INTF_RX) { in npc_program_mcam()
[all …]
H A Droc_npc_priv.h406 struct npc_parse_state *pst);
426 int npc_parse_pre_l2(struct npc_parse_state *pst);
428 int npc_parse_cpt_hdr(struct npc_parse_state *pst);
429 int npc_parse_la(struct npc_parse_state *pst);
430 int npc_parse_lb(struct npc_parse_state *pst);
431 int npc_parse_lc(struct npc_parse_state *pst);
432 int npc_parse_ld(struct npc_parse_state *pst);
433 int npc_parse_le(struct npc_parse_state *pst);
434 int npc_parse_lf(struct npc_parse_state *pst);
435 int npc_parse_lg(struct npc_parse_state *pst);
[all …]
H A Droc_npc_utils.c70 intf = pst->nix_intf; in npc_get_hw_supp_mask()
81 lf_cfg = pst->npc->prx_lfcfg[i].i; in npc_get_hw_supp_mask()
222 pst->layer_mask |= lid; in npc_update_parse_state()
223 pst->lt[lid] = lt; in npc_update_parse_state()
224 pst->flags[lid] = flags; in npc_update_parse_state()
226 intf = pst->nix_intf; in npc_update_parse_state()
229 pst->terminate = 1; in npc_update_parse_state()
244 lf_cfg = pst->npc->prx_lfcfg[i].i; in npc_update_parse_state()
254 pst->flags[lid] = j; in npc_update_parse_state()
260 dump = &pst->flow->dump_data[pst->flow->num_patterns++]; in npc_update_parse_state()
[all …]
H A Droc_npc.c653 memset(pst, 0, sizeof(*pst)); in npc_parse_pattern()
654 pst->npc = npc; in npc_parse_pattern()
655 pst->flow = flow; in npc_parse_pattern()
658 key_offset = pst->npc->keyx_len[flow->nix_intf]; in npc_parse_pattern()
662 pst->mcam_data = (uint8_t *)flow->mcam_data; in npc_parse_pattern()
663 pst->mcam_mask = (uint8_t *)flow->mcam_mask; in npc_parse_pattern()
670 pst->pattern = pattern; in npc_parse_pattern()
671 rc = parse_stage_funcs[layer](pst); in npc_parse_pattern()
681 pattern = pst->pattern; in npc_parse_pattern()
683 if (pst->terminate) in npc_parse_pattern()
[all …]
/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c1607 pst.dir = 1; in ccp_perform_hmac()
1658 pst.dir = 0; in ccp_perform_hmac()
1666 pst.dir = 0; in ccp_perform_hmac()
1675 pst.dir = 0; in ccp_perform_hmac()
1690 pst.dir = 1; in ccp_perform_hmac()
1740 pst.dir = 0; in ccp_perform_hmac()
1788 pst.dir = 1; in ccp_perform_sha()
1834 pst.dir = 0; in ccp_perform_sha()
2221 pst.dir = 0; in ccp_perform_aes_cmac()
2471 pst.dir = 1; in ccp_perform_aes_gcm()
[all …]