diff options
author | 2023-01-27 17:38:18 +0000 | |
---|---|---|
committer | 2023-05-19 20:56:15 +0000 | |
commit | 168bb1d55efeba716bd3004a1f3d19cf25c15191 (patch) | |
tree | 6d30b0e242a3560003d762c18d1eb0171c48fd2c /src/plugins/dpdk/device/common.c | |
parent | d35c71c2f1bc1f4a5119f6944dad26fa0eff27c3 (diff) |
dpdk: fix compatibility with DPDK < 21.11
Signed-off-by: Andrew Ying <hi@andrewying.com>
Type: fix
Change-Id: I3c428c90146387ad9ce291c7f646d74f06952b40
Diffstat (limited to 'src/plugins/dpdk/device/common.c')
-rw-r--r-- | src/plugins/dpdk/device/common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c index 0833f18700c..dc6b0c1c952 100644 --- 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 { |