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 8C0EDA04BB; Tue, 6 Oct 2020 12:38:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A8DE1023; Tue, 6 Oct 2020 12:38:01 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140052.outbound.protection.outlook.com [40.107.14.52]) by dpdk.org (Postfix) with ESMTP id E80CCF64 for ; Tue, 6 Oct 2020 12:37:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vky9xrZ0MuUGspLPBECkOsBa2naEjXoGjwuAiRUhTdGV77sCg8WaceCL86Nxzca1OQ6RW/aFEWOnPTlQ2dxOAN6XVSX7fng0UCLoFZ89sX2Srcle2UOf7/5N2mGGTz+jPi7l0uQjV3HanMBjeo8KTXS+muKSNhQnecaHYRzlHzTu3dwttTZAMGTTC69dhYLCWywu7rBnnEaiuCPTcoBIbBvVv4nZcS5i0J5kMUB5xvzg0UVCBpgoytAuEhZa0+DjbZRRTHkUVaRN7E475t8QbF3Udijx63zp/7uvBrYgeaJXejOrNPu1DLTtVHv8ZAm/3fWp2exZb76yH9IaCQ+I9g== 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=2IDbEs9P1S66ArtY54+sv3bxoI3kPAspQgl3/N2IlhM=; b=Vu/XKwsMvKKQdmoTbqgsYFipUOPQR5KvbXwxTf31Qc4OBRqu5dY36GRGoe4KNpAQJn/i0TRu1h37K/xrXWAzwW8cqs72qIHybrwZb+BfyYtfMI11wkvGkpJ7QnvvD6pC/1Q4luINUUj04gLci0g8Gv8vVo8sXoYRkWQ2UV3CPo4aesN5rY/TAnVbYUVODi+R1RdhgyhV1NdSqInaFxWJ5CZ5iU7O4SmhyTHshlAzf1+44Mi2Xzpq7+9altp6q0EFQjIu7fpjQRH5DWT+XtQGVAC/IP2tz6kkLkn5Af1KakUYFVyi/mqtXP9s8Ss7ACRFvF/2EOaP4h81qbeMeu918Q== 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=2IDbEs9P1S66ArtY54+sv3bxoI3kPAspQgl3/N2IlhM=; b=UV7sQdIRSUoezlXLuZV9/I/3cfGroL2fl+JQVEZK1VTcasaDVRiiNH9EI3cjlrJhR2e9WN2bUu6Gf/mxb16VEnPbwNAgNpI0DxZCU5Yz8WOZeci+skJrp+t+KOR9FlbDpKNyTYstQZ1qYfR4KQBC3ie3Xut2HaENGDDpI82ZtMM= Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com (2603:10a6:203:37::20) by AM6PR04MB6677.eurprd04.prod.outlook.com (2603:10a6:20b:fa::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Tue, 6 Oct 2020 10:37:57 +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 10:37:57 +0000 From: Nipun Gupta To: Jerin Jacob , Stephen Hemminger CC: 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+enIIdCNVo4amJJFeAgAAJ1oCAATBVsA== Date: Tue, 6 Oct 2020 10:37:57 +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: 76c3ed1f-1689-4153-479b-08d869e3e42a x-ms-traffictypediagnostic: AM6PR04MB6677: 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: Z3k/KDBOgKa+EdyyTGFFKA80kT5sSSZ3GM7cUTVjMtTJL4rzEUgkrVCBWdCTOqSqsR7IIjjgmWixBNa3JZ5arGWzmn7OjuFTJwl4F1KareusUufcHJIFhYJXw3NT+bldGmQp/FukNQnEuxFu2TFTeShonAEtcVV3tewVRnKSS/qqzKUBuRnlnQ+wMweqewv01JlqNlADV6mLAl1mjAw+3KK/z5c7GjFci8G+yDwKNgP2HToV4eWIuCwcPVi4QOlMrXmaWy3V6crTzNqehzVXbXzjIiLsFE1CBZBnkF4MdUxKw4oHDWE7t0xNLYCIBZ4lEjm1nrqfQYZ9Hkz/wGvEOvlG3Y5i3reLfkkwRUbef5eIjCUX4Vi7Mqgl0FHBWwRO9b5CUO4KTYtZhPIAf7NVdA== 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)(396003)(136003)(376002)(346002)(366004)(39860400002)(66946007)(186003)(83380400001)(66556008)(66476007)(76116006)(66446008)(45080400002)(54906003)(8676002)(8936002)(83080400001)(316002)(64756008)(7696005)(71200400001)(110136005)(478600001)(26005)(5660300002)(966005)(86362001)(55016002)(6506007)(9686003)(53546011)(52536014)(2906002)(44832011)(33656002)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: P7dKRwWrNrfmw/QIciuwTDn6h2yYO170xWzY/EWlUdkjsvLM4oErz/vAU3gaOKL3evKrc4FAjuoXPU29VjYqSTa5aBj19ptMngs/3hQmijS5hE90XPCzGMRGwEFwSo/nRRYPfE6dGd3tFwtU5/s9+Igk8Z/KlsVMHe2wMXij5wIKuUeMSMKaqZu/VKIUKPX5KivgvWDcKQb4sXJ6F/dH4/N0N4zErMlDWMKw6j9NYZQYoq4kBkM9V9/1WGv6/uJ4RJugIypetCjWKf9887o7bfV+bIvt7xbAXVyhtN9BCErXoNQIeeNgXrb0+pvyIF9kfzXIP30U1BuTNUECRJ32T5T6j36w3uPofCg2rbhtHFcXbgbVCNJpyavDvArDXoPLVJS+fRD8KssZMLacjO3y3hb9k7eVpS1z9G2zcrhdvKfjx14HNanKrfLSnsZn+ev8qwL5LNKlaoPZ+F+VPjE+Ec+3sza+rw/w2qIMOmrbvvTSxwY+Nrp5kj6eJb3YfYYbhZEzuQtnZ3aSfczt7pIb8FJGXOyfwcSIm3TOB3jXgV5Krs2YSJi5XhrD/j9tx04MYyKA8eh9msqBNx0aUFRoKnaW6YONQAw+jBh88pkBTELGgBbPY/BTbA9AZr8iQw+jHZqM5BUpWtG8Qxyg4x8Beg== 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: 76c3ed1f-1689-4153-479b-08d869e3e42a X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2020 10:37:57.8334 (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: JwxiX080CMV8YKXg3KiVMka+4h7V/mRR5qGyNfafkfsvOZilv2aVb6RXiVL16ipHCAGzBYxh9AUZN11xJ/GNyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6677 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 cmluamFjb2JrQGdtYWlsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBPY3RvYmVyIDUsIDIwMjAgOTo0 MCBQTQ0KPiBUbzogU3RlcGhlbiBIZW1taW5nZXIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3Jn Pg0KPiBDYzogTmlwdW4gR3VwdGEgPG5pcHVuLmd1cHRhQG54cC5jb20+OyBkcGRrLWRldiA8ZGV2 QGRwZGsub3JnPjsgVGhvbWFzDQo+IE1vbmphbG9uIDx0aG9tYXNAbW9uamFsb24ubmV0PjsgRmVy cnVoIFlpZ2l0IDxmZXJydWgueWlnaXRAaW50ZWwuY29tPjsNCj4gQW5kcmV3IFJ5YmNoZW5rbyA8 YXJ5YmNoZW5rb0Bzb2xhcmZsYXJlLmNvbT47IEhlbWFudCBBZ3Jhd2FsDQo+IDxoZW1hbnQuYWdy YXdhbEBueHAuY29tPjsgU2FjaG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