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 DC613A052B; Wed, 29 Jul 2020 17:03:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 469DFA69; Wed, 29 Jul 2020 17:03:54 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20044.outbound.protection.outlook.com [40.107.2.44]) by dpdk.org (Postfix) with ESMTP id CFABC3B5; Wed, 29 Jul 2020 17:03:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Al8q99Y2UBxx6t6lMkxRS8sHqas2IRqdTEjWjLi6CFI=; b=XyLzYa2stb17lsrqXOmh3AUiYH4nhiMWePWEFY7kzb4Xs3ezXRO4fUBW4amD8uwCIM90eBYr7LmMgwaX9y6D8UWWx9btIir5fo0A2ZwCMQ8HzNDjcZCNGAPxYkAnsfBaRYCCBNQonKt3pbw9ejNxTGdD7/ozRplL8nWtA4rVjBI= Received: from DB6PR0501CA0008.eurprd05.prod.outlook.com (2603:10a6:4:8f::18) by AM0PR08MB5188.eurprd08.prod.outlook.com (2603:10a6:208:165::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21; Wed, 29 Jul 2020 15:03:49 +0000 Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:8f:cafe::99) by DB6PR0501CA0008.outlook.office365.com (2603:10a6:4:8f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Wed, 29 Jul 2020 15:03:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Wed, 29 Jul 2020 15:03:49 +0000 Received: ("Tessian outbound 1c27ecaec3d6:v62"); Wed, 29 Jul 2020 15:03:49 +0000 X-CR-MTA-TID: 64aa7808 Received: from 56db9a9417d3.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7E4B414C-4F6E-4F80-9CA5-5E6C155963BC.1; Wed, 29 Jul 2020 15:03:44 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 56db9a9417d3.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 Jul 2020 15:03:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NMkGh2CB9O1BvXcipQyDURcul36w7GvWXg9o3C/5qjmO1f0QZu9RcwNebnKa7ktbTlntiXYMnrc8tqMwb1yG6CFX0U4ZBF/Y3ua0wLKJh5IfqLgzGznP/E8d6Ztn1RNOYnHlg0TArK1IeMDMnoLZ4E3MXD8LrbMbo8J2D07p61RdF1aWNlpNd/mlSeMQtk/fC352m3e34zUZEqlPmuqytxPRAA/ERbxX4nroVn+4XxZ8c9koOlTvCIBCjUHMfhbelhFPlYDDFMB2y8rQE50CXBFi85f/48EhdRuXTVU4NTGSTwzqRnaiprxqiv0xobaLcbY8vtdxsaXViezLFWn61g== 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=Al8q99Y2UBxx6t6lMkxRS8sHqas2IRqdTEjWjLi6CFI=; b=Q1A8wmXzt13GetMjCr7RBzCEP2ii1gY/QkmshxjwrLD8rppwyxQ6bGl64+hbE58j8E/gD18JQ9dVi/QyuJrHlEr1sjh+K6/vwSAe+au52LcTc0DxvlsR9G84v2JV/Fs1bO8xrWaH5R2Ou6Ir4pl5ud/lW3+8Gkln9Pn/HPixtWZdapkfdocQuSK1ogJynliege8r52FhYyQ0sq9rcbOcWQcdnQuKq/3j6HlLLj/35shisv3huPpx/LEf6S59zhl7UOOlX7UXUIbR3uQ+NqIizw8SKjTT81GcAuPRUNOlJVW5xkozJWsJF8eb/AAwgF2eglFJ6tpm/73sV5gbC0Pegw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Al8q99Y2UBxx6t6lMkxRS8sHqas2IRqdTEjWjLi6CFI=; b=XyLzYa2stb17lsrqXOmh3AUiYH4nhiMWePWEFY7kzb4Xs3ezXRO4fUBW4amD8uwCIM90eBYr7LmMgwaX9y6D8UWWx9btIir5fo0A2ZwCMQ8HzNDjcZCNGAPxYkAnsfBaRYCCBNQonKt3pbw9ejNxTGdD7/ozRplL8nWtA4rVjBI= Received: from VI1PR08MB3023.eurprd08.prod.outlook.com (2603:10a6:803:4e::21) by VI1PR08MB4047.eurprd08.prod.outlook.com (2603:10a6:803:df::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17; Wed, 29 Jul 2020 15:03:42 +0000 Received: from VI1PR08MB3023.eurprd08.prod.outlook.com ([fe80::8146:10d3:6c3:2c12]) by VI1PR08MB3023.eurprd08.prod.outlook.com ([fe80::8146:10d3:6c3:2c12%6]) with mapi id 15.20.3239.017; Wed, 29 Jul 2020 15:03:42 +0000 From: Feifei Wang To: David Marchand CC: Honnappa Nagarahalli , Konstantin Ananyev , Gavin Hu , Olivier Matz , dev , nd , dpdk stable , nd Thread-Topic: [dpdk-dev] [PATCH v1 2/2] test/ring: fix wrong param passed to the enqueue APIs Thread-Index: AQHWZXHzvFmOnHHMtE6qCiS+TdQqD6kekvwAgAACyjCAAAZiAIAAAg8w Date: Wed, 29 Jul 2020 15:03:42 +0000 Message-ID: References: <20200729063105.11299-1-feifei.wang2@arm.com> <20200729063105.11299-3-feifei.wang2@arm.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: a931a96c-9436-4a19-bcd0-4fb873bba03d.1 x-checkrecipientchecked: true Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [101.86.138.239] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: bbae7618-0425-4f74-b6c1-08d833d099ae x-ms-traffictypediagnostic: VI1PR08MB4047:|AM0PR08MB5188: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: i8O8wprotpzk693KS9I7vpl2iQTzBzLil8xzU2X6oNZuqVuDA3HWQYw3oUnB37wGdbSLOK+kDM2R02pCyYakyyGWCmQ0H9AaxkL4l62huhGPebdajj1F1lNmeB8HKp+R5R8YVctnySiRPN4pSMSGNrtOq8TmsWjJl/XmY4Wrrzp5O+MDCCdlwoLhv1qBorqQVykd+GsfF7KFMMKBfeYbCkaZlQ+A407ZZuTjTNHkK/cj4fqN/rU1dU2AYAiNKcnyIwNPORyoM/iM+fm9n+pSzMe3zFSmPo2flu0evpCm7jCCSFRLkrjKcExixzhM37XuL7n7PRZHa2aszSfyi59DZyTDCPv7RnqfpBZb0hb7MhXKE19nBZ6jSd2psiPhHfvdwtzn5UboPtQsA80GNgBc2g== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3023.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(376002)(366004)(396003)(136003)(53546011)(66946007)(76116006)(64756008)(66476007)(6506007)(966005)(478600001)(66446008)(66556008)(316002)(9686003)(71200400001)(26005)(5660300002)(7696005)(52536014)(86362001)(4326008)(54906003)(2906002)(55016002)(6916009)(186003)(224303003)(33656002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: sWpO5aUWZNjCEehF4EP5zQNU/SN8CQaBJQ0P0sj8dpMPztaQPp99SP9vt6La0LfIoMCnM04yYYE7Tu9yu/V3MoyZtC1pCnNYtkXEt8GtWFvxkmtOMPIcAjyXuioP+UwPV0H6vFcc8TmYpBgV9kYPbH78aJNfeMCkan0p4FbO6CaLC6OLKRCRTatPYLGAGNnd3q49gd6lw+vGFNQlKcZvXBVUxV5VqrFdN1h0XvREtzL7FZzcKq5elUxzfw8Glzmuc1xcwAyy6fEgiBDpMD5d3LVCAHkeRR4zZOeFSxIiPotIVIFwDoZNDeG9OVNc+wtjQ/Y163uGrp/TUEWTKPmiqn3v7R58GS6Ny7WVaEY+Dl/l07utAJi9/eK7TvSxcbW8+dC184jUdc9ntML1VtwLfF1YAn6mtN59ARiN1tfy5Mc7aU8f+8rLskF54n5NajNoGb0IHkiB6NZJHa0+L3yezqAoiSzR/91lBOLiGOzhbdG6uqOk8ppBAqvxur8Mu1Qr69yrKPjyNl4lC/o67P0DncOvQiET94UdPN/hI9PyRpvay12D1hnRlOBkKz8pboDGcy/xPE1wIcjQ30UhMNCg7Ah06noN7KgksL3uefMQkvXZLjZFlk3PQyqRpw1/0QdousjSXk/PZQ7MDUuTpbBaTg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4047 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 1b19ea62-ac5c-4011-30f1-08d833d09582 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tJYJOTvFsa74ur9vnHPRAaV+ZTUv1nyEbzMG31vuZYEtmLCpnDpQsQiD9BIk4kDaBRTRR8UVuAibHjo+TpdH7xk4zE3Nnq3MirXNDciIjTRttK2iKXD8bDjk1PQyv6s2GsVQSmN8DCdZY84Sa528SvB8OBDp8Zoq06Sn13UClDhTeppvhmnKEr6Z0yujE85m0INdHQzBc5uU/VUbcpRRGp+LNnyvrC9p9BgEQbNegECKIj7/7ciY6F1iM8y/45VVBoAwgYripNpNoIwUbjWtmlsXKBGrAiInY2+2u1Dh4z9A61zouJZIreRj2IvODr/7YvLX3yX9PAlk/hVdCcWqmErn4DAtwgHKV/RNsOBfiRahPVXDt6VENdFWApSed44OVi5UGrmGQZg48qXPWixo5SJtpPa1D72ymmKPqBgfZX3uvYxCxfaA3in1KC5LhI4Yz5JvZ6IVz5JL48hPc2Ivj9PdB4skL8VYKab1zW2fxdQ= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(346002)(396003)(376002)(136003)(39850400004)(46966005)(450100002)(26005)(70586007)(8936002)(53546011)(55016002)(70206006)(9686003)(966005)(224303003)(186003)(52536014)(7696005)(5660300002)(6506007)(33656002)(356005)(478600001)(54906003)(86362001)(6862004)(316002)(82740400003)(4326008)(47076004)(2906002)(82310400002)(336012)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 15:03:49.7413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bbae7618-0425-4f74-b6c1-08d833d099ae X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5188 Subject: [dpdk-dev] =?utf-8?b?5Zue5aSNOiAgW1BBVENIIHYxIDIvMl0gdGVzdC9yaW5n?= =?utf-8?q?=3A_fix_wrong_param_passed_to_the_enqueue_APIs?= 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" DQoNCj4gLS0tLS3pgq7ku7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