X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fl2fwd%2Fmain.c;h=2d9436661346ed9bddc3ec104e3bc9eae645dfd5;hb=a182620042aa297ba1dc88f3089537d94b51bcf9;hp=65017bc64c8b617b29f87cc61b999fb27ee0ab40;hpb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;p=dpdk.git diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 65017bc64c..2d94366613 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -163,6 +163,11 @@ static const struct rte_eth_txconf tx_conf = { }, .tx_free_thresh = 0, /* Use PMD default values */ .tx_rs_thresh = 0, /* Use PMD default values */ + /* + * As the example won't handle mult-segments and offload cases, + * set the flag by default. + */ + .txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS | ETH_TXQ_FLAGS_NOOFFLOADS, }; struct rte_mempool * l2fwd_pktmbuf_pool = NULL;