diff options
author | Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> | 2017-03-03 17:38:14 +0000 |
---|---|---|
committer | Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> | 2017-03-23 11:46:16 +0000 |
commit | c4c44906536c07fd3d684175db6a5dae05682947 (patch) | |
tree | b6f8b572c32465f6acdb471b53bd71784d5c4b03 /examples/l4fwd | |
parent | 21e7392fca2c430018cf387bb3e368ea4c665446 (diff) |
implement sw segmentation for tcp
Change-Id: Ibe3ac4b401ea9c7680ab5d3e8c73557d95402ff2
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Diffstat (limited to 'examples/l4fwd')
-rw-r--r-- | examples/l4fwd/tcp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/l4fwd/tcp.h b/examples/l4fwd/tcp.h index f6ca3a5..e4aadb5 100644 --- a/examples/l4fwd/tcp.h +++ b/examples/l4fwd/tcp.h @@ -279,9 +279,9 @@ netfe_fwd_tcp(uint32_t lcore, struct netfe_stream *fes) __func__, lcore, proto_name[fes->proto], fed->s, n, k); - fed->stat.txp += k; - fed->stat.drops += n - k; - fes->stat.fwp += k; + fed->stat.txp += k; + fed->stat.drops += n - k; + fes->stat.fwp += k; } else { NETFE_TRACE("%s(%u, %p): no fwd stream for %u pkts;\n", |