diff options
author | Mariusz Drost <mariuszx.drost@intel.com> | 2020-01-31 12:18:43 +0000 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2020-02-03 11:34:30 +0000 |
commit | b3e45b24009263bd331ae5314d5bff99234c086c (patch) | |
tree | cc3a63eee51166638731f83a7ffcddbbe58a85ca /examples/l4fwd | |
parent | 96c61c9a069448893c11835fdd9b5993069aa79b (diff) |
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 <mariuszx.drost@intel.com>
Change-Id: If30f44bb986b87e079be3ec1dfe0ad5341862030
Diffstat (limited to 'examples/l4fwd')
-rw-r--r-- | examples/l4fwd/main.c | 6 |
1 files changed, 1 insertions, 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, |