Home
last modified time | relevance | path

Searched refs:l3_type (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_em_hlm.h206 uint32_t l3_type, tcp_or_udp; in l3fwd_em_send_packets() local
211 l3_type = pkt_type & RTE_PTYPE_L3_MASK; in l3fwd_em_send_packets()
221 if (tcp_or_udp && (l3_type == RTE_PTYPE_L3_IPV4)) { in l3fwd_em_send_packets()
226 } else if (tcp_or_udp && (l3_type == RTE_PTYPE_L3_IPV6)) { in l3fwd_em_send_packets()
273 uint32_t l3_type, tcp_or_udp; in l3fwd_em_process_events() local
278 l3_type = pkt_type & RTE_PTYPE_L3_MASK; in l3fwd_em_process_events()
288 if (tcp_or_udp && (l3_type == RTE_PTYPE_L3_IPV4)) { in l3fwd_em_process_events()
293 } else if (tcp_or_udp && (l3_type == RTE_PTYPE_L3_IPV6)) { in l3fwd_em_process_events()
/f-stack/dpdk/drivers/net/mvneta/
H A Dmvneta_rxtx.c236 enum neta_inq_l3_type l3_type; in mvneta_desc_to_packet_type_and_offset() local
240 neta_ppio_inq_desc_get_l3_info(desc, &l3_type, l3_offset); in mvneta_desc_to_packet_type_and_offset()
248 switch (l3_type) { in mvneta_desc_to_packet_type_and_offset()
294 enum neta_outq_l3_type *l3_type, in mvneta_prepare_proto_info() argument
306 *l3_type = NETA_OUTQ_L3_TYPE_IPV4; in mvneta_prepare_proto_info()
310 *l3_type = NETA_OUTQ_L3_TYPE_IPV6; in mvneta_prepare_proto_info()
401 enum neta_outq_l3_type l3_type; in mvneta_tx_pkt_burst() local
412 mvneta_prepare_proto_info(mbuf->ol_flags, &l3_type, &l4_type, in mvneta_tx_pkt_burst()
485 enum neta_outq_l3_type l3_type; in mvneta_tx_sg_pkt_burst() local
539 mvneta_prepare_proto_info(mbuf->ol_flags, &l3_type, &l4_type, in mvneta_tx_sg_pkt_burst()
[all …]
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c2125 enum pp2_inq_l3_type l3_type; in mrvl_desc_to_packet_type_and_offset() local
2130 pp2_ppio_inq_desc_get_l3_info(desc, &l3_type, l3_offset); in mrvl_desc_to_packet_type_and_offset()
2148 switch (l3_type) { in mrvl_desc_to_packet_type_and_offset()
2375 enum pp2_outq_l3_type *l3_type, in mrvl_prepare_proto_info() argument
2386 *l3_type = PP2_OUTQ_L3_TYPE_IPV4; in mrvl_prepare_proto_info()
2389 *l3_type = PP2_OUTQ_L3_TYPE_IPV6; in mrvl_prepare_proto_info()
2539 enum pp2_outq_l3_type l3_type; in mrvl_tx_pkt_burst() local
2559 &l3_type, &l4_type, &gen_l3_cksum, in mrvl_tx_pkt_burst()
2564 pp2_ppio_outq_desc_set_proto_info(&descs[i], l3_type, l4_type, in mrvl_tx_pkt_burst()
2638 enum pp2_outq_l3_type l3_type; in mrvl_tx_sg_pkt_burst() local
[all …]
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c845 uint8_t l3_type; in hinic_analyze_l3_type() local
849 l3_type = (ol_flags & PKT_TX_IP_CKSUM) ? in hinic_analyze_l3_type()
853 l3_type = IPV6_PKT; in hinic_analyze_l3_type()
855 l3_type = UNKNOWN_L3TYPE; in hinic_analyze_l3_type()
857 return l3_type; in hinic_analyze_l3_type()
/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf_core.h523 uint8_t l3_type:4; /**< (Outer) L3 type. */ member
/f-stack/dpdk/drivers/net/thunderx/base/
H A Dnicvf_hw_defs.h550 uint64_t l3_type:4; member
558 uint64_t l3_type:4;
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3038 uint32_t l3_type; in hns3_parse_l3_cksum_params() local
3043 l3_type = HNS3_L3T_IPV4; in hns3_parse_l3_cksum_params()
3045 l3_type = HNS3_L3T_IPV6; in hns3_parse_l3_cksum_params()
3047 l3_type = HNS3_L3T_NONE; in hns3_parse_l3_cksum_params()
3053 tmp |= hns3_gen_field_val(HNS3_TXD_L3T_M, HNS3_TXD_L3T_S, l3_type); in hns3_parse_l3_cksum_params()
/f-stack/dpdk/drivers/net/qede/base/
H A Dcommon_hsi.h1183 enum l3_type { enum
/f-stack/dpdk/drivers/net/thunderx/
H A Dnicvf_rxtx.c339 return ptype_table[cqe_rx_w0.l3_type][cqe_rx_w0.l4_type]; in nicvf_rx_classify_pkt()