diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-05-23 14:32:58 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-05-24 08:25:04 +0000 |
commit | aea0df3d54d90eac3b8085ab8023c502b96bdbf0 (patch) | |
tree | afefa093e60dafe231bd19cedaba8768040c8494 /src/vnet/devices/virtio/virtio.h | |
parent | f2d5cdbfa674a2ac9e81fd49d69594f0cdbcffd3 (diff) |
Tap: Fix the indirect buffers allocation VPP-1660
Indirect buffers are used to store indirect descriptors
to xmit big packets.
This patch moves the indirect buffer allocation from
interface creation to device node. Now it allocates
or deallocates buffers during tx for chained buffers.
Change-Id: I55cec208a2a7432e12fe9254a7f8ef84a9302bd5
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit 55203e745f5e3f1f6c4dbe99d6eab8dee4d13ea6)
Diffstat (limited to 'src/vnet/devices/virtio/virtio.h')
-rw-r--r-- | src/vnet/devices/virtio/virtio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/virtio.h b/src/vnet/devices/virtio/virtio.h index 5177dbabce4..57bb8d6c167 100644 --- a/src/vnet/devices/virtio/virtio.h +++ b/src/vnet/devices/virtio/virtio.h @@ -115,7 +115,6 @@ typedef struct u16 flags; u32 call_file_index; u32 *buffers; - u32 *indirect_buffers; u16 last_used_idx; u16 last_kick_avail_idx; } virtio_vring_t; |