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 compatibility with DPDK < 21.11
[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
0833f18
..
dc6b0c1
100644
(file)
--- a/
src/plugins/dpdk/device/common.c
+++ b/
src/plugins/dpdk/device/common.c
@@
-160,7
+160,6
@@
dpdk_device_setup (dpdk_device_t * xd)
{
conf.rxmode.max_rx_pkt_len = dev_info.max_rx_pktlen;
xd->max_supported_frame_size = dev_info.max_rx_pktlen;
- mtu = xd->max_supported_frame_size - xd->driver_frame_overhead;
}
else
{