Home
last modified time | relevance | path

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

/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()
341 uint32_t l3_type, tcp_or_udp; in l3fwd_em_process_event_vector() local
346 l3_type = pkt_type & RTE_PTYPE_L3_MASK; in l3fwd_em_process_event_vector()
[all …]
/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 …]
/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c2459 enum pp2_inq_l3_type l3_type; in mrvl_desc_to_packet_type_and_offset() local
2464 pp2_ppio_inq_desc_get_l3_info(desc, &l3_type, l3_offset); in mrvl_desc_to_packet_type_and_offset()
2482 switch (l3_type) { in mrvl_desc_to_packet_type_and_offset()
2701 enum pp2_outq_l3_type *l3_type, in mrvl_prepare_proto_info() argument
2713 *l3_type = PP2_OUTQ_L3_TYPE_IPV4; in mrvl_prepare_proto_info()
2717 *l3_type = PP2_OUTQ_L3_TYPE_IPV6; in mrvl_prepare_proto_info()
2854 enum pp2_outq_l3_type l3_type; in mrvl_tx_pkt_burst() local
2875 mrvl_prepare_proto_info(mbuf->ol_flags, &l3_type, &l4_type, in mrvl_tx_pkt_burst()
2878 pp2_ppio_outq_desc_set_proto_info(&descs[i], l3_type, l4_type, in mrvl_tx_pkt_burst()
2952 enum pp2_outq_l3_type l3_type; in mrvl_tx_sg_pkt_burst() local
[all …]
/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 & RTE_MBUF_F_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()
/dpdk/lib/mbuf/
H A Drte_mbuf_core.h633 uint8_t l3_type:4; /**< (Outer) L3 type. */ member
/dpdk/drivers/net/thunderx/base/
H A Dnicvf_hw_defs.h551 uint64_t l3_type:4; member
559 uint64_t l3_type:4;
/dpdk/drivers/net/qede/base/
H A Dcommon_hsi.h1183 enum l3_type { enum
/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3497 uint32_t l3_type; in hns3_parse_l3_cksum_params() local
3502 l3_type = HNS3_L3T_IPV4; in hns3_parse_l3_cksum_params()
3504 l3_type = HNS3_L3T_IPV6; in hns3_parse_l3_cksum_params()
3506 l3_type = HNS3_L3T_NONE; in hns3_parse_l3_cksum_params()
3512 tmp |= hns3_gen_field_val(HNS3_TXD_L3T_M, HNS3_TXD_L3T_S, l3_type); in hns3_parse_l3_cksum_params()
/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()