Home
last modified time | relevance | path

Searched refs:pat (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/net/ice/base/
H A Dice_tmatch.h9 bool ice_ternary_match_byte(u8 key, u8 key_inv, u8 pat) in ice_ternary_match_byte() argument
17 v = (u8)(pat & (1 << i)); in ice_ternary_match_byte()
33 const u8 *pat, int len) in ice_ternary_match() argument
38 if (!ice_ternary_match_byte(key[i], key_inv[i], pat[i])) in ice_ternary_match()
H A Dice_ptype_mk.c64 u8 *pat, int len) in ice_ptype_mk_tcam_match() argument
71 if (ice_ternary_match(item->key, item->key_inv, pat, len)) in ice_ptype_mk_tcam_match()
H A Dice_ptype_mk.h20 u8 *pat, int len);
H A Dice_bst_tcam.h30 ice_bst_tcam_match(struct ice_bst_tcam_item *tcam_table, u8 *pat);
H A Dice_bst_tcam.c249 ice_bst_tcam_match(struct ice_bst_tcam_item *tcam_table, u8 *pat) in ice_bst_tcam_match() argument
258 if (ice_ternary_match(item->key, item->key_inv, pat, 20)) in ice_bst_tcam_match()
/dpdk/drivers/net/i40e/base/
H A Di40e_diag.c36 u32 pat, val, orig_val; in i40e_diag_reg_pattern_test() local
41 pat = patterns[i]; in i40e_diag_reg_pattern_test()
42 wr32(hw, reg, (pat & mask)); in i40e_diag_reg_pattern_test()
44 if ((val & mask) != (pat & mask)) { in i40e_diag_reg_pattern_test()
/dpdk/app/test-pmd/
H A Dconfig.c2324 struct port_template *pat; in port_flow_actions_template_create() local
2339 if (!pat->template.actions_template) { in port_flow_actions_template_create()
2340 uint32_t destroy_id = pat->id; in port_flow_actions_template_create()
2344 printf("Actions template #%u created\n", pat->id); in port_flow_actions_template_create()
2368 struct port_template *pat = *tmp; in port_flow_actions_template_destroy() local
2370 if (template[i] != pat->id) in port_flow_actions_template_destroy()
2378 if (pat->template.actions_template && in port_flow_actions_template_destroy()
2380 pat->template.actions_template, &error)) { in port_flow_actions_template_destroy()
2384 *tmp = pat->next; in port_flow_actions_template_destroy()
2385 printf("Actions template #%u destroyed\n", pat->id); in port_flow_actions_template_destroy()
[all …]