Le 15-06-21 à 08:42, mohamad ali a écrit :
Hi i want to change rte_mbuf struct and add some custom struct to it but
when i change it and compile again some error related to this line shows up.
RTE_BUILD_BUG_ON(sizeof(struct rte_mbuf) > OCTEONTX_FPAVF_BUF_OFFSET);

What is the correct way to add struct to rte_mbuf ?
thanks.


You should use dynamic fields instead (https://doc.dpdk.org/api/rte__mbuf__dyn_8h.html)

Reply via email to