Lines Matching refs:mb
19 move_bad_mbufs(struct rte_mbuf *mb[], const uint32_t bad_idx[], uint32_t nb_mb, in move_bad_mbufs() argument
31 drb[j++] = mb[i]; in move_bad_mbufs()
33 mb[k++] = mb[i]; in move_bad_mbufs()
38 mb[k + i] = drb[i]; in move_bad_mbufs()
47 mbuf_get_seg_ofs(struct rte_mbuf *mb, uint32_t *ofs) in mbuf_get_seg_ofs() argument
52 plen = mb->pkt_len; in mbuf_get_seg_ofs()
56 ms = rte_pktmbuf_lastseg(mb); in mbuf_get_seg_ofs()
59 ms = mb; in mbuf_get_seg_ofs()
84 mbuf_cut_seg_ofs(struct rte_mbuf *mb, struct rte_mbuf *ms, uint32_t ofs, in mbuf_cut_seg_ofs() argument
102 mb->nb_segs -= n; in mbuf_cut_seg_ofs()
105 mb->pkt_len -= len; in mbuf_cut_seg_ofs()
114 union rte_crypto_sym_ofs ofs, struct rte_mbuf *mb[], in cpu_crypto_bulk() argument
133 vcnt = rte_crypto_mbuf_to_vec(mb[i], l4ofs[i], clen[i], in cpu_crypto_bulk()
151 vcnt = rte_crypto_mbuf_to_vec(mb[i], l4ofs[i], clen[i], in cpu_crypto_bulk()
176 mb[i]->ol_flags |= RTE_MBUF_F_RX_SEC_OFFLOAD_FAILED; in cpu_crypto_bulk()