From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48A6FA050B; Fri, 15 Apr 2022 06:07:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 046E340140; Fri, 15 Apr 2022 06:07:23 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10047.outbound.protection.outlook.com [40.107.1.47]) by mails.dpdk.org (Postfix) with ESMTP id E55E04003C for ; Fri, 15 Apr 2022 06:07:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CIRp6rtuRLidybocFfzS56s4AKTzVoOjrlxR+AKbyLe32NB3UzHIKEv1BT/sJQKOKZqIfW697HZFHl7skAv7zQes/bK8tCHXQExyqAqVidBP8qcv0eSOrS4IFYJ8xKKNhtOPpoMCu6drV1YcoxaQSjQeYrDQbq33Mvv+yT+rpMtJC3FQgELWnLWl6AGWbTcrlY528/ISFZ+f+KwEyqMT1rvNySIf7/+45xTqUfHLgRsfszV2IrcTUIvGPNTY5C9AWWnAQiUxekrkYnSMO9WfjdtleZL5Gtt77P7BPSdqy+1K9DmazvHWlJz8XjUekhWmlHvTU7QJRA8Ih8jqKpwrHw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=d4IoTnP1cpTrsqE1h4oNURSjG5HJXcu0OPfTxCFw9q4=; b=eMetWEYgZ7jbGe7XADqSPWOAljx4jm7dumS3dFFkb/ShKsAtUpU2hdkXqryq36W4ECYTXCHX+RYT07m/++UQJ4vZ/k+OKZNW/kQty/OCpNq1zjB3uCoUvxaIic/9uGBsIMIP3NMwZZTLvEPZVrLv36KkYdVrHzSBC+ZFomP65ssH+PUwsbYYM3YeD0oeokSZKuuPyb9T8z3Ywq9Q17nTwJV9NEthPPiUso/hAIdvRWQqm2TS2BzZmcq+5COpi2dvbEvCEIVwJLfjvfjxTbbkmAxSBro87kiaouKtLAidzVNxnsRRkRzymcYie4xXfDWeO2yqff9Nx7ItF1dMGtIxtQ== 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=d4IoTnP1cpTrsqE1h4oNURSjG5HJXcu0OPfTxCFw9q4=; b=ey3QDnLb+yWCyyItJ1QJnW2+PuEWcB22xvniuWPbzqxfB4C/NtUP6wLmHxHJ6DI5XNk3LsCNAasAzEkQjsFR6pi50W+P4JQYIiZNVh0ttwM9gX/hgOlw4tZXDWcyB6sMk/NN22AcZJvJOfNfRK/uBJ8NaGJXhO1obuehLu4Bsc4= Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by DB8PR04MB6681.eurprd04.prod.outlook.com (2603:10a6:10:10f::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Fri, 15 Apr 2022 04:07:20 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::95b4:26a1:d97d:6916]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::95b4:26a1:d97d:6916%7]) with mapi id 15.20.5164.020; Fri, 15 Apr 2022 04:07:20 +0000 From: Gagandeep Singh To: Harold Huang CC: "dev@dpdk.org" Subject: RE: [PATCH] kni: update kernel API to receive packets Thread-Topic: [PATCH] kni: update kernel API to receive packets Thread-Index: AQHYT/p6D0Wwt90vhE+TCVFyPdRjMqzwUKCAgAAH3xA= Date: Fri, 15 Apr 2022 04:07:19 +0000 Message-ID: References: <20220414122319.3519271-1-g.singh@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 83013547-e654-4b8d-37f4-08da1e956fd7 x-ms-traffictypediagnostic: DB8PR04MB6681:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KnpZKuU5Hs+UoYIuALQNHFVu+I5d5zCCH7F9hMwJvxKQzbbb1gKnOmo2t7NTAXel9G9fzzXxHrlJ8mk0v6radoqSU5tQqBw1BaNgBGuf4eYPwprKfnwsCKr0A/KmwOD5vS9S2mpwhNZQnVy6TgdB8TbA/CFkx0+Zq8ugKeEirBdpIQXnizUy73IqQOiSDhHQ3fukkPJkn+JEcq3qBjCzQxeuuYIp5nNOPMBXA4BW/Am2S1fXrYe1JCUKwgkNi84gmRDaWcXuc2hwBExgP9h2HpP8KuKUPTjoHHeTEj85NlTfVIEsFTdPoTwDGLMq0Pzc27Jew9Tc4hHoLR+bh39eOYSjuRbgHxK1RlaAzRk+j7cyH7g0+Sp35W3pOxJAsWEuT6wf7uKYS4Yg2ggkuJCzx8purEcUQFLH4X8lPcKva11MCAaDnnFitPlnuLU5YMn8PP0E6QIw5jPOTrzFbBdLcmXCdBWGi5WOsV75w7gHFq4wd/+Y5zrXl642f0eAWTg2VwLim04ldD8WIq+7el7J2bimEc9JmPe9JuQHWF6+wWtLtK9Y23MNVm4onqsUM8zJL1fghEFlPZBPb97hQsHeLG2R3Ipu1HiIAbIQjDuDzM12+DyOvdtXOElmRfYZcW7dFBTn+lV9VxrkPKF/UngZjIckrw/1mJiV718y2ivRW6doxCuCSDf81bMvtpvVhB7X/rE/WqXNklYPMXpIFP3S+w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(15650500001)(86362001)(7696005)(26005)(33656002)(8936002)(53546011)(6506007)(9686003)(52536014)(5660300002)(508600001)(76116006)(2906002)(55236004)(4326008)(66556008)(66446008)(66476007)(66946007)(64756008)(122000001)(83380400001)(38100700002)(71200400001)(55016003)(8676002)(186003)(6916009)(316002)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Y1NpTVpSQWR4bjZhczZlMmEvQkd3WFVGSnVEN3hZTlpsRnI1MTRRWGRCdzFU?= =?utf-8?B?VGtxSEs2N01YYjFmSFB0U01vWWg2R1BOcmlEaS9FejNwYStWMDVSVEFHZTZF?= =?utf-8?B?VVNzR3RoMzluUFF5d1RkWlNmVit4dnNsek9aSHRxOTVDbWdmMmE4L2hvSXVJ?= =?utf-8?B?ZDYwOVY4Qm5aakNZd1k3VzN0RG1LMXIzN1hxSXlXejhsV25Dbm8wZ0U3OUxo?= =?utf-8?B?enc4dzJMZjZuTWZkd0RhR3oxa0REM2NxN1ovRXVXL2MvMzBlQ2xNcVZFOGhG?= =?utf-8?B?SzRTbVJFL2JZaFlmS2dsZ3habDY2ZG5hcC9RZ2RlLzUxYWpsQXpCZDREV2Vv?= =?utf-8?B?bFJ0Sm5ESHVUcmpBR01pQmRTcDhtVkJhSXJZYWRXZDFudk9INldxQkpsUUVB?= =?utf-8?B?OUtzbnN1cmJxUlVIaDQrM1l6QUZWZTE0Y1g0eXp6QVQyY3JmRDd2Y1NYQ2dM?= =?utf-8?B?VkhnUHVhaTd1T0hXT2dGb1plRXVnMGFwTkthL05zeXJmajN0WTNtN0V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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: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83013547-e654-4b8d-37f4-08da1e956fd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2022 04:07:20.0588 (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: Oesgv8biVi37mxi4HHQ+Fb4NkOplykr4dMsB4H4PZcGWYC4RqClDOKNEhZ+opnTI X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6681 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org SGkNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBIYXJvbGQgSHVhbmcg PGJheW1heGh1YW5nQGdtYWlsLmNvbT4NCj4gU2VudDogRnJpZGF5LCBBcHJpbCAxNSwgMjAyMiA4 OjU0IEFNDQo+IFRvOiBHYWdhbmRlZXAgU2luZ2ggPEcuU2luZ2hAbnhwLmNvbT4NCj4gQ2M6IGRl dkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBrbmk6IHVwZGF0ZSBrZXJuZWwgQVBJ IHRvIHJlY2VpdmUgcGFja2V0cw0KPiANCj4gT24gVGh1LCBBcHIgMTQsIDIwMjIgYXQgODoyMyBQ TSBHYWdhbmRlZXAgU2luZ2ggPGcuc2luZ2hAbnhwLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBB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