| /dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_null_header_reconstruct.py | 132 def gen_pkt_plain_ipv4(self, src, dst, tos): argument 133 pkt = IP(src=src, dst=dst, tos=tos) 148 pkt[IP].tos = tos_outter 166 pkt[IP].tos = tos_outter 199 self.assertEqual(resp[IP].tos, ECN_CE) 239 self.assertEqual(resp[IP].tos, ECN_CE) 278 self.assertEqual(resp[IP].tos, ECN_CE) 326 self.assertEqual(resp[IP].tos, ECN_CE) 333 self.assertEqual(resp[IP].tos, ECN_CE) 338 self.assertEqual(resp[IP].tos, ECN_CE) [all …]
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_fdir.c | 3509 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3532 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3546 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3555 ice_pkt_insert_u8(loc, ICE_IPV4_TOS_OFFSET, input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3594 input->ip_outer.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3622 input->ip_outer.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3648 input->ip_outer.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3957 input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3972 input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() 3985 input->ip.v4.tos); in ice_fdir_get_gen_prgm_pkt() [all …]
|
| H A D | ice_fdir.h | 173 u8 tos; member
|
| H A D | ice_protocol_type.h | 257 u8 tos; member
|
| /dpdk/drivers/net/ice/ |
| H A D | rte_pmd_ice.h | 48 uint16_t tos:8, member 205 data.ipv4.tos, in rte_net_ice_dump_proto_xtr_metadata()
|
| H A D | ice_switch_filter.c | 724 list[t].h_u.ipv4_hdr.tos = in ice_switch_parse_pattern() 726 list[t].m_u.ipv4_hdr.tos = in ice_switch_parse_pattern()
|
| H A D | ice_fdir_filter.c | 2068 p_v4->tos = ipv4_spec->hdr.type_of_service; in ice_fdir_parse_pattern()
|
| /dpdk/drivers/net/iavf/ |
| H A D | rte_pmd_iavf.h | 48 uint16_t tos:8, member 209 data.ipv4.tos, in rte_pmd_ifd_dump_proto_xtr_metadata()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec.c | 883 uint8_t tos, dscp; in test_ipsec_iph4_hdr_validate() local 910 tos = iph4->type_of_service; in test_ipsec_iph4_hdr_validate() 911 dscp = (tos & RTE_IPV4_HDR_DSCP_MASK) >> 2; in test_ipsec_iph4_hdr_validate() 1165 uint8_t tos; in test_ipsec_pkt_update() local 1167 tos = iph4->type_of_service; in test_ipsec_pkt_update() 1170 tos |= (RTE_IPV4_HDR_DSCP_MASK & in test_ipsec_pkt_update() 1173 tos &= ~RTE_IPV4_HDR_DSCP_MASK; in test_ipsec_pkt_update() 1175 iph4->type_of_service = tos; in test_ipsec_pkt_update()
|
| /dpdk/lib/ipsec/ |
| H A D | iph.h | 117 set_ipv6_tc(rte_be32_t vtc_flow, uint32_t tos) in set_ipv6_tc() argument 121 v = rte_cpu_to_be_32(tos << RTE_IPV6_HDR_TC_SHIFT); in set_ipv6_tc()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.h | 57 uint32_t tos:TOS_BITWIDTH; /* TOS/Traffic Type */ member
|
| H A D | cxgbe_filter.c | 83 U(F_TOS, tos) || U(F_VNIC_ID, pfvf_vld)) in cxgbe_validate_filter() 357 if (tp->tos_shift >= 0 && f->fs.mask.tos) in hash_filter_ntuple() 358 ntuple |= (u64)f->fs.val.tos << tp->tos_shift; in hash_filter_ntuple() 848 fwr->ttyp = f->fs.val.tos; in set_filter_wr() 849 fwr->ttypm = f->fs.mask.tos; in set_filter_wr()
|
| H A D | cxgbe_flow.c | 167 ntuple_mask |= (u64)fs->mask.tos << tp->tos_shift; in cxgbe_fill_filter_region() 438 mask->hdr.type_of_service, tos); in ch_rte_parsetype_ipv4() 482 tos); in ch_rte_parsetype_ipv6()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_eth_ctrl.h | 169 uint8_t tos; /**< Type of service to match. */ member
|
| H A D | rte_flow.h | 4631 uint8_t tos; /**< TOS for IPv4, TC for IPv6. */ member
|
| /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() 578 ipv4.val.tos &= ipv4.mask.tos; in flow_verbs_translate_item_ipv4()
|
| H A D | mlx5_flow_dv.c | 8477 uint8_t tos, ihl_m, ihl_v; in flow_dv_translate_item_ipv4() local 8505 tos = ipv4_m->hdr.type_of_service & ipv4_v->hdr.type_of_service; in flow_dv_translate_item_ipv4() 8512 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_ecn, tos); in flow_dv_translate_item_ipv4() 8515 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_dscp, tos >> 2); in flow_dv_translate_item_ipv4()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | packet_classif_access_ctrl.rst | 232 uint8_t tos; /*< This is partially using a 32-bit input element */ 276 .offset = offsetof (struct acl_key, tos), 284 source addr/mask destination addr/mask tos/mask protocol/mask
|
| /dpdk/drivers/net/dpaa/fmlib/ |
| H A D | fm_pcd_ext.h | 2584 uint8_t tos; member
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 1858 set vxlan-tos-ttl ip-version (ipv4|ipv6) vni (vni) udp-src (udp-src) \ 1859 udp-dst (udp-dst) ip-tos (ip-tos) ip-ttl (ip-ttl) ip-src (ip-src) \ 3972 - ``tos {unsigned}``: type of service. 5050 testpmd> set vxlan-tos-ttl ip-version ipv4 vni 4 udp-src 4 udp-dst 4 ip-tos 0 5069 testpmd> set vxlan-tos-ttl ip-version ipv6 vni 4 udp-src 4 udp-dst 4 5070 ip-tos 0 ip-ttl 255 ::1 ip-dst ::2222 eth-src 11:11:11:11:11:11
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_mbox.h | 1790 uint8_t __io tos; member
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_fdir.c | 790 ip4->type_of_service = fdir_input->flow.ip4_flow.tos; in fill_ip4_head()
|
| H A D | i40e_flow.c | 2656 filter->input.flow.ip4_flow.tos = in i40e_flow_parse_fdir_pattern()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline.c | 13083 uint8_t tos; member 13124 TOKEN_NUM_INITIALIZER(struct cmd_set_vxlan_result, tos, RTE_UINT8); 13186 vxlan_encap_conf.ip_tos = res->tos; in cmd_set_vxlan_parsed()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | hsi_struct_def_dpdk.h | 41789 uint8_t tos; member
|