diff options
author | PiotrX Kleski <piotrx.kleski@intel.com> | 2020-12-09 14:32:26 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-12-11 23:29:59 +0000 |
commit | b801cd1b31e44e9e90f4619db0cad4ab661019e5 (patch) | |
tree | 6fa8fc4a54fef7493cbffdc023540fb633dd8206 /src/plugins/nsim | |
parent | 32526a42c59f076e356c3690306b8bcaa80d999d (diff) |
ip: ip4 rewrite prefetch optimization
Type: improvement
ip4_rewrite_inline_with_gso() did vlib_prefetch_buffer_header() for all nodes.
However it is not necessary for ip-rewrite, it is only needed by ip-midchain.
This patch makes ip4-rewrite prefetches less buffers to save cycles.
Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com>
Change-Id: Ib82dcb0eda4a2d1d7b8d664f2224d49b72aef50f
Diffstat (limited to 'src/plugins/nsim')
0 files changed, 0 insertions, 0 deletions