From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0063.outbound.protection.outlook.com [104.47.34.63]) by dpdk.org (Postfix) with ESMTP id E46112935 for ; Fri, 14 Jul 2017 07:38:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cienacorp.onmicrosoft.com; s=selector1-ciena-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3Rx7Nvx3GLZhBrPF7VRoM+v+0WsoxVst80jobk5HoJs=; b=HFnkd5YDzqiUNu56YwomtrhQcQM2GrihS2arRTidMJnb/SPH7K5le2/pj4Vc8AIWM9KPE6uMEmHSojzdsHXF1lxszY2pLrzeLjQ3ditweJNN52FBsSmsxt1a6LTUpjb1kDhsK/5xMSRclcMRSGAnHVcXF/aRPjC1qGFNy7w1Jxg= Received: from BN6PR04MB0594.namprd04.prod.outlook.com (10.173.201.147) by BN6PR04MB0597.namprd04.prod.outlook.com (10.173.202.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Fri, 14 Jul 2017 05:38:46 +0000 Received: from BN6PR04MB0594.namprd04.prod.outlook.com ([10.173.201.147]) by BN6PR04MB0594.namprd04.prod.outlook.com ([10.173.201.147]) with mapi id 15.01.1240.021; Fri, 14 Jul 2017 05:38:45 +0000 From: "Yeddula, Avinash" To: "dev@dpdk.org" Thread-Topic: Issue with TX of Jumbo frames on 10G interfaces ONLY Thread-Index: AdL8YyKP1o1pcfHpRp+owhbDNm9KPA== Date: Fri, 14 Jul 2017 05:38:45 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=ciena.com; x-originating-ip: [67.188.113.138] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR04MB0597; 7:ktsVCrkT2sB60TWHLuWyoYEmB8bGnIN7uRDkoGRgSgplc51hF3mD9MTZIRxfIBZ+qJKwSQHGov65J2UseegfsEr3ZlB704Zp4LAsb5CSvxM9mTSypJQMRpXZC+zKq117v+aYiHWmaMbmN/Yf6HHQz5jdkSqxu+pVkIfsqtyFLuiNYObe/ywGSeBydC/KHnfPBpPV3kDNejXvGo8OKv/PC8CDG5F/QAXLdjMnmOzmWVYKVuJi8pidNoYJesopSTt5T8Oo6mKRn3+n+p+LEHHD+NLhv2QQtCIwlJ24ZpZR54tabWuVDgkJxgl7WeXXPCIzcNRUdr8Kp0OYgn+3q5eGNDGk9Bj7+cCo8cKGVHdyT14EC02dXIQLjj1kb7gLS1RRY6eOsVYBOPDasuizt0hEdrQWsFMEF2IYy61vtHijL3Y8CME8OhIbpsYEyegGZBglrCUae1vjath73cPq+qYvzztha2bAAXIhlqvLEXYNBSmG9+k+1pGyZejBfxJk7n90PdwbGvCn6y1jJn+jBSa25xHchXq8bv00MltZwcXR8Z1O/8CIPuVTOIyVQa8EUPhT0KkJXVUcw7+BAgCiKfzPwc7ZENl1KOA/BSluf/hPyMgi/pnK4UOUUAXE7yEyzNIL9NM/zLXJJc0AaJyjVfRIU/WyJgijnv+KDK2xNf96EsKB2eXMZItTz51pdFgkyoVSwrzDJOoMIs7wXfigpoyNF5j26+eezv3QfRhbyyBIoO3NwkfLhR0Jl6+lPown9SibiXUZzgRQzorom55gcakDsoyk5Z4QNbdF44ncYoYPSDc= x-ms-office365-filtering-correlation-id: 15c75d8d-014c-4ad4-e56a-08d4ca7a9862 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR04MB0597; x-ms-traffictypediagnostic: BN6PR04MB0597: x-exchange-antispam-report-test: UriScan:(151999592597050)(133145235818549)(26388249023172)(236129657087228)(21748063052155)(17755550239193); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR04MB0597; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR04MB0597; x-forefront-prvs: 0368E78B5B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39450400003)(39400400002)(39840400002)(39410400002)(53754006)(478600001)(6436002)(3280700002)(2351001)(25786009)(54356999)(5640700003)(50986999)(14454004)(7696004)(2906002)(6916009)(189998001)(54896002)(110136004)(77096006)(9686003)(38730400002)(7736002)(5660300001)(68736007)(53936002)(6506006)(2501003)(99286003)(55016002)(102836003)(6116002)(74316002)(790700001)(8936002)(3660700001)(33656002)(86362001)(2900100001)(3846002)(81166006)(9326002)(8676002)(1730700003)(66066001)(6306002)(5630700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR04MB0597; H:BN6PR04MB0594.namprd04.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2017 05:38:45.4396 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0597 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Issue with TX of Jumbo frames on 10G interfaces ONLY 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: Fri, 14 Jul 2017 05:38:48 -0000 Hi All, In order to support Jumbo frames for our application, I made the below chan= ges. The intention, here is to use "linked-mbufs instead of using 1 single = 9k MBUF". With the below changes, I'm able to send/receive 9k size frames on 1G inte= rfaces successfully. No issues what so ever with 1G interfaces. But, when it comes to 10G interfaces, I confirmed my app writes a jumbo fra= me on to the port "rte_eth_tx_burst", but that frame "never" showed up on = the other end, it got lost somewhere inside this API "rte_eth_tx_burst" . I do not see any type of "tx" stats ticked. Thought will check with the you= folks, before I dig inside "rte_eth_tx_burst" API. Is there any configs I'm missing for TX port, please comment ? This is the driver I use for "net_ixgbe" for my 10G interface. // local port config structure for initialization, code below may mod= ify struct rte_eth_conf port_conf =3D { .rxmode =3D { .split_hdr_size =3D 0, .header_split =3D 0, /**< Header Split disabled */ .hw_ip_checksum =3D 0, /**< IP checksum offload disab= led */ .hw_vlan_filter =3D 0, /**< VLAN filtering disabled *= / .jumbo_frame =3D 1, /**< Jumbo Frame Support alway= s enabled */ .max_rx_pkt_len =3D 9216, /**< If jumbo_frame is enabled then m= ax_rx_pkt_len must be set */ .hw_strip_crc =3D 0, /**< CRC stripped by hardware = */ }, .txmode =3D { .mq_mode =3D ETH_MQ_TX_NONE, }, .intr_conf.lsc =3D 0, }; port_conf.rxmode.enable_scatter =3D 1; port_conf.rxmode.hw_ip_checksum =3D 0; Thanks -Avinash