diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-05-10 17:28:28 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-05-23 11:37:45 +0000 |
commit | 55203e745f5e3f1f6c4dbe99d6eab8dee4d13ea6 (patch) | |
tree | 48fdc80575b701fd1efea7c61a87c66903326f7c /src/vnet/devices/virtio/virtio.h | |
parent | f60be11516911669a41f44286aeb28c8b3b2a2d7 (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>
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 1de704386a8..a02d64db061 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; |