From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta-us-central-03.viasat.com (mta-us-central-03.viasat.com [8.37.103.60]) by dpdk.org (Postfix) with ESMTP id 49FF62862 for ; Wed, 7 Nov 2018 00:06:12 +0100 (CET) Received: from pps.filterd (wdc1mta02.viasat.com [127.0.0.1]) by wdc1mta02.viasat.com (8.16.0.22/8.16.0.22) with SMTP id wA6N5hmx017097 for ; Tue, 6 Nov 2018 23:06:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viasat.com; h=from : to : subject : date : message-id : content-type : mime-version; s=pp1; bh=Knw6qnfUljHFTXdy3Z0Hv0S68tsvbNjVwPyBYZtEgkE=; b=dJZRzgjl4lOUSLosgNl5mTs+mWbycz8pRIszftf3iqnweqwwvx2qO/5Ki5Acb4tUnAgs jNEjn/lh/VDUnUDtraBfqtX9SjRvDVwBeUnsTv7d5PKiwRQcYBaRf/mqZ7vins4bTm+V /scp8Qk/3GM/YI6/lr1auVqVtdHkqaE1dD5Fn1/Mn0oP1FuTYRXcDng/D9n9BKBS+9Po 93yUwaRiRbCFg+q71s3/CkRzvqozmQ4fA09hEF28JnRpi25o5r219BJx376p21AU9qae CAM17hgMPpCATfhy0XFmwLJLks6GWAEdSTTcx5SM+Cu2BvIGBEcCrWNIDJEqnVnEf/JG VQ== From: "Burdick, Cliff" To: "dev@dpdk.org" Thread-Topic: [PATCH] Added jumboframe RX offload flag in example using 9KB packets Thread-Index: AdR2I/JszZyVmlBKSnKL6Fsw+8zJlw== Date: Tue, 6 Nov 2018 23:06:09 +0000 Message-ID: <03A7D9A58FAFB54FBB01FEE199D7308A0134B8BDDB@wdc1exchmbxp02.hq.corp.viasat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-06_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=744 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811060196 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH] Added jumboframe RX offload flag in example using 9KB packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 23:06:12 -0000 I apologize if any formatting is wrong here, since this is my first post. I= noticed with i40e jumboframes cannot be received without the offload flag = set, even though the max_rx_pkt_len is set to 9000. This is the case in the= ip_pipeline example, so I don't think packets that large would work until = the offload is set. Signed-off-by: Cliff Burdick --- examples/ip_pipeline/link.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ip_pipeline/link.c b/examples/ip_pipeline/link.c inde= x 787eb866a..45d55cd1f 100644 --- a/examples/ip_pipeline/link.c +++ b/examples/ip_pipeline/link.c @@ -48,6 +48,7 @@ static struct rte_eth_conf port_conf_default =3D { .mq_mode =3D ETH_MQ_RX_NONE, .max_rx_pkt_len =3D 9000, /* Jumbo frame max= packet len */ .split_hdr_size =3D 0, /* Header split buffe= r size */ + .offloads =3D DEV_RX_OFFLOAD_JUMBO_FRAME, }, .rx_adv_conf =3D { .rss_conf =3D { -- 2.17.1