aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/main.c
diff options
context:
space:
mode:
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,
},
};