Home
last modified time | relevance | path

Searched refs:sctp_spec (Results 1 – 11 of 11) sorted by relevance

/dpdk/examples/flow_classify/
H A Dflow_classify.c526 struct rte_flow_item_sctp sctp_spec; in add_classify_rule() local
611 sctp_spec.hdr.src_port = ntuple_filter->src_port; in add_classify_rule()
612 sctp_spec.hdr.dst_port = ntuple_filter->dst_port; in add_classify_rule()
613 sctp_spec.hdr.cksum = 0; in add_classify_rule()
614 sctp_spec.hdr.tag = 0; in add_classify_rule()
622 sctp_item.spec = &sctp_spec; in add_classify_rule()
/dpdk/lib/flow_classify/
H A Drte_flow_classify_parse.c213 const struct rte_flow_item_sctp *sctp_spec; in classify_parse_ntuple_filter() local
420 sctp_spec = item->spec; in classify_parse_ntuple_filter()
421 filter->dst_port = sctp_spec->hdr.dst_port; in classify_parse_ntuple_filter()
422 filter->src_port = sctp_spec->hdr.src_port; in classify_parse_ntuple_filter()
/dpdk/drivers/net/iavf/
H A Diavf_fdir.c730 const struct rte_flow_item_sctp *sctp_spec, *sctp_mask; in iavf_fdir_parse_pattern() local
1135 sctp_spec = item->spec; in iavf_fdir_parse_pattern()
1142 if (sctp_spec && sctp_mask) { in iavf_fdir_parse_pattern()
1161 &sctp_spec->hdr, in iavf_fdir_parse_pattern()
1162 sizeof(sctp_spec->hdr)); in iavf_fdir_parse_pattern()
1165 &sctp_spec->hdr, in iavf_fdir_parse_pattern()
1166 sizeof(sctp_spec->hdr)); in iavf_fdir_parse_pattern()
/dpdk/drivers/net/i40e/
H A Di40e_flow.c2946 sctp_spec = item->spec; in i40e_flow_parse_fdir_pattern()
2956 if (sctp_spec && sctp_mask) { in i40e_flow_parse_fdir_pattern()
2976 sctp_spec->hdr.src_port; in i40e_flow_parse_fdir_pattern()
2978 sctp_spec->hdr.dst_port; in i40e_flow_parse_fdir_pattern()
2980 = sctp_spec->hdr.tag; in i40e_flow_parse_fdir_pattern()
2983 sctp_spec->hdr.src_port; in i40e_flow_parse_fdir_pattern()
2985 sctp_spec->hdr.dst_port; in i40e_flow_parse_fdir_pattern()
2987 = sctp_spec->hdr.tag; in i40e_flow_parse_fdir_pattern()
3535 sctp_spec = item->spec; in i40e_flow_parse_l4_pattern()
3538 if (!sctp_spec || !sctp_mask) { in i40e_flow_parse_l4_pattern()
[all …]
/dpdk/drivers/net/ice/
H A Dice_acl_filter.c665 const struct rte_flow_item_sctp *sctp_spec, *sctp_mask; in ice_acl_parse_pattern() local
860 sctp_spec = item->spec; in ice_acl_parse_pattern()
866 if (sctp_spec && sctp_mask) { in ice_acl_parse_pattern()
880 sctp_spec->hdr.src_port; in ice_acl_parse_pattern()
889 sctp_spec->hdr.dst_port; in ice_acl_parse_pattern()
H A Dice_fdir_filter.c1808 const struct rte_flow_item_sctp *sctp_spec, *sctp_mask; in ice_fdir_parse_pattern() local
2271 sctp_spec = item->spec; in ice_fdir_parse_pattern()
2274 if (!(sctp_spec && sctp_mask)) in ice_fdir_parse_pattern()
2302 p_v4->dst_port = sctp_spec->hdr.dst_port; in ice_fdir_parse_pattern()
2303 p_v4->src_port = sctp_spec->hdr.src_port; in ice_fdir_parse_pattern()
2306 p_v6->dst_port = sctp_spec->hdr.dst_port; in ice_fdir_parse_pattern()
2307 p_v6->src_port = sctp_spec->hdr.src_port; in ice_fdir_parse_pattern()
H A Dice_switch_filter.c532 const struct rte_flow_item_sctp *sctp_spec, *sctp_mask; in ice_switch_parse_pattern() local
933 sctp_spec = item->spec; in ice_switch_parse_pattern()
935 if (sctp_spec && sctp_mask) { in ice_switch_parse_pattern()
957 sctp_spec->hdr.src_port; in ice_switch_parse_pattern()
964 sctp_spec->hdr.dst_port; in ice_switch_parse_pattern()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c152 const struct rte_flow_item_sctp *sctp_spec; in cons_parse_ntuple_filter() local
486 sctp_spec = item->spec; in cons_parse_ntuple_filter()
487 filter->dst_port = sctp_spec->hdr.dst_port; in cons_parse_ntuple_filter()
488 filter->src_port = sctp_spec->hdr.src_port; in cons_parse_ntuple_filter()
1553 const struct rte_flow_item_sctp *sctp_spec; in txgbe_parse_fdir_filter_normal() local
2028 sctp_spec = item->spec; in txgbe_parse_fdir_filter_normal()
2030 sctp_spec->hdr.src_port; in txgbe_parse_fdir_filter_normal()
2032 sctp_spec->hdr.dst_port; in txgbe_parse_fdir_filter_normal()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c186 const struct rte_flow_item_sctp *sctp_spec; in cons_parse_ntuple_filter() local
526 sctp_spec = item->spec; in cons_parse_ntuple_filter()
527 filter->dst_port = sctp_spec->hdr.dst_port; in cons_parse_ntuple_filter()
528 filter->src_port = sctp_spec->hdr.src_port; in cons_parse_ntuple_filter()
1609 const struct rte_flow_item_sctp *sctp_spec; in ixgbe_parse_fdir_filter_normal() local
2143 sctp_spec = item->spec; in ixgbe_parse_fdir_filter_normal()
2145 sctp_spec->hdr.src_port; in ixgbe_parse_fdir_filter_normal()
2147 sctp_spec->hdr.dst_port; in ixgbe_parse_fdir_filter_normal()
/dpdk/drivers/net/e1000/
H A Digb_flow.c105 const struct rte_flow_item_sctp *sctp_spec; in cons_parse_ntuple_filter() local
324 sctp_spec = (const struct rte_flow_item_sctp *) in cons_parse_ntuple_filter()
326 filter->dst_port = sctp_spec->hdr.dst_port; in cons_parse_ntuple_filter()
327 filter->src_port = sctp_spec->hdr.src_port; in cons_parse_ntuple_filter()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c798 const struct rte_flow_item_sctp *sctp_spec; in hns3_parse_sctp() local
833 sctp_spec = item->spec; in hns3_parse_sctp()
835 rte_be_to_cpu_16(sctp_spec->hdr.src_port); in hns3_parse_sctp()
837 rte_be_to_cpu_16(sctp_spec->hdr.dst_port); in hns3_parse_sctp()
838 rule->key_conf.spec.sctp_tag = rte_be_to_cpu_32(sctp_spec->hdr.tag); in hns3_parse_sctp()