X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fperformance-thread%2Fl3fwd-thread%2Fmain.c;h=74e016e1d20d0df26114839f0809ed2977911926;hb=b563c1421282;hp=69a12205bcc04742fddb862ac234cb73ee44dab2;hpb=f7e04f57ad61c8c343502f108c141c359d3d3db6;p=dpdk.git diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index 69a12205bc..74e016e1d2 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -3489,10 +3489,8 @@ config_port_max_pkt_len(struct rte_eth_conf *conf, dev_info->max_mtu); conf->rxmode.mtu = max_pkt_len - overhead_len; - if (conf->rxmode.mtu > RTE_ETHER_MTU) { + if (conf->rxmode.mtu > RTE_ETHER_MTU) conf->txmode.offloads |= DEV_TX_OFFLOAD_MULTI_SEGS; - conf->rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; - } return 0; }