diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2020-05-09 07:13:34 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-06-12 05:56:06 +0000 |
commit | 3aab9be7511d64c5f094225e55572c466ccf4b80 (patch) | |
tree | 011760e2617e184ef6885cbd889c343d88f72536 /src | |
parent | aa45bd3f66e5dd47b19aa608052abe6764821eb6 (diff) |
ethernet: fix dmac stride error
Type: fix
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Change-Id: I617fb365def22a28d48f75013dea38f8e1703a44
(cherry picked from commit cbe36e47b5647becc6c03a08e2745ee5ead5de20)
Diffstat (limited to 'src')
-rwxr-xr-x | src/vnet/ethernet/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c index 63ce0ce1c6c..16838c5af34 100755 --- a/src/vnet/ethernet/node.c +++ b/src/vnet/ethernet/node.c @@ -762,7 +762,7 @@ eth_input_process_frame (vlib_main_t * vm, vlib_node_runtime_t * node, n_left -= 1; etype += 1; tag += 1; - dmac += 4; + dmac += 1; from += 1; } |