From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 870A3A046B for ; Thu, 25 Jul 2019 10:29:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68DF11C2A6; Thu, 25 Jul 2019 10:29:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 103FA1C2A5; Thu, 25 Jul 2019 10:29:01 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6P8Q22d000424; Thu, 25 Jul 2019 01:29:01 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=mbxU7VjqMpWOatSBzNYUGdA6VfUqB52kNurNNNF7y+U=; b=Zfb3LXUApvVqeYwiKojpGl7oOr68nY9l/UsiDwOdD6MUb5+b38+O88HlgWCUwcCmqkgM KviH1xCH6Ky/J1TzmAhkGtt6nGCoaQswkdqkW3L30eNQL2SK9ZjTlAtDHKlwopWKO+Sk 5GNMAueSseEFn69OLJ0ohgCQxjHS+p7G/hRPqGnEFXDwlzKMPV4eov8LEIr+HZ73lP38 i0hzvWPRlTFYoSHNa3YaEbrJtR1vVDVOfyr8WYUeP0T1HkBO+8vKUngJLO5yvD6GWGXY FTu4CC1VQR3NugFMlX66nDZ10D0u3K/4RCFImHSaerfVW560dXQSIEP4XfCHgC9QM9h1 YA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2tx61rgkuf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 25 Jul 2019 01:29:01 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 25 Jul 2019 01:28:59 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.51) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 25 Jul 2019 01:28:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AeANq+wslsn+WUQ1hBkKYVkCqb5PDBqMtpP3v4lgiGpgi0VfM+wLc5SaludocD7G4wtehggZabVfEq6gp9eORrU/OWu7L5HxjpZkGAzW++5tufeZp/2fBKXom8fpIYlYFkau+Bs0ylq1sUXYKfAnv1W+1ouORLzCWv17FIz+3APlOrfRlASMdf4Qsjz3O2oBWexfWpJbM1z3y8Dl/yUufXO6XzcFHEgwrzwtEoPHMGIFYszVy/DGiXgiZ+VGvFEShk61+Y1SLuQ4vTEh7//U71cTu3UYXaZ9GEeQPPNS1Cky9z21lSvIyGZ/rg40sVvfsCX2huocf79MSLiDn16dJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mbxU7VjqMpWOatSBzNYUGdA6VfUqB52kNurNNNF7y+U=; b=AbqSPnbEhgO1tjejGnBBnc72lQGIGDQpnXjfVjaj5aFUNfyZvIh9xunWSeFCenhVCGEbtKms1nzARobhaRbzXCB9Gv4tsQaLrrxu25a9j+J6XaXO3Jhd04QeinRZfM4vmE0BYud2EVEOBnOhHRWweCDunQ4Ni/Mmoy/jG1ApxMhRcErZt+pFeQ6KYoawX33jW05N6ZurrwMY01yYL06B628Y/cgAOWhVo1lkhd6vgDjHxTZ4rwG85/KbZFy8A8B5ML5LP8E979jUz1X2Llj+SbwzsF2GxRqa2oNtLYzgRAYp5vO1XycIp/OCeYnDpAvtu2ktDbvNqoYL6by4v+D5Eg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mbxU7VjqMpWOatSBzNYUGdA6VfUqB52kNurNNNF7y+U=; b=MJxxwJ88nNbiytMIU2aOcIyPYpxcQS9w8l/mOJ0gAqf2N6Mn1G9Ckld1FAj8/lqH/K5flZ0rFyKutRQ+vhVIQ+y5O/iDBhShNqhzVtQntbaOMFsfpE/gK/rtTaDkzzGg9GUkfAsNftiuIta9SA8RZPOsASI6Nq5hK7S7SzSPCpY= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Thu, 25 Jul 2019 08:28:58 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2094.013; Thu, 25 Jul 2019 08:28:58 +0000 From: Jerin Jacob Kollanukkaran To: Sunil Kumar Kori , Konstantin Ananyev CC: "dev@dpdk.org" , "stable@dpdk.org" , "Sunil Kumar Kori" Thread-Topic: [dpdk-dev] [PATCH v3 1/1] examples/ip_frag: fix Tx fast free offload flag Thread-Index: AQHVQsJm2VuLwC328kGL3K8a09vQ/6bbAFJQ Date: Thu, 25 Jul 2019 08:28:58 +0000 Message-ID: References: <1564034330-16321-1-git-send-email-skori@marvell.com> <1564043050-28306-1-git-send-email-skori@marvell.com> In-Reply-To: <1564043050-28306-1-git-send-email-skori@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.248.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f971aeb1-24a7-4695-0358-08d710da23a5 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2424; x-ms-traffictypediagnostic: BYAPR18MB2424: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1247; x-forefront-prvs: 0109D382B0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(39860400002)(396003)(366004)(346002)(189003)(199004)(13464003)(66556008)(64756008)(66446008)(6246003)(7736002)(305945005)(9686003)(66476007)(11346002)(14454004)(110136005)(102836004)(7696005)(54906003)(316002)(53546011)(6506007)(74316002)(53936002)(33656002)(66066001)(99286004)(76176011)(68736007)(446003)(55016002)(107886003)(486006)(26005)(476003)(76116006)(256004)(186003)(66946007)(2906002)(4744005)(86362001)(71200400001)(229853002)(6436002)(5660300002)(71190400001)(81156014)(478600001)(4326008)(8936002)(25786009)(3846002)(6116002)(52536014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2424; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: EC0bp4ecgF0e/UGzUCCqmCqpcO0pNAHlrJlAxT8melYYy8yvCSEnfiMWPkLQr5dbj2WeM5lzlYLYn7dIhsBtx7thGFrRHHlMj9vhym7XaCHtQowM/cJWDUuuxgiCT8W97JwL76b3MGmK+uDMTMln1DVb2iwSIh76QEjvWPluQItMYwWK9GOEl1ZeBP+Bppw1kWKLnSy6khqdROKrjTau/tHXjrUcVaNm3U8y/bP2G4G3I7jX/OQPeyvzhyvliudDhrz5uOydp0qV1t5TyLTuFgGdSUfXaQasb4WOmrrG6Pxea6rThdVIs2tN9zNf92cl8mYiQLwgJZu5GncqT3MlMJMITOFWzsO1/Smipt5IUwfmQqRXjmGLXsjiu6nbRXfsVMl0moVBLCOD9pZCDqD5EA1fOvmBERC1+Djp1EqEtPM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f971aeb1-24a7-4695-0358-08d710da23a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2019 08:28:58.1047 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2424 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-25_04:2019-07-25,2019-07-25 signatures=0 Subject: Re: [dpdk-dev] [PATCH v3 1/1] examples/ip_frag: fix Tx fast free offload flag 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Sunil Kumar Kori > Sent: Thursday, July 25, 2019 1:54 PM > To: Konstantin Ananyev > Cc: dev@dpdk.org; stable@dpdk.org; Sunil Kumar Kori > Subject: [dpdk-dev] [PATCH v3 1/1] examples/ip_frag: fix Tx fast free off= load > flag >=20 > Application uses different pool to allocate direct and indirect mbufs whi= ch are > further spliced together to consturct a fragmented packet and same is > transmitted over the port which is configured with > DEV_TX_OFFLOAD_MBUF_FAST_FREE enabled i.e. all segments must belong > to the same pool. But constructed packet violates the conditions. >=20 > So fixing DEV_TX_OFFLOAD_MBUF_FAST_FREE flag during device > configuration. >=20 > Fixes: fdb9eff67f0c ("examples/ip_fragmentation: convert to new offloads > API") >=20 > Signed-off-by: Sunil Kumar Kori Reviewed-by: Jerin Jacob