| /dpdk/lib/ipsec/ |
| H A D | iph.h | 158 itp = ((const struct rte_ipv4_hdr *)ref_h)->type_of_service & in update_outb_tun_tos() 164 otp = v4out_h->type_of_service & ~tos_mask; in update_outb_tun_tos() 167 v4out_h->type_of_service = (otp | itp); in update_outb_tun_tos() 171 otp = v4out_h->type_of_service & ~tos_mask; in update_outb_tun_tos() 174 v4out_h->type_of_service = (otp | itp); in update_outb_tun_tos() 215 ecn_v4in = v4in_h->type_of_service & RTE_IPV4_HDR_ECN_MASK; in update_inb_tun_tos() 218 v4in_h->type_of_service |= RTE_IPV4_HDR_ECN_CE; in update_inb_tun_tos() 223 type_of_service & RTE_IPV4_HDR_ECN_MASK; in update_inb_tun_tos() 233 type_of_service & RTE_IPV4_HDR_ECN_MASK; in update_inb_tun_tos() 234 ecn_v4in = v4in_h->type_of_service & RTE_IPV4_HDR_ECN_MASK; in update_inb_tun_tos() [all …]
|
| /dpdk/app/test/ |
| H A D | packet_burst_generator.c | 171 ip_hdr->type_of_service = 0; in initialize_ipv4_header() 219 ip_hdr->type_of_service = 0; in initialize_ipv4_header_proto()
|
| H A D | test_cryptodev_security_ipsec.c | 910 tos = iph4->type_of_service; in test_ipsec_iph4_hdr_validate() 1167 tos = iph4->type_of_service; in test_ipsec_pkt_update() 1175 iph4->type_of_service = tos; in test_ipsec_pkt_update()
|
| H A D | test_ipfrag.c | 117 hdr->type_of_service = 0; in v4_allocate_packet_of()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_flow.c | 436 if (val->hdr.type_of_service || (umask && umask->hdr.type_of_service)) in ch_rte_parsetype_ipv4() 437 CXGBE_FILL_FS(val->hdr.type_of_service, in ch_rte_parsetype_ipv4() 438 mask->hdr.type_of_service, tos); in ch_rte_parsetype_ipv4() 995 .type_of_service = 0xff,
|
| /dpdk/app/test-pmd/ |
| H A D | flowgen.c | 132 ip_hdr->type_of_service = 0; in pkt_burst_flow_gen()
|
| H A D | txonly.c | 128 ip_hdr->type_of_service = 0; in setup_pkt_udp_ip_headers()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 791 d->ipv4.type_of_service = p->vxlan.ipv4.dscp << 2; in encap_vxlan_apply() 826 d->ipv4.type_of_service = p->vxlan.ipv4.dscp << 2; in encap_vxlan_apply() 2896 dscp = hdr->type_of_service >> 2; in pkt_work() 3047 dscp0 = hdr0->type_of_service >> 2; in pkt4_work() 3048 dscp1 = hdr1->type_of_service >> 2; in pkt4_work() 3049 dscp2 = hdr2->type_of_service >> 2; in pkt4_work() 3050 dscp3 = hdr3->type_of_service >> 2; in pkt4_work()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 1073 size = sizeof(((struct rte_flow_item_ipv4 *)NULL)->hdr.type_of_service); in ulp_rte_ipv4_hdr_handler() 1076 hdr.type_of_service), in ulp_rte_ipv4_hdr_handler() 1078 hdr.type_of_service), in ulp_rte_ipv4_hdr_handler() 1865 size = sizeof(ip->hdr.type_of_service); in ulp_rte_enc_ipv4_hdr_handler() 1866 field = ulp_rte_parser_fld_copy(field, &ip->hdr.type_of_service, size); in ulp_rte_enc_ipv4_hdr_handler()
|
| /dpdk/lib/net/ |
| H A D | rte_ip.h | 55 uint8_t type_of_service; /**< type of service */ member
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_flow.c | 386 k = (spec->hdr.type_of_service & MRVL_IPV4_DSCP_MASK) >> 2; in mrvl_parse_ip4_dscp() 387 m = (mask->hdr.type_of_service & MRVL_IPV4_DSCP_MASK) >> 2; in mrvl_parse_ip4_dscp() 992 if (mask->hdr.type_of_service & MRVL_IPV4_DSCP_MASK) { in mrvl_parse_ip4()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 686 if (ipv4_mask->hdr.type_of_service) in ice_switch_parse_pattern() 723 if (ipv4_mask->hdr.type_of_service) { in ice_switch_parse_pattern() 725 ipv4_spec->hdr.type_of_service; in ice_switch_parse_pattern() 727 ipv4_mask->hdr.type_of_service; in ice_switch_parse_pattern()
|
| H A D | ice_fdir_filter.c | 2032 ipv4_last->hdr.type_of_service || in ice_fdir_parse_pattern() 2061 if (ipv4_mask->hdr.type_of_service == UINT8_MAX) in ice_fdir_parse_pattern() 2068 p_v4->tos = ipv4_spec->hdr.type_of_service; in ice_fdir_parse_pattern()
|
| /dpdk/lib/flow_classify/ |
| H A D | rte_flow_classify_parse.c | 285 ipv4_mask->hdr.type_of_service || in classify_parse_ntuple_filter()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_fdir.c | 855 ipv4_last->hdr.type_of_service || in iavf_fdir_parse_pattern() 868 if (ipv4_mask->hdr.type_of_service == in iavf_fdir_parse_pattern()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 623 if (ipv4_mask->hdr.type_of_service) { in hns3_parse_ipv4() 626 ipv4_mask->hdr.type_of_service; in hns3_parse_ipv4() 641 rule->key_conf.spec.ip_tos = ipv4_spec->hdr.type_of_service; in hns3_parse_ipv4()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_flow.c | 378 mask->hdr.type_of_service || in igc_parse_pattern_ip()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_verbs.c | 566 .tos = spec->hdr.type_of_service, in flow_verbs_translate_item_ipv4() 572 .tos = mask->hdr.type_of_service, in flow_verbs_translate_item_ipv4()
|
| H A D | mlx5_txpp.c | 338 ip_hdr->type_of_service = 0; in mlx5_txpp_fill_wqe_clock_queue()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn9k_ipsec.c | 418 ip4->type_of_service |= (ipsec->tunnel.ipv4.dscp << 2); in cn9k_ipsec_outb_sa_create()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_flow.c | 316 ipv4_mask->hdr.type_of_service || in cons_parse_ntuple_filter() 1730 ipv4_mask->hdr.type_of_service || in txgbe_parse_fdir_filter_normal()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2551 ipv4_last->hdr.type_of_service || in i40e_flow_parse_fdir_pattern() 2583 if (ipv4_mask->hdr.type_of_service == UINT8_MAX) in i40e_flow_parse_fdir_pattern() 2657 ipv4_spec->hdr.type_of_service; in i40e_flow_parse_fdir_pattern()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_flow.c | 355 ipv4_mask->hdr.type_of_service || in cons_parse_ntuple_filter() 1839 ipv4_mask->hdr.type_of_service || in ixgbe_parse_fdir_filter_normal()
|
| /dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_flow.c | 565 ipv4_mask->hdr.type_of_service || in hinic_ntuple_item_check_ipv4() 893 ipv4_mask->hdr.type_of_service || in hinic_normal_item_check_ip()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_flow.c | 192 ipv4_mask->hdr.type_of_service || in cons_parse_ntuple_filter()
|