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 76FE6A04B6; Tue, 13 Oct 2020 10:12:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 472C01BBEA; Tue, 13 Oct 2020 10:12:58 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70071.outbound.protection.outlook.com [40.107.7.71]) by dpdk.org (Postfix) with ESMTP id A6508E07 for ; Tue, 13 Oct 2020 10:12:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LtNaXMGw0GPB56dTN9OTJyaOYN3tjtlwUaRxrSju4QEu3IUxfHEk3csATnpFnOXc0/oN7atrGHPO2PVesWdeQcJXYhNRIEysQAcvfVHsgYuK7vzEvzKio9n5J0LWFAyK3BMvz0EzfxTDHv1mkD29VCiFVgRpR6DTBf8yhuMKqdyhrl+5cAqoLzcXH7Qs5pP4tdLaTxUPjht6jLDyzeebi6FKg91HDp2w0w5vl2cuYRrbFtk8hBwwF04C3xEaeZDNTzhZGTQaNfgWQQIaPIS6E/KuHeS2uWSu3va3ioCdz13Zs+41JAboCMNIo2GsamzhcFNMpA3UD12spY2COi+1Mg== 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=Ms3MU3K0sEo0cqOqW5i/XxzEfVe/3H2XrllRMWweneY=; b=ZSp44yfAxme2X+m7x7sEFkCnWgSbjLDPtEytzFXCRd4gw0jdmhp6CrlYU7T9crDjMxsSCH2G3taQFd2EUdwe8w6hZt947VQ34CwhmZFjW52Z+8YEyhXEcQsMDjGiE7QtbMWHbg97AtUzmu05O9mTdWgmROTXQH7g/yJ6Wyxf1iiK8yvbqfOO1xeasCCtkNoqs4OZRxiH/dkRlqR8fDspmja2ufqlJl+76QnvSkpBCKYGewZl9zjnfs7YX0dS83N5CYMJ6Njk9Xdt/jwTq6Z3PKXRkaJCEXa7QKLpGofcUkwmbjwKSyQr8gc8QDXHemF22HT4KE3Q16Z2IxzOGF8AyA== 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=Ms3MU3K0sEo0cqOqW5i/XxzEfVe/3H2XrllRMWweneY=; b=ktpi4LEgwKK5ITx9eNX+FP+vmasisG7PZPoeOA0YY6pSziH2yx1ept7OzUg6vS4P/C9qfvXE19SOcO/CGG68J7B1/fiLOZ1u9b5MOqcAV7Iq9vNLLoWkidYVHegnmPYJPCITBiyx4Bw9+jTPtAdUL6oIoFdwfbqf9g/ff+6ZpEc= Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com (2603:10a6:203:37::20) by AM6PR04MB6710.eurprd04.prod.outlook.com (2603:10a6:20b:d8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.28; Tue, 13 Oct 2020 08:12:53 +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 08:12:53 +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: AQHWnj4Ed9gOlJKcG0i0nLKB4YTQZamTn1eAgAA3UrCAABGlAIABPjaAgAADBVCAAAVAgIAAAeOQ Date: Tue, 13 Oct 2020 08:12:53 +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> <3d279b35-1818-98a0-fb63-c2bf5d9e418b@oktetlabs.ru> In-Reply-To: <3d279b35-1818-98a0-fb63-c2bf5d9e418b@oktetlabs.ru> 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: 815ad1d7-81db-486d-6c9e-08d86f4fc903 x-ms-traffictypediagnostic: AM6PR04MB6710: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A/uWeCmWrGDMWUuREQtrE7Gu0uOs4JOBZGUhWKuf/eSM3yBUvWBS+K1UNHp0+jpZxTaZT7Pylg/uXdwd0YHsubvUZ0tW7pkWj4a5vFDid4V1S1l9H8FgtOZuFRk56GcGDBUdnQRhl+1e4nCCG9ixwOOolMHNpAVyrvMfnC0iyB24uwqhZydqP3WP9Wm2eTAwGrTU0OwdIHmTqeEaH7HU840XBbeBpXbV2ROzB9drR8nDdlhqXEegnNrJHIa82m+bSA8RNJZUNvqWlJ61trC8O8RpEpHKOdydNVqpZdcsxQGgVWG2o7TjX0AccdflH0WvJZoOJRFOh8QiZO528zDT3g== 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)(376002)(346002)(366004)(39860400002)(396003)(136003)(66946007)(71200400001)(76116006)(8676002)(86362001)(5660300002)(26005)(83380400001)(186003)(55016002)(316002)(8936002)(7696005)(64756008)(2906002)(52536014)(53546011)(110136005)(6506007)(9686003)(54906003)(44832011)(478600001)(4326008)(66556008)(66446008)(33656002)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: /V8+/Pt2uTI4DQh8UzPGBFb46qDO0EhKcn5Llr63fE/vhd9fxnjFHCwq8ixOf00PzQY3P8wtVmUyPOl0Qm8DiI29JmnCQVVwC23YaKgO7wJosJkz+pS2HVnHGEbw2xA/Ee4wolmuu9f5wTt00/hEY2iLEeEs+u7r8rFfjPzkRLs12vHvUaHV6daUWFd7ThKYV0HvszCNdDq6IoVJp0cJda4cCG30ZoUDUbSErxAh7n7mHkVX5GTMrEWCkvPH9NzMX4mLCauhuIbBUoAuSw+rApGYnloIQH5jZyE13bDB1D6nJ3IRSZpiVpEcFBYcbNlABJEm+YF0tSO79hJaQdrNETLnMkYANwAbJ6R+0yuOvRJ6JEdZXiqCaIcC0PGdrQ/ItIG+pUNGNHQh/E/s5JFIpb70zfmiyjL1xP7myNt3uf8sn6jdYYHz08d73vjK5mjCwkE6pidxPNgAQqAMYYEQop4j8h/kvfrbFKRePFs0+En1GERx2ZdIkdLKVKX32B4sumCAcDBNrNNcyYpPWoylwcBxR0WbnV0ThcOo9p4D74qUag8vio9eyD+kE0SIuwjymDjmzJs5RRBHRxjyO7FvucLg5SAYKcEdgU9KdJVzbUQdJEqsWDplVPvDpw6W/q2eiXOWZ/mzY+D8+v/JmbRXdw== 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: 815ad1d7-81db-486d-6c9e-08d86f4fc903 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 08:12:53.7030 (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: rjx5YNmOgbifMnqjHahnH3SnuLRIpXjnkVk60fTtSpkhY3oHz1c9k7D4TLSXrXFJcpHyZejG4QqXlsRFDSKGRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6710 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 ZXIgMTMsIDIwMjAgMToyMSBQTQ0KPiBUbzogTmlwdW4gR3VwdGEgPG5pcHVuLmd1cHRhQG54cC5j b20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHRob21hc0Btb25qYWxvbi5uZXQ7IGZlcnJ1aC55aWdp dEBpbnRlbC5jb207IEhlbWFudCBBZ3Jhd2FsDQo+IDxoZW1hbnQuYWdyYXdhbEBueHAuY29tPjsg U2FjaGluIFNheGVuYSA8c2FjaGluLnNheGVuYUBueHAuY29tPjsgUm9oaXQNCj4gUmFqIDxyb2hp dC5yYWpAbnhwLmNvbT47IGplc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