From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70044.outbound.protection.outlook.com [40.107.7.44]) by dpdk.org (Postfix) with ESMTP id 0FFAC5592 for ; Mon, 27 Aug 2018 17:40:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XC0lDoGBv3WEwX6SVEHq47aoavtwM1MzF/uGS1+WhLY=; b=ewqJFPWuxRMAdVcUIkEOryYkm7JbkSf4aaImoLu/1Anh6K8jss3PLpIzmmNmctWxf0vZS46csGPgFImZXbF0sez9hGzX3JZ9oGz8s3D4Z/I0m/m4HfaUzAYs7lW9gErKzzysNSEt084CnsxCcpten4MiCUrQopsODge7ivvyBOM= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB0720.eurprd08.prod.outlook.com (10.163.168.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.14; Mon, 27 Aug 2018 15:40:07 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::184d:ac38:254f:3a45]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::184d:ac38:254f:3a45%2]) with mapi id 15.20.1080.015; Mon, 27 Aug 2018 15:40:07 +0000 From: Gavin Hu To: Ferruh Yigit , Kiran Kumar , "jerin.jacob@caviumnetworks.com" CC: "dev@dpdk.org" , Honnappa Nagarahalli Thread-Topic: [dpdk-dev] [PATCH v2] kni: fix kni Rx fifo producer synchronization Thread-Index: AQHUNUdKDAxxlajx7EqxtswFT/Xr1aTTtAyAgAAZYEA= Date: Mon, 27 Aug 2018 15:40:07 +0000 Message-ID: References: <1533810233-7706-1-git-send-email-kkokkilagadda@caviumnetworks.com> <1534413317-644-1-git-send-email-kkokkilagadda@caviumnetworks.com> <649064d2-430c-d761-44ce-453e1a14031a@intel.com> In-Reply-To: <649064d2-430c-d761-44ce-453e1a14031a@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [218.83.110.136] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB0720; 6:yP7+lPOBG2NLuKPvilPuTSSMgJBYrcn/cj3G+XVQmRvVNaiDRtM2N+mrzdx1c8cG8ajXwVPjdiI6p4QdMB/3IB4EcuTixtKfIRWy1fHgdJ5YiwOcK89GHQOEk9PFtliRk2H6NsUa67Aow2zQ0KUPIJKvyFEZtka8eJLFfrn7wwxvqUgYfELIZV5kDrCBn3VSwIto8yet+KI/DAdOVdi8QiCqu9rYtWiYEMGqD4DpGVj/lHc4ngNuqXdQ4PKSrU/Q7GLPX9C+UWtBJNjfKSV1YPb4MQdKd7mc+dCEEp6JadulQ5Uadw/WXYxMp8tddnJSZi4X4I6l2LPKfrN9J7mDb3leLmo2llQUWedHNZiJeFQp0063njSedknv2FZqonMFbb7Xrxcz7sUNKZviMWHM1riMkkFpkXZe+UNnZxTlr+Wx/X+1GO/7Oc3pEhzQoSV5/d45imoKwMb3DNNKYNB8tA==; 5:LXKXcRFOMio3+ui+IohYvXbxt2nhaEFyWrOD6cA8WCroDFfWpK/vi//lP3+fVzC9R2zfBfYIZEDdPn609Wil0XUBEzA6VYCfwUnUziC19Ctjk15xQ7QgUBehW1J+XuzTWbcRVZOdwM8IGKN9aeqRMXJ9EQ8B0CHU5g09WOGu4u8=; 7:0TFGOdCjesR55Li5V6RR4L5f7OKUV+MQsU++YC47AB36FJhfj6vnk06a7aLajCv6Bsw2IsocTsGxUmBUgOXtoSj1o4V1jNcx+EWmGA02rtbTLytZvw/FRyCDXAzn03jflC1YXZtOXojIbM4AObbt1FrEmhhMMKm4Xo0sEOpphXyj7vV9IPZdN1MChCfoYG5KpK7uaayN6Fwuqzz0Rf0L2NIueXS0/1gmzeAvJfwcpu2d69eTuLENRl/2yxjPLXYn x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-correlation-id: d7c28a78-a630-45c5-4c94-08d60c335db9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB0720; x-ms-traffictypediagnostic: VI1PR08MB0720: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231311)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:VI1PR08MB0720; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB0720; x-forefront-prvs: 07778E4001 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(366004)(39860400002)(136003)(13464003)(40434004)(199004)(189003)(5250100002)(6246003)(6436002)(486006)(110136005)(81156014)(5024004)(446003)(26005)(256004)(11346002)(476003)(72206003)(6506007)(316002)(54906003)(14444005)(66066001)(55016002)(81166006)(106356001)(105586002)(229853002)(102836004)(86362001)(478600001)(53546011)(305945005)(186003)(2906002)(97736004)(9686003)(14454004)(7736002)(3846002)(25786009)(6116002)(2900100001)(99286004)(8676002)(74316002)(8936002)(4326008)(2501003)(76176011)(33656002)(68736007)(53936002)(5660300001)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB0720; H:VI1PR08MB3167.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: afT2f5qy82O0ApMy++WME/SQ0nPXZUYj+4WtrB788jX7AO5/3OmeMXJMSr2Jc4comgzbhJW95xoZrVjpYSsCcuiMXpB+8gWf5RuGpv1X6qxEbvXzmB+6s4UspskeRn/jPMd8TKYjOGQ+kV3eDLt2S0SJdnVq9IhG5eRVlVh4oWesLmXUZLZV0pHTV5vkarntGG8zUSgAO9sHK1WuxIuNm4ZW7zj6JJYIOK80Y+O+7h6IqtvWJdqWG6SD2CBzFjuuilL8VsJMqqYjvcRZTnJTTXN/K+QkXz+hUzY3qoGWupG/FxZbZRSQwwBMw2q3glcvelalHnunBOMGk9DAOXKREUAhUckYLrk7Ef74fpeXYiE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7c28a78-a630-45c5-4c94-08d60c335db9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2018 15:40:07.3700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB0720 Subject: Re: [dpdk-dev] [PATCH v2] kni: fix kni Rx fifo producer synchronization 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: , X-List-Received-Date: Mon, 27 Aug 2018 15:40:10 -0000 VGhpcyBmaXggaXMgbm90IGNvbXBsZXRlLCBrbmlfZmlmb19nZXQgcmVxdWlyZXMgYSByZWFkIGZl bmNlIGFsc28sIG90aGVyd2lzZSBpdCBwc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