aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/main.c
diff options
context:
space:
mode:
authorJianfeng Tan <henry.tjf@antfin.com>2019-06-13 15:14:12 +0800
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2019-06-14 17:54:42 +0100
commitcecfc87fc706a6ac819aa213b368072fa011bcae (patch)
tree6b23f4f7d92fd6e90c5434d7ddb6b1eefebda9b4 /examples/l4fwd/main.c
parent37854f54f97e07b5443a7ec3eb19dcfad6ace5ed (diff)
dpdk: move to v18.11 as default DPDK version
DPDK v18.11 is the latest LTS verison. As of the API/ABI changes introduced in ether at v18.08, we cannot compile l4fwd and nginx with old DPDK versions. Change-Id: I225302d9a257e9bce4aa22ff84d76a57170e7eb7 Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'examples/l4fwd/main.c')
-rw-r--r--examples/l4fwd/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c
index ff572be..9396403 100644
--- a/examples/l4fwd/main.c
+++ b/examples/l4fwd/main.c
@@ -68,8 +68,7 @@ static char proto_name[3][10] = {"udp", "tcp", ""};
static const struct rte_eth_conf port_conf_default = {
.rxmode = {
- .hw_vlan_strip = 1,
- .jumbo_frame = 0,
+ .offloads = DEV_RX_OFFLOAD_VLAN_STRIP,
},
};