diff options
author | Ben Magistro <koncept1@gmail.com> | 2021-11-11 01:24:50 +0000 |
---|---|---|
committer | Ben Magistro <koncept1@gmail.com> | 2021-12-16 01:27:07 +0000 |
commit | 3b80f5d6fbc5ed41fa462acb8c2ccf87e31d9b61 (patch) | |
tree | 7107cd3bfb853c1d4d08a17d5cfe638de8f9fb4e /test/gtest | |
parent | b792c1f27d58040f3a815da18183d329bd6bd84b (diff) |
tldk: Switch to DPDK v21.11
Several flags have been deprecated or removed, this shifts to the new
flags and updates structures accordingly. On the DPDK side, the
relevant patches are:
* https://patches.dpdk.org/project/dpdk/patch/20211015192408.21798-5-olivier.matz@6wind.com/
* https://patches.dpdk.org/project/dpdk/patch/20211018134854.1258938-4-ferruh.yigit@intel.com/
* https://patches.dpdk.org/project/dpdk/patch/20211018134854.1258938-1-ferruh.yigit@intel.com/
Signed-off-by: Ben Magistro <koncept1@gmail.com>
Change-Id: I0501d389a7cacf3cd6d5db2683697b03f57cb818
Diffstat (limited to 'test/gtest')
-rw-r--r-- | test/gtest/test_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtest/test_common.cpp b/test/gtest/test_common.cpp index e7fa788..74e535f 100644 --- a/test/gtest/test_common.cpp +++ b/test/gtest/test_common.cpp @@ -27,7 +27,7 @@ port_init(dpdk_port_t port, struct rte_mempool *mbuf_pool) socket_id = rte_eth_dev_socket_id(port); memset(&port_conf, 0, sizeof(struct rte_eth_conf)); - port_conf.rxmode.max_rx_pkt_len = RTE_ETHER_MAX_LEN; + port_conf.rxmode.mtu = RTE_ETHER_MAX_LEN; /* Configure the Ethernet device. */ retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); |