Home
last modified time | relevance | path

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

/dpdk/examples/ipsec-secgw/test/
H A Dtun_null_header_reconstruct.py132 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 Dice_fdir.c3509 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 Dice_fdir.h173 u8 tos; member
H A Dice_protocol_type.h257 u8 tos; member
/dpdk/drivers/net/ice/
H A Drte_pmd_ice.h48 uint16_t tos:8, member
205 data.ipv4.tos, in rte_net_ice_dump_proto_xtr_metadata()
H A Dice_switch_filter.c724 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 Dice_fdir_filter.c2068 p_v4->tos = ipv4_spec->hdr.type_of_service; in ice_fdir_parse_pattern()
/dpdk/drivers/net/iavf/
H A Drte_pmd_iavf.h48 uint16_t tos:8, member
209 data.ipv4.tos, in rte_pmd_ifd_dump_proto_xtr_metadata()
/dpdk/app/test/
H A Dtest_cryptodev_security_ipsec.c883 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 Diph.h117 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 Dcxgbe_filter.h57 uint32_t tos:TOS_BITWIDTH; /* TOS/Traffic Type */ member
H A Dcxgbe_filter.c83 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 Dcxgbe_flow.c167 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 Drte_eth_ctrl.h169 uint8_t tos; /**< Type of service to match. */ member
H A Drte_flow.h4631 uint8_t tos; /**< TOS for IPv4, TC for IPv6. */ member
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c566 .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 Dmlx5_flow_dv.c8477 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 Dpacket_classif_access_ctrl.rst232 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 Dfm_pcd_ext.h2584 uint8_t tos; member
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1858 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 Droc_mbox.h1790 uint8_t __io tos; member
/dpdk/drivers/net/i40e/
H A Di40e_fdir.c790 ip4->type_of_service = fdir_input->flow.ip4_flow.tos; in fill_ip4_head()
H A Di40e_flow.c2656 filter->input.flow.ip4_flow.tos = in i40e_flow_parse_fdir_pattern()
/dpdk/app/test-pmd/
H A Dcmdline.c13083 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 Dhsi_struct_def_dpdk.h41789 uint8_t tos; member