Home
last modified time | relevance | path

Searched refs:ptid (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/net/ngbe/
H A Dngbe_ptypes.c123 u8 ptid; in ngbe_encode_ptype_mac() local
144 return ptid; in ngbe_encode_ptype_mac()
150 u8 ptid; in ngbe_encode_ptype_ip() local
186 return ptid; in ngbe_encode_ptype_ip()
192 u8 ptid; in ngbe_encode_ptype_tunnel() local
225 return ptid; in ngbe_encode_ptype_tunnel()
253 return ptid; in ngbe_encode_ptype_tunnel()
274 return ptid; in ngbe_encode_ptype_tunnel()
287 u8 ptid = 0; in ngbe_encode_ptype() local
296 ptid = NGBE_PTID_NULL; in ngbe_encode_ptype()
[all …]
H A Dngbe_ptypes.h114 u32 ngbe_decode_ptype(u8 ptid);
187 static inline int ngbe_etflt_id(u8 ptid) in ngbe_etflt_id() argument
189 if (ptid >= NGBE_PTID_ETF_MIN && ptid <= NGBE_PTID_ETF_MAX) in ngbe_etflt_id()
190 return ptid - NGBE_PTID_ETF_MIN; in ngbe_etflt_id()
H A Dngbe_rxtx.h294 uint64_t ptid:8; /**< Packet Type Identifier. */ member
H A Dngbe_rxtx.c294 tx_offload_mask.ptid |= ~0; in ngbe_set_xmit_ctx()
295 type_tucmd_mlhl |= NGBE_TXD_PTID(tx_offload.ptid); in ngbe_set_xmit_ctx()
625 tx_offload.ptid = tx_desc_ol_flags_to_ptid(tx_ol_req, in ngbe_xmit_pkts()
907 uint16_t ptid = NGBE_RXD_PTID(pkt_info); in ngbe_rxd_pkt_info_to_pkt_type() local
909 ptid &= ptid_mask; in ngbe_rxd_pkt_info_to_pkt_type()
911 return ngbe_decode_ptype(ptid); in ngbe_rxd_pkt_info_to_pkt_type()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ptypes.c217 u8 ptid; in txgbe_encode_ptype_fcoe() local
222 return ptid; in txgbe_encode_ptype_fcoe()
228 u8 ptid; in txgbe_encode_ptype_mac() local
252 return ptid; in txgbe_encode_ptype_mac()
258 u8 ptid; in txgbe_encode_ptype_ip() local
294 return ptid; in txgbe_encode_ptype_ip()
300 u8 ptid; in txgbe_encode_ptype_tunnel() local
332 return ptid; in txgbe_encode_ptype_tunnel()
381 return ptid; in txgbe_encode_ptype_tunnel()
394 u8 ptid = 0; in txgbe_encode_ptype() local
[all …]
H A Dtxgbe_ptypes.h189 u32 txgbe_decode_ptype(u8 ptid);
313 static inline int txgbe_etflt_id(u8 ptid) in txgbe_etflt_id() argument
315 if (ptid >= TXGBE_PTID_ETF_MIN && ptid <= TXGBE_PTID_ETF_MAX) in txgbe_etflt_id()
316 return ptid - TXGBE_PTID_ETF_MIN; in txgbe_etflt_id()
H A Dtxgbe_rxtx.c338 tx_offload_mask.ptid |= ~0; in txgbe_set_xmit_ctx()
698 uint8_t ptid = 0; in txgbe_parse_tun_ptid() local
702 return ptid; in txgbe_parse_tun_ptid()
709 ptid = TXGBE_PTID_TUN_EIG; in txgbe_parse_tun_ptid()
711 ptid = TXGBE_PTID_TUN_EIGM; in txgbe_parse_tun_ptid()
713 ptid = TXGBE_PTID_TUN_EIGMV; in txgbe_parse_tun_ptid()
715 return ptid; in txgbe_parse_tun_ptid()
781 if (tx_offload.ptid & TXGBE_PTID_PKT_TUN) in txgbe_xmit_pkts()
1089 uint16_t ptid = TXGBE_RXD_PTID(pkt_info); in txgbe_rxd_pkt_info_to_pkt_type() local
1091 ptid &= ptid_mask; in txgbe_rxd_pkt_info_to_pkt_type()
[all …]
H A Dtxgbe_rxtx.h332 uint64_t ptid:8; /**< Packet Type Identifier. */ member