DPDK  2.2.0
Data Fields
rte_mbuf_offload Struct Reference

#include <rte_mbuf_offload.h>

Data Fields

struct rte_mbuf_offloadnext
struct rte_mbufm
struct rte_mempoolmp
enum rte_mbuf_ol_op_type type
struct rte_crypto_op crypto

Detailed Description

Generic packet mbuf offload This is used to specify a offload operation to be performed on a rte_mbuf. Multiple offload operations can be chained to the same mbuf, but only a single offload operation of a particular type can be in the chainprivate data structure belonging to packet mbug offload mempool

Examples:
l2fwd-crypto/main.c.

Definition at line 77 of file rte_mbuf_offload.h.

Field Documentation

struct rte_mbuf_offload* next

next offload in chain

Definition at line 78 of file rte_mbuf_offload.h.

struct rte_mbuf* m

mbuf offload is attached to

Definition at line 79 of file rte_mbuf_offload.h.

struct rte_mempool* mp

mempool offload allocated from

Definition at line 80 of file rte_mbuf_offload.h.

offload type

Examples:
l2fwd-crypto/main.c.

Definition at line 82 of file rte_mbuf_offload.h.

struct rte_crypto_op crypto

Crypto operation

Examples:
l2fwd-crypto/main.c.

Definition at line 84 of file rte_mbuf_offload.h.


The documentation for this struct was generated from the following file: