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 00EA5A04B6; Tue, 13 Oct 2020 09:36:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F7201D99D; Tue, 13 Oct 2020 09:36:33 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30067.outbound.protection.outlook.com [40.107.3.67]) by dpdk.org (Postfix) with ESMTP id B73B21D998 for ; Tue, 13 Oct 2020 09:36:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dAZ0cMPNRmn8IEA6YasDmxrwEUNW6z3N0GyehNZeSUrO8SjZ7yVwWZ15W1I2FkzfgfoXobPo17uTFvKiiat2buZBEjc/Ey5TV92tHBx0hLMzjW3F78plqwOZRZyViV5Z73yhMh1B+LflIUlbw1yVs/3JsHy4cp44B8QlvDydkdLeNZLHsdD6rD/Go6lq4M41UG955tUCvowTrfbHmMX8UaPAPBApOwiaEUa24pCdYiaGqrDH7LVTS3gX1LB0TPKRq0PHqR9+cnyiHbRJrx6ap+J7GeQ/9WjVeOyVr3MBeagJ9znzc0I0tfLkL50MUdZzJXufpT6o0tTuqbFUGXHIPA== 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=Mv4Y+kLmkhKeLy5YLhgoDiWzEYHhe+fQWSIRm3j8/nY=; b=GBy8wv92TJjcTxhUNSunwK/xzBMfrIXwjF6s7sW+3ve1zQVa/zcx2TxyEasiCgIeW9j2sEpZEQRlK2gWPdQKdVb+QyaC617ss3x/hBEcTLInMK7AQyZ0vVmjEUdP47U05QIiBZa0T9e2p+QBdug8QuPGJ5dsniJvIh9TbHstIYTKtLTP7hG1X4f1P4Hc7XXyHpEbB8Oa6paZ/Tfs9xpzCujbyfj04NFeb1veTITJJQKK5+TYS4UtyQe2SFuUTc7RlKQRpSf1g2luKE/efW1sZqPPCJk78aT6TDjRk7Hw+Q9CMCVBUIbbgyiYHXjobntnWEyYJSM8fOpir88mQNuthw== 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=Mv4Y+kLmkhKeLy5YLhgoDiWzEYHhe+fQWSIRm3j8/nY=; b=Eia7KDzo50FrCMTcDkevzVbktnWdY7lcjp2PB0YnCc+DNF1E4JHyheTeCC8NfO0OeQOUsEPO9za3D0bc1uUn+yJK2QPhiE7qNJvIiNbXd8IaYpcl6TIjV11Cr6+39lg8bYonr4ItUeum9umcJO2eIAH55PewAzrK+mqQdSsJlcc= Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com (2603:10a6:203:37::20) by AM6PR0402MB3878.eurprd04.prod.outlook.com (2603:10a6:209:16::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.26; Tue, 13 Oct 2020 07:36:29 +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.3455.030; Tue, 13 Oct 2020 07:36:29 +0000 From: Nipun Gupta To: Andrew Rybchenko , "dev@dpdk.org" CC: "thomas@monjalon.net" , "ferruh.yigit@intel.com" , Hemant Agrawal , Sachin Saxena , Rohit Raj , "jerinjacobk@gmail.com" , "stephen@networkplumber.org" , "asafp@nvidia.com" Thread-Topic: [dpdk-dev] [PATCH 1/3 v3] ethdev: add rx offload to drop error packets Thread-Index: AQHWnj4Ed9gOlJKcG0i0nLKB4YTQZamTn1eAgAA3UrCAABGlAIABPjaAgAADBVA= Date: Tue, 13 Oct 2020 07:36:29 +0000 Message-ID: References: <20200831075333.10135-1-nipun.gupta@nxp.com> <20201009131331.5897-1-nipun.gupta@nxp.com> <794e2ad5-35a4-1b84-2ce4-0df059806f39@oktetlabs.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=nxp.com; x-originating-ip: [182.69.77.55] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d1a17f6e-3d73-425d-1042-08d86f4ab314 x-ms-traffictypediagnostic: AM6PR0402MB3878: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eaLXAVsbts7I6wLfoAFhhUJ5w4CEKrC4weoZszK7S04zS/V56B21jR3xZw7CJRfzlyPW3XW9jh6syEkxqs1MGtdRekR571ICvyUpUt0x981pfU9ucQuvTj9AdTaGvc5P22aUCgwI1gyn7fskgj33D9qshBoO3ZQPrXgyxn+aA7tWL6twjyY9+n49jZG27L8WG6TMY8ImRQsutIIRGUVRZWZEpGTLRoSQjP4hyghQhJHyURQxyVe3MV/mIv1mCpPZmxzQYk5uElzhBqfatqH4He/QC9b2cOpKi3fuYbZY9GTLA1RJjdPYNnVXtt+L5wGy7ukjoPt8mWjPYcSAr5FmcQ== 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)(39860400002)(396003)(366004)(136003)(376002)(346002)(6506007)(26005)(9686003)(53546011)(186003)(8936002)(33656002)(478600001)(2906002)(8676002)(55016002)(66556008)(86362001)(52536014)(66476007)(316002)(64756008)(66446008)(4326008)(76116006)(5660300002)(66946007)(71200400001)(83380400001)(54906003)(110136005)(44832011)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: pwLtlasZzJN5R9Ib36qD/Ourt+eQQty9RYmnxceXfjgV773yqnUNbGxpiJRprdS48F9EPZqAtW+g1umX5pFHw88kZ4/3MmMrfX6++LiHYTAX0t0Ka54HsTjUVesTguDABx8135Bo7z4PUnPmjjYmOIkPoqVyyMneRxg1KwYaMVdXPxxLVL8Txz69dwREZiQ+x3L9HT3dndXWk1Iwlw+Ccn+A1mLPhhuppBtiiLoH8HZjvirtQuzy2rT/llpydpKzO4H63WEKp7cjkg8btB4C82meMpXf/OGl3jp3PX5p4W/bT2UyXUOOUidnZm/2la8cxK83vojIIMkJCIcqrgPIdW0J/YSysuIdE6TnKJbcEXrQcxC59HJ2p9PiCt4xhVF7EVfK6+5Ww1XdRn1ds/gLtREjiTZRmX1jIetbpXtvbC7SuwPQf64K1fwGYRIQybUXs/tO/7WdBb1y9guOkEa3+giIRNJ16MzPkIBDjM0b6fBC5+qn4AEDL2rPLzOlXU9+IUx6McivIztZrQkgMnT4KMxIraUoRl/CcuyzZYPaJ6XaA9QHA2rY7ETaUZcEtBx2IJdhM3WcaJXft7Udg9n9stWAUL6Bo+LMjD+FKAyvRwfKiH9OqC6o7ZRuuMVKZtxHYkk1BBtcap61qH3sDG1/3g== 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: d1a17f6e-3d73-425d-1042-08d86f4ab314 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 07:36:29.4715 (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: qPDGidpL6Lw3GGuC68oLn4aJH1bgAz83Va9Q97fkOEZZ542tNM9X6quRBYiv/WC/+oCKw3S3dZA1wIGwliThCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3878 Subject: Re: [dpdk-dev] [PATCH 1/3 v3] 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5kcmV3IFJ5YmNoZW5r byA8YW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU+DQo+IFNlbnQ6IFR1ZXNkYXksIE9jdG9i ZXIgMTMsIDIwMjAgMTI6NTIgUE0NCj4gVG86IE5pcHVuIEd1cHRhIDxuaXB1bi5ndXB0YUBueHAu Y29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiB0aG9tYXNAbW9uamFsb24ubmV0OyBmZXJydWgueWln aXRAaW50ZWwuY29tOyBIZW1hbnQgQWdyYXdhbA0KPiA8aGVtYW50LmFncmF3YWxAbnhwLmNvbT47 IFNhY2hpbiBTYXhlbmEgPHNhY2hpbi5zYXhlbmFAbnhwLmNvbT47IFJvaGl0DQo+IFJhaiA8cm9o aXQucmFqQG54cC5jb20+OyBqZXJpbmphY29ia0BnbWFpbC5jb207DQo+IHN0ZXBoZW5AbmV0d29y a3BsdW1iZXIub3JnOyBhc2FmcEBudmlkaWEuY29tDQo+IFN1YmplY3Q6IFJlOiBbZ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