diff options
author | Steven Luong <sluong@cisco.com> | 2020-02-13 09:27:38 -0800 |
---|---|---|
committer | steven luong <sluong@cisco.com> | 2020-02-27 16:30:05 +0000 |
commit | c7a00641f8004d87d38a1092ab16da8f49bd6cf2 (patch) | |
tree | d55ce66377c846c7fa58d18f1118e49879eea907 /src/vnet/misc.c | |
parent | de1aa39a56ce1ec8daabe189e04bb5ad4c0aaa78 (diff) |
avf: Handle chain buffer in TX properly
For chain buffer, need to traverse b->next_buffer to transmit all buffers
in the chain. Only set EOP at the last descriptor in the chain to signal
this is a chain descriptor.
Introduce slow path to handle ring wrap. This is needed because chain
buffer may consist of multiple pieces and it may span from near the end of
the ring to the beginning of the ring.
Type: fix
Ticket: VPP-1843
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Id7c872f3e39e09f3566aa63f3cdba8f40736d508
(cherry picked from commit f7ab7b2d9bc0f42c1e766d22d49dd0dc4f28abb6)
Diffstat (limited to 'src/vnet/misc.c')
0 files changed, 0 insertions, 0 deletions