MCPcopy Create free account
hub / github.com/F-Stack/f-stack / generate_mbuf_data

Function generate_mbuf_data

dpdk/app/test/test_ipsec_perf.c:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144};
145
146static struct rte_mbuf *generate_mbuf_data(struct rte_mempool *mpool)
147{
148 struct rte_mbuf *mbuf = rte_pktmbuf_alloc(mpool);
149
150 if (mbuf) {
151 mbuf->data_len = 64;
152 mbuf->pkt_len = 64;
153 }
154
155 return mbuf;
156}
157
158static int
159fill_ipsec_param(struct ipsec_sa *sa)

Callers 1

testsuite_setupFunction · 0.85

Calls 1

rte_pktmbuf_allocFunction · 0.85

Tested by

no test coverage detected