diff options
author | Eyal Bari <ebari@cisco.com> | 2018-03-28 15:25:28 +0300 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-03-29 15:14:48 +0000 |
commit | 109139eed67b7f472cf7328a02265528dbe8934e (patch) | |
tree | 41d6b29896372c69cd2bb665d44ceb8d6239b479 /src/vnet/pg/stream.c | |
parent | 56b39f6a9e1e467b3e7413092e20882df3d59ced (diff) |
l2_input:optimize counter access
only one counter update per frame (was updated per iteration)
only access ethertype for casts (was always accessing ethertype)
Change-Id: I3a3c3219ec63e975cf5bd8cf2d93103932a4aaa3
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vnet/pg/stream.c')
0 files changed, 0 insertions, 0 deletions