Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 13 of 13) sorted by relevance

/dpdk/drivers/bus/vmbus/
H A Dvmbus_channel.c117 pkt.hdr.tlen = pad_pktlen >> VMBUS_CHANPKT_SIZE_SHIFT; in rte_vmbus_chan_send()
161 pkt.hdr.tlen = pad_pktlen >> VMBUS_CHANPKT_SIZE_SHIFT; in rte_vmbus_chan_send_sglist()
243 if (unlikely(pkt.hlen > pkt.tlen)) { in rte_vmbus_chan_recv()
245 pkt.hlen, pkt.tlen); in rte_vmbus_chan_recv()
251 dlen = (pkt.tlen << VMBUS_CHANPKT_SIZE_SHIFT) - hlen; in rte_vmbus_chan_recv()
288 if (unlikely(pkt.hlen > pkt.tlen)) { in rte_vmbus_chan_recv_raw()
290 pkt.hlen, pkt.tlen); in rte_vmbus_chan_recv_raw()
295 dlen = pkt.tlen << VMBUS_CHANPKT_SIZE_SHIFT; in rte_vmbus_chan_recv_raw()
421 pkt.tlen << VMBUS_CHANPKT_SIZE_SHIFT, in vmbus_dump_ring()
H A Drte_vmbus_reg.h156 uint16_t tlen; /* total len, in 8 bytes */ member
164 return vmbus_chanpkt_getlen(pkt->tlen) in vmbus_chanpkt_datalen()
/dpdk/lib/ipsec/
H A Desp_inb.c419 ofs = mb->pkt_len - tlen; in process_step1()
462 tlen + hlen > mb->pkt_len) in trs_process_check()
467 tofs[0] = mb->pkt_len - tlen; in trs_process_check()
485 return (trs_process_check(mb, ml, tofs, espt, hlen, tlen) || in tun_process_check()
498 uint32_t adj, uint32_t tofs, uint32_t tlen, uint32_t *sqn) in tun_process_step2() argument
507 mbuf_cut_seg_ofs(mb, ml, tofs, tlen); in tun_process_step2()
522 uint32_t adj, uint32_t tofs, uint32_t tlen, uint32_t *sqn) in trs_process_step2() argument
530 np = tun_process_step2(mb, ml, hlen, adj, tofs, tlen, sqn); in trs_process_step2()
589 const uint32_t tlen = sa->icv_len + sizeof(espt[0]) + sqh_len; in tun_process() local
604 tl = tlen + espt[i].pad_len; in tun_process()
[all …]
H A Desp_outb.c143 uint32_t clen, hlen, l2len, pdlen, pdofs, plen, tlen; in outb_tun_pkt_prepare() local
164 tlen = pdlen + sa->icv_len + sqh_len; in outb_tun_pkt_prepare()
170 tlen = pdlen + sqh_len; in outb_tun_pkt_prepare()
175 if (tlen + sa->aad_len > rte_pktmbuf_tailroom(ml)) in outb_tun_pkt_prepare()
185 ml->data_len += tlen; in outb_tun_pkt_prepare()
186 mb->pkt_len += tlen; in outb_tun_pkt_prepare()
373 tlen = pdlen + sa->icv_len + sqh_len; in outb_trs_pkt_prepare()
379 tlen = pdlen + sqh_len; in outb_trs_pkt_prepare()
384 if (tlen + sa->aad_len > rte_pktmbuf_tailroom(ml)) in outb_trs_pkt_prepare()
394 ml->data_len += tlen; in outb_trs_pkt_prepare()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h1205 unsigned int part, tlen = 0; in mlx5_tx_eseg_mdat() local
1259 copy = tlen >= copy ? 0 : (copy - tlen); in mlx5_tx_eseg_mdat()
1261 tlen += copy; in mlx5_tx_eseg_mdat()
1269 part = inlen - tlen; in mlx5_tx_eseg_mdat()
2834 unsigned int tlen; in mlx5_tx_burst_empw_inline() local
2862 tlen = dlen; in mlx5_tx_burst_empw_inline()
2892 if (room < tlen) in mlx5_tx_burst_empw_inline()
2901 if (room < tlen) in mlx5_tx_burst_empw_inline()
2907 tlen = RTE_ALIGN(tlen, MLX5_WSEG_SIZE); in mlx5_tx_burst_empw_inline()
2908 MLX5_ASSERT(room >= tlen); in mlx5_tx_burst_empw_inline()
[all …]
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_utils.c168 int tlen = len; in ulp_bs_push_lsb() local
176 tlen -= 8; in ulp_bs_push_lsb()
180 if (tlen) in ulp_bs_push_lsb()
181 ulp_bs_put_lsb(bs, pos, tlen, val[0]); in ulp_bs_push_lsb()
H A Dulp_mapper.c1905 uint16_t tlen, blen, clen, slice_width, num_slices, max_slices, offset; in ulp_mapper_wc_tcam_tbl_dyn_post_process() local
1917 tlen = slice_width; in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1918 while (tlen < blen && in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1921 tlen = tlen << 1; in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1930 pad = tlen - blen; in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1938 tlen = tlen + clen * num_slices; in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1939 if (!ulp_blob_init(tkey, tlen, key->byte_order) || in ulp_mapper_wc_tcam_tbl_dyn_post_process()
1940 !ulp_blob_init(tmask, tlen, mask->byte_order)) { in ulp_mapper_wc_tcam_tbl_dyn_post_process()
/dpdk/drivers/common/cnxk/hw/
H A Dsdp.h161 uint64_t tlen : 16; member
/dpdk/app/test-pmd/
H A Dcsumonly.c642 uint32_t dlen, slen, tlen; in mbuf_copy_split() local
650 tlen = 0; in mbuf_copy_split()
673 tlen += len; in mbuf_copy_split()
687 else if (tlen != m->pkt_len) in mbuf_copy_split()
691 md[0]->pkt_len = tlen; in mbuf_copy_split()
/dpdk/drivers/net/octeontx_ep/
H A Dotx_ep_common.h101 uint64_t tlen:16; member
H A Dotx_ep_rxtx.c615 iqcmd.ih.s.tlen = pkt_len + iqcmd.ih.s.fsz; in otx_ep_xmit_pkts()
749 iqcmd2.ih.s.tlen = pkt_len + iqcmd2.ih.s.fsz; in otx2_ep_xmit_pkts()
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_reqmgr.c43 uint64_t tlen : 16; member
45 uint64_t tlen : 16;
204 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; in create_se_instr()
/dpdk/drivers/net/iavf/
H A Diavf_rxtx.c2424 uint16_t *tlen, uint8_t vlan_flag) in iavf_fill_context_desc() argument
2441 *tlen = iavf_fill_ctx_desc_segmentation_field(&desc_qws->qw1, in iavf_fill_context_desc()
2560 uint16_t tlen, uint16_t ipseclen) in iavf_fill_data_desc() argument
2582 bufsz = hdrlen + tlen; in iavf_fill_data_desc()
2589 bufsz = hdrlen + tlen; in iavf_fill_data_desc()
2648 uint16_t tlen = 0, ipseclen = 0; in iavf_xmit_pkts() local
2724 iavf_fill_context_desc(ctx_desc, mb, ipsec_md, &tlen, in iavf_xmit_pkts()
2769 ddesc_template, tlen, ipseclen); in iavf_xmit_pkts()