diff options
author | Dave Barach <dave@barachs.net> | 2019-03-07 10:06:52 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-07 19:39:28 +0000 |
commit | 974931f162820bd4ba41a43cae9578171cf0e3d1 (patch) | |
tree | 8025ada44b91bb3c2f863bc98e80894794e1fd3b /src/vnet/CMakeLists.txt | |
parent | f7c1a70ba502c83d6e5813344c01edbdfbff6738 (diff) |
Honor vnet_rewrite_data_t data_bytes == 0
Avoid the cache miss consequences of spraying [functionally harmless]
junk into un-prefetched rewrite space. As things stand, several tunnel
encap rewrites set rewrite data_bytes = 0, and take a performance hit
due to unwanted speculative copying.
Should be performance-neutral in speed-path cases, which won't execute
the added check.
Change-Id: Id83c0325e58c0f31631b4bae5a06457dfc7ed567
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions