diff options
author | Sachin Saxena <sachin.saxena@nxp.com> | 2018-05-28 14:45:34 +0530 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-05-29 14:44:21 +0000 |
commit | 0a77040fa0f588f3c2d539aa1d3c500731520676 (patch) | |
tree | 4771c1869cfb366c9383223300b6b8375204e9e4 /src/vnet/srmpls | |
parent | f706b8d79a6ef594057f27c9066bd5beb72c36b4 (diff) |
dpdk: mempool priv intialization must be done before releasing buffers to pool
- Currently mempool priv size is getting initialized after releasing buffers
to pool. This is causing mismatch in expected & real metadata size value
and buffers are getting released with wrong offset. (when metadata offset
is in use for a given platform)
- Since private data size is 0 initially, metadata size don't include space
for VLIB_BUFFER_HDR.
Change-Id: I780c4d518104631a3dcf192185bacf58b3598e65
Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com>
Diffstat (limited to 'src/vnet/srmpls')
0 files changed, 0 insertions, 0 deletions