From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id 93EDC1B207; Wed, 2 Jan 2019 14:50:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2GTnoytrjmWMKkImIuhHLt+T2ldmOKakaAQ7ZjNOC2o=; b=Vs4Qq61raPrLY0ZucIxwbAzg3rq3l+5o4KZS2mNL81jF/la0JcWa9JYxS9xqYPLDtWkjtgcuoDK8JX0UsZw/dfV+4CQ2n5XUZjADkavMDosG4IzNuLNQQiHSIGa2OKFWfsulx/CVmqcLdHOZ2Vke2fmX7gVdglpiHjH/KLgjlhk= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB6253.eurprd04.prod.outlook.com (20.179.24.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Wed, 2 Jan 2019 13:50:34 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b%4]) with mapi id 15.20.1471.019; Wed, 2 Jan 2019 13:50:34 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 03/10] examples/ipsec-secgw: fix crypto-op might never get dequeued Thread-Index: AQHUnsLK7XysutDOMkq1jf1kHx4ewaWb420AgAAhZ4CAAAHcAA== Date: Wed, 2 Jan 2019 13:50:34 +0000 Message-ID: References: <1544805623-18150-2-git-send-email-konstantin.ananyev@intel.com> <1546011238-22318-4-git-send-email-konstantin.ananyev@intel.com> <2601191342CEEE43887BDE71AB977258010D8C046D@IRSMSX106.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB977258010D8C046D@IRSMSX106.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0071.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::11) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB6253; 6:tyuR2JON7MJpZxFLitSVcYA8vaBSbXdmoZLundpKYVFi+ZKboZz9I3YJezWLfJlRt2Uk4DaTDFhqsQVON20UV9uup/KQaU74IKH/rcQd9bJf3mx0EKFY0Dv/5MZ1lUBb0JWHo2ZK0psMcJeJaQ0MYoLXJYDeiShkwwDZEuPyNcYf2KNcKRttH7hsP7SEzexCuvMLbJbPSX2xqfW4OL46v2UIFNQGF9HNTag/Pwrol3vD/QEgx9dYdO0fNVhqdI7tWSp5LNnkeHd6YwuoFwiBqubCIah/D3EsYto7qpdCKHOBfzW/Jd6HPXtlsW7mf5ijHFwf72FzJDsPDUCykG7xxWKDSyw4LWcSrcEFwVH1lFErC8Vp0GygLvdVgEdTOHYGci4u17zL1MjLZImRTPjGidCPE6t7HP3K/qVU5UodeWY+rKIprh39wCFMW09vJz+HMquniF6gUu8laFBUThbrgw==; 5:jVkoWoPOfW0PFF9MaHJ//uS5pOacp1igT5oSQeaEwxEFwHQpPnvzrE52PyASQem8gJOKGJcpwYIr+58fOsNMHAmXYrgeFV7kojquMfT09yYtGOYOj4Xvq/mlLqZ4nFIFru41t5aK1mXDXI1XdBZsud8K/Ylqr4kX049HRO02GqY=; 7:HuLrnIK58AAMdF3CuoYquEUWJCcHZWBn2JMHNq0zZ5gdj3ZjlHvW7zxKj7IknOs7wERkGX47Djq1gw2nODdx+6bG+MM0pTLfwKY98xSBDbjlta+8YeJqJtfe1rRgFYqbDS0HF0ZyNUyg6Kis5qCESA== x-ms-office365-filtering-correlation-id: 3a47f088-e5ba-4149-d37b-08d670b944cd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6253; x-ms-traffictypediagnostic: VI1PR04MB6253: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3231475)(944501520)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB6253; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB6253; x-forefront-prvs: 0905A6B2C7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(136003)(346002)(396003)(366004)(199004)(189003)(71200400001)(71190400001)(6246003)(3846002)(6116002)(78486014)(305945005)(2501003)(2906002)(66066001)(316002)(93886005)(97736004)(6512007)(110136005)(575784001)(86362001)(4326008)(53936002)(26005)(68736007)(229853002)(6486002)(476003)(53546011)(11346002)(52116002)(2616005)(386003)(486006)(106356001)(8676002)(44832011)(81166006)(36756003)(81156014)(8936002)(6436002)(6506007)(14454004)(105586002)(478600001)(31686004)(25786009)(5660300001)(186003)(76176011)(55236004)(256004)(446003)(102836004)(7736002)(31696002)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6253; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8kw/jY6HvRnc8Onp+CNFt7Yg+xGWxIkE+Fdr7O9bfYsQAfoCvdWmm1yEp2JvdHwWAuGUIhLTUuKmkvxwN71l2eexTdzihstZKusHxf3gFR9oLkTPNaoGbBTNFTXACKsVp9ooVmrEF8Oqw9f3+MGQjehA1TXZQYqXEO4r7rXV6kbBU0CTDsrbBcE5uewZvVHc54+Y93MC2uPokldklmEi+9JIsyMsUHe/KyBLd1x5y7Mr25dQuan3zX/AqqKW+lx7XIFVal5hhvl1Ac6ov+Ji/jGwwxa0GBm0DfgezdMyIw33WRu336SCdZy5QiPOSzrc spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9289F2E9381B71438B1F51A1828A4141@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a47f088-e5ba-4149-d37b-08d670b944cd X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2019 13:50:34.7816 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6253 Subject: Re: [dpdk-dev] [PATCH v5 03/10] examples/ipsec-secgw: fix crypto-op might never get dequeued 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: Wed, 02 Jan 2019 13:50:36 -0000 DQoNCk9uIDEvMi8yMDE5IDc6MTMgUE0sIEFuYW55ZXYsIEtvbnN0YW50aW4gd3JvdGU6DQo+DQo+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