diff options
author | Damjan Marion <damarion@cisco.com> | 2022-01-04 20:07:32 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2022-01-05 10:48:54 +0000 |
commit | dfc853c0ac2f8f15765a51268a53b023d4cf6c65 (patch) | |
tree | 267aef8cbb34ca94a2abd2b952df7fe3fadc8403 /src/plugins/dpdk/device/node.c | |
parent | 343ff3700948703a977a6ebcd0f9e84c4a988d90 (diff) |
dpdk: keep buffer flags per-device
Type: improvement
Change-Id: Idb0b079df49c12643c9a93ee0effe011d3489068
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/node.c')
-rw-r--r-- | src/plugins/dpdk/device/node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c index 2357e399dc8..9acf594ba19 100644 --- a/src/plugins/dpdk/device/node.c +++ b/src/plugins/dpdk/device/node.c @@ -376,6 +376,7 @@ dpdk_device_input (vlib_main_t * vm, dpdk_main_t * dm, dpdk_device_t * xd, /* Update buffer template */ vnet_buffer (bt)->sw_if_index[VLIB_RX] = xd->sw_if_index; bt->error = node->errors[DPDK_ERROR_NONE]; + bt->flags = xd->buffer_flags; /* as DPDK is allocating empty buffers from mempool provided before interface start for each queue, it is safe to store this in the template */ bt->buffer_pool_index = rxq->buffer_pool_index; |