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.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c
index 9396403..57e9cfd 100644
--- a/examples/l4fwd/main.c
+++ b/examples/l4fwd/main.c
@@ -61,16 +61,12 @@ RTE_DEFINE_PER_LCORE(struct netfe_lcore *, _fe);
static volatile int force_quit;
-static struct netbe_cfg becfg;
+static struct netbe_cfg becfg = {.mpool_buf_num=MPOOL_NB_BUF};
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,