Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0af529c
)
MTU assigning to itself (Coverity)
00/13000/1
author
Ole Troan
<
[email protected]
>
Tue, 12 Jun 2018 09:39:15 +0000
(11:39 +0200)
committer
Ole Troan
<
[email protected]
>
Tue, 12 Jun 2018 09:40:18 +0000
(11:40 +0200)
Change-Id: Iee8de25ab3c68ae3698c79852195dc336050914c
Signed-off-by: Ole Troan <
[email protected]
>
src/plugins/dpdk/device/init.c
patch
|
blob
|
history
diff --git
a/src/plugins/dpdk/device/init.c
b/src/plugins/dpdk/device/init.c
index
461bae0
..
66678e6
100644
(file)
--- a/
src/plugins/dpdk/device/init.c
+++ b/
src/plugins/dpdk/device/init.c
@@
-1678,10
+1678,6
@@
dpdk_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
clib_memcpy (shi->hw_address, addr, 6);
clib_memcpy (sei->address, addr, 6);
/* Set l3 packet size allowed as the lowest of slave */
- if (bhi->max_packet_bytes > shi->max_packet_bytes)
- bhi->max_packet_bytes = bhi->max_packet_bytes;
-
- /* Set max packet size allowed as the lowest of slave */
if (bhi->max_packet_bytes > shi->max_packet_bytes)
bhi->max_packet_bytes = shi->max_packet_bytes;
}