diff options
author | Eyal Bari <ebari@cisco.com> | 2017-12-04 13:57:45 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-12-04 17:13:38 +0000 |
commit | 2e292c6f6489015460e3fee8ec567791c897108e (patch) | |
tree | 610d115f8cd34c4c193955e52142b1ef793c402f /src/vnet/ethernet/p2p_ethernet.c | |
parent | c99b4cd1c3aae9ca3bda0595a5cce4ea5e6ba84f (diff) |
vlib: switch when frames are different
[ebari] no need to switch if next2, next3 are equal to next_index
[dbarach] change fix_speculation calculaton to a branch-free xor/or tree
Change-Id: I0131dc4499218363d5b0ce8f6440ce74e0b22bb9
Signed-off-by: Eyal Bari <ebari@cisco.com>
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/ethernet/p2p_ethernet.c')
0 files changed, 0 insertions, 0 deletions