Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
dpdk: fix overflow in mtu arithmetic
[vpp.git]
/
src
/
plugins
/
dpdk
/
device
/
common.c
diff --git
a/src/plugins/dpdk/device/common.c
b/src/plugins/dpdk/device/common.c
index
a376595
..
b8c6edd
100644
(file)
--- a/
src/plugins/dpdk/device/common.c
+++ b/
src/plugins/dpdk/device/common.c
@@
-65,7
+65,7
@@
dpdk_device_setup (dpdk_device_t * xd)
struct rte_eth_dev_info dev_info;
struct rte_eth_conf conf = {};
u64 rxo, txo;
- u
16
max_frame_size;
+ u
32
max_frame_size;
int rv;
int j;