From b3e45b24009263bd331ae5314d5bff99234c086c Mon Sep 17 00:00:00 2001 From: Mariusz Drost Date: Fri, 31 Jan 2020 12:18:43 +0000 Subject: l4fwd: Change rx offload default Tap interface does not provide any offload capabilities. To use that interface with l4fwd app, default offload capabilities should be set to 0. Signed-off-by: Mariusz Drost Change-Id: If30f44bb986b87e079be3ec1dfe0ad5341862030 --- examples/l4fwd/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c index 9396403..469776f 100644 --- a/examples/l4fwd/main.c +++ b/examples/l4fwd/main.c @@ -66,11 +66,7 @@ static struct rte_mempool *mpool[RTE_MAX_NUMA_NODES + 1]; static struct rte_mempool *frag_mpool[RTE_MAX_NUMA_NODES + 1]; static char proto_name[3][10] = {"udp", "tcp", ""}; -static const struct rte_eth_conf port_conf_default = { - .rxmode = { - .offloads = DEV_RX_OFFLOAD_VLAN_STRIP, - }, -}; +static const struct rte_eth_conf port_conf_default; struct tx_content tx_content = { .sz = 0, -- cgit 1.2.3-korg