Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 119) sorted by relevance

12345

/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c279 if ((item->spec || item->mask) && in cons_parse_ntuple_filter()
312 if ((item->spec || item->mask) && in cons_parse_ntuple_filter()
335 if (!item->spec || !item->mask) { in cons_parse_ntuple_filter()
402 (!item->spec && !item->mask)) { in cons_parse_ntuple_filter()
408 (!item->spec || !item->mask)) { in cons_parse_ntuple_filter()
733 if (!item->spec || !item->mask) { in cons_parse_ethertype_filter()
986 if (item->spec || item->mask) { in cons_parse_syn_filter()
1008 if (item->spec || item->mask) { in cons_parse_syn_filter()
1026 if (!item->spec || !item->mask) { in cons_parse_syn_filter()
1232 if (!item->spec || !item->mask) { in cons_parse_l2_tn_filter()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c296 if (!item->spec || !item->mask) { in cons_parse_ntuple_filter()
363 (!item->spec && !item->mask)) { in cons_parse_ntuple_filter()
369 (!item->spec || !item->mask)) { in cons_parse_ntuple_filter()
695 if (!item->spec || !item->mask) { in cons_parse_ethertype_filter()
945 if (item->spec || item->mask) { in cons_parse_syn_filter()
967 if (item->spec || item->mask) { in cons_parse_syn_filter()
985 if (!item->spec || !item->mask) { in cons_parse_syn_filter()
1188 if (!item->spec || !item->mask) { in cons_parse_l2_tn_filter()
2247 if (item->spec || item->mask) { in txgbe_parse_fdir_filter_tunnel()
2278 if (item->spec || item->mask) { in txgbe_parse_fdir_filter_tunnel()
[all …]
/dpdk/lib/flow_classify/
H A Drte_flow_classify_parse.c72 item++; in classify_find_first_item()
74 return item; in classify_find_first_item()
120 item++; in classify_match_pattern()
238 item, in classify_parse_ntuple_filter()
244 if (item->spec || item->mask) { in classify_parse_ntuple_filter()
247 item, in classify_parse_ntuple_filter()
257 item, in classify_parse_ntuple_filter()
264 if (!item->spec || !item->mask) { in classify_parse_ntuple_filter()
271 if (item->last) { in classify_parse_ntuple_filter()
320 if (!item->spec || !item->mask) { in classify_parse_ntuple_filter()
[all …]
/dpdk/drivers/net/ice/base/
H A Dice_metainit.c17 ice_info(hw, "index = %d\n", item->idx); in ice_metainit_dump()
18 ice_info(hw, "tsr = %d\n", item->tsr); in ice_metainit_dump()
19 ice_info(hw, "ho = %d\n", item->ho); in ice_metainit_dump()
20 ice_info(hw, "pc = %d\n", item->pc); in ice_metainit_dump()
21 ice_info(hw, "pg_rn = %d\n", item->pg_rn); in ice_metainit_dump()
22 ice_info(hw, "cd = %d\n", item->cd); in ice_metainit_dump()
23 ice_info(hw, "gpr_a_ctrl = %d\n", item->gpr_a_ctrl); in ice_metainit_dump()
27 ice_info(hw, "gpr_a_id = %d\n", item->gpr_a_id); in ice_metainit_dump()
32 ice_info(hw, "gpr_b_id = %d\n", item->gpr_b_id); in ice_metainit_dump()
37 ice_info(hw, "gpr_c_id = %d\n", item->gpr_c_id); in ice_metainit_dump()
[all …]
H A Dice_pg_cam.c59 _pg_cam_key_dump(hw, &item->key); in ice_pg_cam_dump()
60 _pg_cam_action_dump(hw, &item->action); in ice_pg_cam_dump()
71 _pg_nm_cam_key_dump(hw, &item->key); in ice_pg_nm_cam_dump()
303 if (!item->key.valid || in _pg_cam_match()
305 item->key.flag0 != key->flag0 || in _pg_cam_match()
306 item->key.flag1 != key->flag1 || in _pg_cam_match()
320 if (!item->key.valid || in _pg_nm_cam_match()
347 if (_pg_cam_match(item, key)) in ice_pg_cam_match()
348 return item; in ice_pg_cam_match()
369 if (_pg_nm_cam_match(item, key)) in ice_pg_nm_cam_match()
[all …]
H A Dice_ptype_mk.c16 struct ice_ptype_mk_tcam_item *item) in ice_ptype_mk_tcam_dump() argument
20 ice_info(hw, "address = %d\n", item->address); in ice_ptype_mk_tcam_dump()
21 ice_info(hw, "ptype = %d\n", item->ptype); in ice_ptype_mk_tcam_dump()
24 ice_info(hw, "%02x ", item->key[i]); in ice_ptype_mk_tcam_dump()
28 ice_info(hw, "%02x ", item->key_inv[i]); in ice_ptype_mk_tcam_dump()
32 static void _parse_ptype_mk_tcam_item(struct ice_hw *hw, u16 idx, void *item, in _parse_ptype_mk_tcam_item() argument
35 ice_parse_item_dflt(hw, idx, item, data, size); in _parse_ptype_mk_tcam_item()
39 (struct ice_ptype_mk_tcam_item *)item); in _parse_ptype_mk_tcam_item()
69 struct ice_ptype_mk_tcam_item *item = &table[i]; in ice_ptype_mk_tcam_match() local
71 if (ice_ternary_match(item->key, item->key_inv, pat, len)) in ice_ptype_mk_tcam_match()
[all …]
H A Dice_bst_tcam.c66 ice_info(hw, "%02x ", item->key[i]); in ice_bst_tcam_dump()
70 ice_info(hw, "%02x ", item->key_inv[i]); in ice_bst_tcam_dump()
73 ice_info(hw, "pg_pri = %d\n", item->pg_pri); in ice_bst_tcam_dump()
74 _bst_np_kb_dump(hw, &item->np_kb); in ice_bst_tcam_dump()
75 _bst_pg_kb_dump(hw, &item->pg_kb); in ice_bst_tcam_dump()
76 _bst_alu_dump(hw, &item->alu0, 0); in ice_bst_tcam_dump()
77 _bst_alu_dump(hw, &item->alu1, 1); in ice_bst_tcam_dump()
78 _bst_alu_dump(hw, &item->alu2, 2); in ice_bst_tcam_dump()
256 if (item->hit_idx_grp == 0) in ice_bst_tcam_match()
258 if (ice_ternary_match(item->key, item->key_inv, pat, 20)) in ice_bst_tcam_match()
[all …]
H A Dice_flg_rd.c15 void ice_flg_rd_dump(struct ice_hw *hw, struct ice_flg_rd_item *item) in ice_flg_rd_dump() argument
17 ice_info(hw, "index = %d\n", item->idx); in ice_flg_rd_dump()
18 ice_info(hw, "expose = %d\n", item->expose); in ice_flg_rd_dump()
19 ice_info(hw, "intr_flg_id = %d\n", item->intr_flg_id); in ice_flg_rd_dump()
27 static void _flg_rd_parse_item(struct ice_hw *hw, u16 idx, void *item, in _flg_rd_parse_item() argument
30 struct ice_flg_rd_item *rdi = (struct ice_flg_rd_item *)item; in _flg_rd_parse_item()
66 struct ice_flg_rd_item *item = &table[i]; in ice_flg_redirect() local
68 if (!item->expose) in ice_flg_redirect()
71 if (psr_flg & (1ul << item->intr_flg_id)) in ice_flg_redirect()
H A Dice_parser.c117 void *item, void *data, in ice_parser_create_table() argument
344 struct ice_bst_tcam_item *item; in _bst_vm_set() local
351 if (!item) in _bst_vm_set()
381 if (!item) in _tunnel_port_set()
385 if (on && item->key[16] == 0xfe && item->key_inv[16] == 0xfe) { in _tunnel_port_set()
386 item->key_inv[15] = buf[0]; in _tunnel_port_set()
387 item->key_inv[16] = buf[1]; in _tunnel_port_set()
395 item->key_inv[15] = 0xff; in _tunnel_port_set()
396 item->key_inv[16] = 0xfe; in _tunnel_port_set()
397 item->key[15] = 0xff; in _tunnel_port_set()
[all …]
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c89 for (item = patterns; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in ipn3ke_pattern_vxlan()
153 for (item = patterns; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in ipn3ke_pattern_mac()
154 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_mac()
215 for (item = patterns; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in ipn3ke_pattern_qinq()
216 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_qinq()
284 for (item = patterns; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in ipn3ke_pattern_mpls()
285 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_mpls()
359 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_tcp()
424 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_udp()
492 if (!item->spec || item->mask || item->last) { in ipn3ke_pattern_ip_nvgre()
[all …]
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_flow.c225 if (!item->spec || !item->mask) { in hinic_check_ethertype_first_item()
340 item = next_no_void_pattern(pattern, item); in cons_parse_ethertype_filter()
514 if (item->spec || item->mask) { in hinic_ntuple_item_check_ether()
521 item = next_no_void_pattern(pattern, item); in hinic_ntuple_item_check_ether()
545 if (!item->spec || !item->mask) { in hinic_ntuple_item_check_ipv4()
608 (!item->spec || !item->mask)) { in hinic_ntuple_item_check_l4()
836 if (item->spec || item->mask) { in hinic_normal_item_check_ether()
843 item = next_no_void_pattern(pattern, item); in hinic_normal_item_check_ether()
921 item = next_no_void_pattern(pattern, item); in hinic_normal_item_check_ip()
992 item = next_no_void_pattern(pattern, item); in hinic_normal_item_check_ip()
[all …]
/dpdk/drivers/net/e1000/
H A Digb_flow.c153 if (item->spec || item->mask) { in cons_parse_ntuple_filter()
171 if (!item->spec || !item->mask) { in cons_parse_ntuple_filter()
178 if (item->last) { in cons_parse_ntuple_filter()
237 if (item->spec && item->mask) { in cons_parse_ntuple_filter()
279 if (item->spec && item->mask) { in cons_parse_ntuple_filter()
304 if (item->spec && item->mask) { in cons_parse_ntuple_filter()
325 item->spec; in cons_parse_ntuple_filter()
544 if (!item->spec || !item->mask) { in cons_parse_ethertype_filter()
818 if (item->spec || item->mask) { in cons_parse_syn_filter()
841 if (item->spec || item->mask) { in cons_parse_syn_filter()
[all …]
/dpdk/lib/gro/
H A Dgro_tcp4.h216 pkt_head = item->firstseg; in merge_two_tcp4_packets()
220 pkt_tail = item->firstseg; in merge_two_tcp4_packets()
236 item->lastseg->next = pkt; in merge_two_tcp4_packets()
239 item->ip_id = ip_id; in merge_two_tcp4_packets()
242 lastseg->next = item->firstseg; in merge_two_tcp4_packets()
243 item->firstseg = pkt; in merge_two_tcp4_packets()
245 item->sent_seq = sent_seq; in merge_two_tcp4_packets()
246 item->ip_id = ip_id; in merge_two_tcp4_packets()
248 item->nb_merged++; in merge_two_tcp4_packets()
295 (ip_id == item->ip_id + 1))) in check_seq_option()
[all …]
H A Dgro_udp4.h205 pkt_head = item->firstseg; in merge_two_udp4_packets()
209 pkt_tail = item->firstseg; in merge_two_udp4_packets()
225 item->lastseg->next = pkt; in merge_two_udp4_packets()
226 item->lastseg = rte_pktmbuf_lastseg(pkt); in merge_two_udp4_packets()
229 lastseg->next = item->firstseg; in merge_two_udp4_packets()
230 item->firstseg = pkt; in merge_two_udp4_packets()
231 item->frag_offset = frag_offset; in merge_two_udp4_packets()
233 item->nb_merged++; in merge_two_udp4_packets()
235 item->is_last_frag = is_last_frag; in merge_two_udp4_packets()
253 struct rte_mbuf *pkt_orig = item->firstseg; in udp4_check_neighbor()
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c322 item, in flow_item_raw_preprocess()
329 item, in flow_item_raw_preprocess()
336 item, in flow_item_raw_preprocess()
343 item, in flow_item_raw_preprocess()
349 item, in flow_item_raw_preprocess()
356 item, in flow_item_raw_preprocess()
364 item, in flow_item_raw_preprocess()
371 item, in flow_item_raw_preprocess()
418 item, in flow_item_proto_preprocess()
432 if (item->last || item->mask) in flow_item_proto_preprocess()
[all …]
/dpdk/drivers/net/igc/
H A Digc_flow.c163 if (item == NULL) { in igc_parse_patterns()
169 for (; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in igc_parse_patterns()
174 RTE_FLOW_ERROR_TYPE_ITEM, item, in igc_parse_patterns()
177 if (item->last) in igc_parse_patterns()
183 if (!!item->spec ^ !!item->mask) in igc_parse_patterns()
185 RTE_FLOW_ERROR_TYPE_ITEM, item, in igc_parse_patterns()
190 pattern_parse_list[item->type]; in igc_parse_patterns()
193 RTE_FLOW_ERROR_TYPE_ITEM, item, in igc_parse_patterns()
197 ret = parse_func(item, filter, error); in igc_parse_patterns()
204 RTE_FLOW_ERROR_TYPE_ITEM, item, in igc_parse_patterns()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_flow.c3421 if (item->spec || item->mask) { in i40e_flow_parse_l4_pattern()
3435 if (item->spec || item->mask) { in i40e_flow_parse_l4_pattern()
3449 if (item->spec || item->mask) { in i40e_flow_parse_l4_pattern()
3741 if (item->spec || item->mask) { in i40e_flow_parse_vxlan_pattern()
3754 if (item->spec || item->mask) { in i40e_flow_parse_vxlan_pattern()
3766 if (item->spec || item->mask) { in i40e_flow_parse_vxlan_pattern()
3972 if (item->spec || item->mask) { in i40e_flow_parse_nvgre_pattern()
3985 if (item->spec || item->mask) { in i40e_flow_parse_nvgre_pattern()
4146 if (item->spec || item->mask) { in i40e_flow_parse_mpls_pattern()
4159 if (item->spec || item->mask) { in i40e_flow_parse_mpls_pattern()
[all …]
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.h85 ulp_rte_pf_hdr_handler(const struct rte_flow_item *item,
90 ulp_rte_vf_hdr_handler(const struct rte_flow_item *item,
95 ulp_rte_port_hdr_handler(const struct rte_flow_item *item,
105 ulp_rte_eth_hdr_handler(const struct rte_flow_item *item,
110 ulp_rte_vlan_hdr_handler(const struct rte_flow_item *item,
115 ulp_rte_ipv4_hdr_handler(const struct rte_flow_item *item,
120 ulp_rte_ipv6_hdr_handler(const struct rte_flow_item *item,
125 ulp_rte_udp_hdr_handler(const struct rte_flow_item *item,
130 ulp_rte_tcp_hdr_handler(const struct rte_flow_item *item,
140 ulp_rte_gre_hdr_handler(const struct rte_flow_item *item,
[all …]
H A Dulp_rte_parser.c32 if (!*item) in ulp_rte_item_skip_void()
35 (*item)++; in ulp_rte_item_skip_void()
36 while ((*item) && (*item)->type == RTE_FLOW_ITEM_TYPE_VOID) in ulp_rte_item_skip_void()
37 (*item)++; in ulp_rte_item_skip_void()
38 if (*item) in ulp_rte_item_skip_void()
139 while (item && item->type != RTE_FLOW_ITEM_TYPE_END) { in bnxt_ulp_rte_parser_hdr_parse()
140 if (item->type >= (typeof(item->type)) in bnxt_ulp_rte_parser_hdr_parse()
164 item++; in bnxt_ulp_rte_parser_hdr_parse()
171 item->type); in bnxt_ulp_rte_parser_hdr_parse()
2002 if (!item) { in ulp_rte_vxlan_encap_act_handler()
[all …]
/dpdk/drivers/net/enic/
H A Denic_flow.c387 const struct rte_flow_item *item = arg->item; in enic_copy_item_ipv4_v1() local
425 const struct rte_flow_item *item = arg->item; in enic_copy_item_udp_v1() local
464 const struct rte_flow_item *item = arg->item; in enic_copy_item_tcp_v1() local
642 const struct rte_flow_item *item = arg->item; in enic_copy_item_eth_v2() local
682 const struct rte_flow_item *item = arg->item; in enic_copy_item_vlan_v2() local
734 const struct rte_flow_item *item = arg->item; in enic_copy_item_ipv4_v2() local
763 const struct rte_flow_item *item = arg->item; in enic_copy_item_ipv6_v2() local
792 const struct rte_flow_item *item = arg->item; in enic_copy_item_udp_v2() local
821 const struct rte_flow_item *item = arg->item; in enic_copy_item_tcp_v2() local
850 const struct rte_flow_item *item = arg->item; in enic_copy_item_sctp_v2() local
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c501 if (item->spec == NULL && item->mask == NULL) in hns3_parse_eth()
546 if (item->spec == NULL && item->mask == NULL) in hns3_parse_vlan()
599 if (item->spec == NULL && item->mask == NULL) in hns3_parse_ipv4()
658 if (item->spec == NULL && item->mask == NULL) in hns3_parse_ipv6()
721 if (item->spec == NULL && item->mask == NULL) in hns3_parse_tcp()
764 if (item->spec == NULL && item->mask == NULL) in hns3_parse_udp()
806 if (item->spec == NULL && item->mask == NULL) in hns3_parse_sctp()
1059 if (item->spec == NULL && item->mask) in hns3_parse_tunnel()
1064 else if (item->spec && (item->mask == NULL)) in hns3_parse_tunnel()
1098 if (item->spec == NULL && item->mask) in hns3_parse_normal()
[all …]
/dpdk/drivers/net/iavf/
H A Diavf_fdir.c756 for (item = pattern; item->type != RTE_FLOW_ITEM_TYPE_END; item++) { in iavf_fdir_parse_pattern()
757 item_type = item->type; in iavf_fdir_parse_pattern()
769 eth_spec = item->spec; in iavf_fdir_parse_pattern()
770 eth_mask = item->mask; in iavf_fdir_parse_pattern()
811 item, in iavf_fdir_parse_pattern()
1042 udp_spec = item->spec; in iavf_fdir_parse_pattern()
1043 udp_mask = item->mask; in iavf_fdir_parse_pattern()
1286 ah_spec = item->spec; in iavf_fdir_parse_pattern()
1287 ah_mask = item->mask; in iavf_fdir_parse_pattern()
1484 if (!item) in iavf_fdir_parse()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_flex.c94 return item; in mlx5_flex_alloc()
109 item->devx_fp = NULL; in mlx5_flex_free()
233 MLX5_ASSERT(item->spec && item->mask); in mlx5_flex_flow_translate_item()
234 spec = item->spec; in mlx5_flex_flow_translate_item()
235 mask = item->mask; in mlx5_flex_flow_translate_item()
771 trans = &item->map[item->mapnum]; in mlx5_flex_map_sample()
775 item->mapnum++; in mlx5_flex_map_sample()
807 trans = &item->map[item->mapnum]; in mlx5_flex_map_sample()
808 item->mapnum++; in mlx5_flex_map_sample()
949 item->mapnum = 0; in mlx5_flex_translate_sample()
[all …]
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c201 spec ? (item->mask ? item->mask : proc->mask_default) : NULL; in mlx4_flow_merge_eth()
263 item, msg); in mlx4_flow_merge_eth()
296 spec ? (item->mask ? item->mask : proc->mask_default) : NULL; in mlx4_flow_merge_vlan()
321 item, msg); in mlx4_flow_merge_vlan()
351 spec ? (item->mask ? item->mask : proc->mask_default) : NULL; in mlx4_flow_merge_ipv4()
385 item, msg); in mlx4_flow_merge_ipv4()
418 spec ? (item->mask ? item->mask : proc->mask_default) : NULL; in mlx4_flow_merge_udp()
483 spec ? (item->mask ? item->mask : proc->mask_default) : NULL; in mlx4_flow_merge_tcp()
538 if (!item->spec && (item->mask || item->last)) in mlx4_flow_item_check()
568 item, in mlx4_flow_item_check()
[all …]
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c169 if (item == NULL) { in sfc_flow_parse_init()
176 if ((item->last != NULL || item->mask != NULL) && item->spec == NULL) { in sfc_flow_parse_init()
187 if (item->mask == NULL) { in sfc_flow_parse_init()
197 mask = item->mask; in sfc_flow_parse_init()
200 spec = item->spec; in sfc_flow_parse_init()
201 last = item->last; in sfc_flow_parse_init()
309 rc = sfc_flow_parse_init(item, in sfc_flow_parse_eth()
401 rc = sfc_flow_parse_init(item, in sfc_flow_parse_vlan()
1341 if (item == NULL) { in sfc_flow_parse_pattern()
1365 switch (item->type) { in sfc_flow_parse_pattern()
[all …]

12345