Skip to content

Fix packet length issue

Ouyang Changchun dpdk-dev 4 versions – Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 7 repliesApplied
  2. v32 patches 0 repliesSuperseded
  3. v21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3vhost: Fix packet length issueexamples/vhost/main.c+10 -21 reply
2/3vhost: Remove duplicated codesexamples/vhost/main.c+58 -810 replies
3/3vhost: Check offset valueexamples/vhost/main.c+5 -24 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKonstantin AnanyevHuawei Xie
SeriesA-b
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix packet length issue

This patch set fix packet length issue in vhost app, and enhance code by extracting a function to replace duplicated codes in one copy and zero copy TX function.

-v4 chang:
Check offset value and extra bytes inside packet buffer cross page boundary.

-v3 change:
Extract a function to replace duplicated codes in one copy and zero copy TX function.

-v2 change:
Update data length by plus offset in first segment instead of last segment.

-v1 change:
Update the packet length by plus offset;
Use macro to replace constant.

Changchun Ouyang (3):
Fix packet length issue in vhost.
Extract a function to replace duplicated codes in vhost. Check offset value in vhost

 examples/vhost/main.c | 142 +++++++++++++++++++++++---------------------------
 1 file changed, 65 insertions(+), 77 deletions(-)
Signature · 1 line
1.8.4.2