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 F2850A04BB; Tue, 6 Oct 2020 15:10:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 005704C8A; Tue, 6 Oct 2020 15:10:27 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) by dpdk.org (Postfix) with ESMTP id CA7052C54 for ; Tue, 6 Oct 2020 15:10:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kYBjFRD4dpKQBvVUyc1X0H/gLgI+1midzS7yMBYgvj0DwLiMOQ1plnhMv3N7y/fGpz6qUT9C62UH9MfDmjklHikxWFnzcARE7srNt1KE7ko6E8jj8bUh+ka9mCYahAug3lObdN32RZB5jwWpeVT1sE4eZLeOEyUWm9IwQfvfQr3ErvVE6TB26S0ffcM705O91T1zFRw0v/u1dgCQjfYDZ/VkSXMxIwrtZREAQRGin6yX9B6ukh2Q+D5nB5w7uozC88t4ZOPjsn3INr/qPhn5EU+9ZvFaqK3KRQ0IZH4HiRCChrDYduROdSh+f0VfdHVMSFgc16HuHiYd89WC8yc51w== 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=1aKhy5qEC3V6/+Pp60kDOOUb6Pej7VR5/D1lSs8JiU4=; b=kjDOusHyLxg3pTz6F09R+H6v/kXmJzy6QtH3y1zGQ8X4RVSM2PQ572a5pto7I2I08TJAo5sNjJG0voi6qdrLIbLRvSLV67fMNo2i7wi/xWoLwIlihqtzfXNCzWF3hDHw44uBHr8bAeD+VmzD7WFArNAr/VvmlTaq/F6CXc4ZJoh0i27FhgdkAQnWZO2hJ46eL6MsE+0BN+Ih/CIpBqMAFEZDMrQBNs0bnlxZlGmICFmLVS8VXwz8ZPmF3z1u0tP7V05oB4nLJkIC6xckO4Nt2Iuu/lHTUaeZv91H/2Jg0etSYegX3rE1y+RdM6KnAUW+pU7UBDscRFTx7nvf4PFrjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1aKhy5qEC3V6/+Pp60kDOOUb6Pej7VR5/D1lSs8JiU4=; b=MvT3A4KieSpOCBjHekH3jZt4IyefZWcN93am24Wq9VYpivYLLGGEy0Nv0gixPMgrZ2zPIP1TCU893wxnPVkBOfwZCJhS/TnCP+fCCd9RioIs+nRrRR3Ad19HzNX2bV6cGXULqeJcj9sR6EpItonHradcPbSztjA09Wgw6XjKX8g= Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com (2603:10a6:203:37::20) by AM6PR04MB4165.eurprd04.prod.outlook.com (2603:10a6:209:44::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.38; Tue, 6 Oct 2020 13:10:22 +0000 Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com ([fe80::3c2c:e6e1:4e49:2e5c]) by AM5PR0401MB2593.eurprd04.prod.outlook.com ([fe80::3c2c:e6e1:4e49:2e5c%11]) with mapi id 15.20.3433.045; Tue, 6 Oct 2020 13:10:22 +0000 From: Nipun Gupta To: Jerin Jacob CC: Stephen Hemminger , dpdk-dev , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Hemant Agrawal , Sachin Saxena , Rohit Raj Thread-Topic: [dpdk-dev] [PATCH 1/3 v2] ethdev: add rx offload to drop error packets Thread-Index: AQHWmudGeEa9FfqKCU+enIIdCNVo4amJJFeAgAAJ1oCAATBVsIAAHH6AgAAQwxA= Date: Tue, 6 Oct 2020 13:10:22 +0000 Message-ID: References: <20200831075333.10135-1-nipun.gupta@nxp.com> <20201005071506.28861-1-nipun.gupta@nxp.com> <20201005083455.2fdf57f2@hermes.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [182.69.68.139] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 55a16831-5357-44a4-3f66-08d869f92ed3 x-ms-traffictypediagnostic: AM6PR04MB4165: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qlgIYu2nvpItgCqEt3L2gPCp51qcbFC5Sxz+2ABO/QDCt1+ZMYlJe+hoZBYluuULcHEirILyY8Bch1EZyTGIQ2jQg6w3cFlJqs6UbbUaB4MjC25caM3JTcW0pOu5FWr6e77CO6hlSHYzbn+jd952nJFDOD5+bzACfGaIvSLGFuujSfTf3/b4abj4qyP8S6FKhSf6CHTC0B52oxOCM6w/5r4da1KEsvMBtQOXO+ihVFWbVKsRBOMQhDVli5R24eDUlOkGBhrk8EiKDY/Re/HMY3X+5QGO6vr6joS/SMf170dXVVWjjpM+a2viK6iixWbeyZ6PNKy7EnqPi3WWA232Lc5GjM7prvAFE9JPWrVHc5Fz1jlRlzAywmpqKwKxBiBbBbFqwRyAjjDR62Zx28Ntbw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0401MB2593.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(346002)(376002)(39860400002)(71200400001)(5660300002)(66946007)(83380400001)(66476007)(64756008)(44832011)(66446008)(52536014)(86362001)(83080400001)(9686003)(66556008)(76116006)(26005)(186003)(55016002)(4326008)(53546011)(6506007)(2906002)(478600001)(54906003)(33656002)(966005)(316002)(6916009)(8936002)(7696005)(8676002)(45080400002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: y9mr3yM6FU/hLe22tWZPnlgSeudc54QqwJDTi8g6+kITT7Bbl+jAbHqFFMNcrKzvBsihHoN5Vj8G9grWwl2TbJYytWJAnDUX2NkDtiafUKZ6rvlmDbKQjLWlbXdJAYQ/H6pDIVTLCOka5LYZJL0SB/5tBmDd+eMegK0jedUwHGUAgJ5L6DD0K0agJQa3BerANHz054/VCG3SjjFUMM1gv2T+m5iAclDUmDL2+Vjj1bb4Ivo2EnoyZfB+s5DZDW/xH2Baj5qxytMDJTcZGfKtlDJSvpdSCt6SjthJbM08EkdyxTKPM9JnrXIZCBxmdo8I9E/VSQ95vRKth2LwdujYYyA8EgkXbDbj6dglxjpa1AhPX4fTR/Vf3hrApZoiGvb2zfJ8qiviypuianesh4H8lzghl2x0LtQOEB10ItdANeP+WfGFqxMzqhk1P1kirmb5FaxC+ItCdKz43So+Cz84lWkPI6brWGVP58GmLqybO/TF89NAsvL7CUwgd8Sew8nkDB1Hirvmh1coEFABYXyf6YQcGsElaYUNFx63iqu8U4F8rY9fsETtqlTnQNSbVN0EyDIqHSfU1ceS931JTHSzD2uylsahHV9a+YOkduBh8FpTfUzI9HKxX/bUBQDPqGdHBFMA/9+Hl4RsXCkHS8Iagg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM5PR0401MB2593.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55a16831-5357-44a4-3f66-08d869f92ed3 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2020 13:10:22.5025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MuFxV99VxxSz7VR0DJD0wHOpsIoa9kyJalu7MAbbnfwbGhFF48OUjZDrh+KaKGQeCSWyd7B+vQcaJ32cXL7RjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4165 Subject: Re: [dpdk-dev] [PATCH 1/3 v2] ethdev: add rx offload to drop error 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVyaW4gSmFjb2IgPGpl cmluamFjb2JrQGdtYWlsLmNvbT4NCj4gU2VudDogVHVlc2RheSwgT2N0b2JlciA2LCAyMDIwIDU6 MzEgUE0NCj4gVG86IE5pcHVuIEd1cHRhIDxuaXB1bi5ndXB0YUBueHAuY29tPg0KPiBDYzogU3Rl cGhlbiBIZW1taW5nZXIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnPjsgZHBkay1kZXYNCj4g PGRldkBkcGRrLm9yZz47IFRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IEZl cnJ1aCBZaWdpdA0KPiA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT47IEFuZHJldyBSeWJjaGVua28g PGFyeWJjaGVua29Ac29sYXJmbGFyZS5jb20+Ow0KPiBIZW1hbnQgQWdyYXdhbCA8aGVtYW50LmFn cmF3YWxAbnhwLmNvbT47IFNhY2hpbiBTYXhlbmENCj4gPHNhY2hpbi5zYXhlbmF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