diff options
author | Michal Mazur <mkm@semihalf.com> | 2017-11-26 19:28:55 +0100 |
---|---|---|
committer | Michal Mazur <mkm@semihalf.com> | 2017-12-18 18:21:00 +0100 |
commit | 945f7e8ebe39ffa80dfb38b950406a7dd4935f1f (patch) | |
tree | 815c85288b34ccb3058d8b2b46a65bff846f256d /src/vnet/classify | |
parent | 4c34d6c16947c5e1465319d9d44dbdaaa2f04c4e (diff) |
More optimizations for Tx and Rx loops
1) Parse multiple output packets in loop.
2) Remove checking for error flags, they are never set because
ODP parser is disabled.
3) Do not call vlib_buffer_advance if not necessary.
4) Remove lock in TX path. Queues are synchronized by ODP.
5) Optimize detection of packet type.
6) Create a wrapper for call to odp_packet_user_area.
Change-Id: Ib50c9be9a62d67824b58ef2cd443b7fc59471655
Signed-off-by: Michal Mazur <mkm@semihalf.com>
Diffstat (limited to 'src/vnet/classify')
0 files changed, 0 insertions, 0 deletions