ethernet: fix dmac stride error

Type: fix

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Change-Id: I617fb365def22a28d48f75013dea38f8e1703a44
(cherry picked from commit cbe36e47b5647becc6c03a08e2745ee5ead5de20)
This commit is contained in:
Zhiyong Yang
2020-05-09 07:13:34 +00:00
committed by Andrew Yourtchenko
parent aa45bd3f66
commit 3aab9be751

View File

@ -762,7 +762,7 @@ eth_input_process_frame (vlib_main_t * vm, vlib_node_runtime_t * node,
n_left -= 1; n_left -= 1;
etype += 1; etype += 1;
tag += 1; tag += 1;
dmac += 4; dmac += 1;
from += 1; from += 1;
} }