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 09CDEA034F; Wed, 11 Aug 2021 09:15:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C641140042; Wed, 11 Aug 2021 09:15:25 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 0E68440040 for ; Wed, 11 Aug 2021 09:15:23 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10072"; a="202254385" X-IronPort-AV: E=Sophos;i="5.84,311,1620716400"; d="scan'208,217";a="202254385" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2021 00:15:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,311,1620716400"; d="scan'208,217";a="589999685" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP; 11 Aug 2021 00:15:22 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 11 Aug 2021 00:15:21 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Wed, 11 Aug 2021 00:15:21 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Wed, 11 Aug 2021 00:15:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W9puZSIy/Tpv6H1gmSBGt/D2JZLUuhvJDETiVLr0Grx1MzbOmMcMoHc7dOn6hnCsN3T/2Mb7EL5hyqdsnPEP2INSRJ/tm3N7wOOUA0I2qX2EJ2YBVbYR1yPvy5GUyDJJbwZA2rknMSeAkdGSQ8wYmEOUmGaEEvw5KB559xwPP8yxZiQmVBf3CJjcMwv2MJPLdSKckLWXCXOmfk39wGzGZwi23dINAanqKndpG4VvXDoRW+ZGqpF5py3hqrQruhV1UXk3kW90Ht2iYaC2mObasf2hfVYM5OCnnp0VxulPPMS+bsu6IvLWlJrYWmP+Py/9q7fVV6XkJ7m3n1WiqCHHqg== 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=+Wq5WCFFxBcw+vMUG/UQMjc5LMxwb6IUgNIWf9S6VRU=; b=kAMTHdOGbB1Uw10yhQ0eaRQlZT2l3LrzS+6UWVLLCKRdrmpNgQ7MeT4wkNrO2ihE526zygu5nR5uyHU9pn96nKOovZyIW8ISOjx9/hWVy8qZYTwlXWBq1cIq1oqunwUJ67YhLPoAq1/ii7XT1zCEgOBPYTxsn75SbmA2oSyMWXDJNV8Sbhz8PabS3pZs9jeCKbdekU1nXPeeLgAmVjxNUTx3tXf9AUDbDihTksEJ/zdN8Cudz9YAXlbTf/OjmvGvBaRskBjCYCfxhYkkefZEoudc0bHYBQMDJBwk1ZWRmPwpHPzL1Phaj0mpphwTqIir2Bn5xbaGo6VCHt/btYmTQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Wq5WCFFxBcw+vMUG/UQMjc5LMxwb6IUgNIWf9S6VRU=; b=KzPsjO+BPHNo+Pr/u2sw0OLlB9a/dMQkZ9wJgm9VO7ItEsXlGeoTpvh65ZjZ+eM+bP/M3XPYtDQENAn8/TTqf20JGBuW63ZDCNskkBOzyvdvETXEufXjeVMmeNZ39V4bc71A3h1ndpL/hxP/wvcZinTWpH1IwrZWAahlgZBJG4A= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from BN6PR11MB1474.namprd11.prod.outlook.com (2603:10b6:405:c::17) by BN6PR11MB3905.namprd11.prod.outlook.com (2603:10b6:405:82::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15; Wed, 11 Aug 2021 07:15:12 +0000 Received: from BN6PR11MB1474.namprd11.prod.outlook.com ([fe80::7cde:47ff:b54e:9e11]) by BN6PR11MB1474.namprd11.prod.outlook.com ([fe80::7cde:47ff:b54e:9e11%12]) with mapi id 15.20.4394.023; Wed, 11 Aug 2021 07:15:11 +0000 From: "Singh, Aman Deep" To: Chengwen Feng , , , CC: References: <1627281811-45185-1-git-send-email-fengchengwen@huawei.com> Message-ID: Date: Wed, 11 Aug 2021 12:45:01 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 In-Reply-To: <1627281811-45185-1-git-send-email-fengchengwen@huawei.com> Content-Language: en-GB X-ClientProxiedBy: PN0PR01CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:4e::17) To BN6PR11MB1474.namprd11.prod.outlook.com (2603:10b6:405:c::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.18] (223.178.213.111) by PN0PR01CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:4e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13 via Frontend Transport; Wed, 11 Aug 2021 07:15:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b65b2f2b-3fa6-4345-62b0-08d95c97c201 X-MS-TrafficTypeDiagnostic: BN6PR11MB3905: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2fzD1D7f+IFGV9GZvcmhubp173vLtS24H9Wj73lyVKDy7maUi+QiOyaZN8+Lq/5982jcWVcxSSAWhBkCA8xQ6QrbrWfHY11Ux9PZFafbxlSV08O6EujIdzpVKg7JTB054/4ir59TUMmb45l0rkWrW8x5H4ZekYk1ZH1/VUOoGl6sLdfgeWZcXIbhajDEHOAXSa63KhErNwX6v6CCKnP8IOX32v9zFBfezy8KyYLjCSxJoWuBz4h/l9D1KQKHkK+siw2eA/Dcx0K3MoJzE/HCqQ3DBPVp+R+gUqJVvGMEjKEIduLllByLERwJNQWfrQ3KYxr4/8ahJRDrH0Px4KxdANhKv7rEE1TAleV+umzNJDE4dl6lS43R/2rzwMk1+amobAN/MxjwHsjAtOoJzNGL96xRx7pq+M9wdxQfM2+fap1x9Nw0EL79J4riAOTuowoK73WoiPIUuo1aNH1ybN7zpVAcI/s9oM5/9Y4lw4fZPwIQtSh44rv3/IOUEdd+2XxL8M2UFBchCJ40ZgVXabKNR2hSuSa9S1agcZG6dfw38EGM2oVHcqbmpke8NPgc+TcAGa2vIOkpNowK4LXuPq8yMXemMJLeLq4E8jcJIRxQdRc5F/QadyJWLTTllzJuV54LgzdKoe0KL49i5uyGzGguz41vLwlLtVZHdEZMt8AotGqoZRhT6rBPO5eHnRU72oCiYgGizAFP2mRfzJL0DQkTjSNCmSDN6Nzy6WUMnx4omUA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB1474.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(346002)(136003)(366004)(39860400002)(86362001)(5660300002)(4326008)(33964004)(2906002)(316002)(16576012)(53546011)(31686004)(83380400001)(956004)(66946007)(66476007)(66556008)(26005)(2616005)(38100700002)(478600001)(8936002)(6666004)(31696002)(6486002)(8676002)(186003)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T3NaMFFaTnFvUDZ1RktGZEFtUlc1WGx1eWZtcXlXcDdvNjlVeXpDeDArV2hl?= =?utf-8?B?aXpEbGFLRzM5R0JWUEpKYkUrYVorVDhEQ1J1VEtGQ0JiSGRpTDVicGZweDJh?= =?utf-8?B?VEZGUEMyRGhkNEQ3WkZPQzlQR3RWYWpPb1pXN2NrcHh3bGhrWGRvb05yaTJQ?= =?utf-8?B?ZEp5dnJhdEc3TUhoWTMzcFNhL3BBQ1o1cVJyVDRHb28yRW1hcW5oTG5iZUI0?= =?utf-8?B?YnNRdzVPWC9mSDlCQzNYT0NQcnJ2Nld5ZGxmMXVVZGU5cTVoa0hudG11YnpX?= =?utf-8?B?eC9XVGFEOXBJM1RwN0JmQXRLNFNyekZiaHhXWTAxUXBCS0UxdE1uaHVNQ3FG?= =?utf-8?B?eEJoeWY2UjVvRDdIVTRkTlV1aVRiNEhiMzRJK3pRcnJWSmVaSmNNQnVzdUVC?= =?utf-8?B?VVIwSzFMWG1DSVFtNUZibTR6OTFvNUFscGRxa0tScWhabERncGlRY2dHZk9u?= =?ut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0eEptRG4wLy94eHdJTHNmV1JQRlJ6?= =?utf-8?B?YVZoZnM1L0w3ZDU2ZnFWNThqU000bEhDZFpJVEZPUHBOWHR5S0xqckRpdGFU?= =?utf-8?B?dTRSNlVqN0N3TjBxQ3pHWXppTEFNRjMxN2ZwVEdRUW9tMHZQRU8wSU13VzZC?= =?utf-8?B?UGVvcHFvM285NHZvcnJSMEtvTFgzTE1mVWMzRGQvNjBacm05d2haQVAzUXlN?= =?utf-8?B?T0JRZjc2dkJidGVWMjRWRG5BekZQRzY5NXc1cm9SVlhJQ3hWQWJmTDVFTzY1?= =?utf-8?B?cy85QXdkWmpkb1dtUkxSVUhKUmkwNG5ORmx5aHR5VFhnWjJZSEFXRDl3V3pi?= =?utf-8?B?TTRWT0hENndSVmhIUDBlS1dKT0diM2cyNU9Tb2UrZGZyOGI4aUo2cHhmZ0hv?= =?utf-8?Q?yLyWnaz2f+jaqXxB3CXNs7DuedMb2AmJYM55Fsl?= X-MS-Exchange-CrossTenant-Network-Message-Id: b65b2f2b-3fa6-4345-62b0-08d95c97c201 X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB1474.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2021 07:15:11.7482 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gqM750t/DWlb34/kgHEchp/0+OGIdJH0eNADeKZbeAw0Fp/A5kuVkzOM32gPvxqsIZvcy3wADk5lKreBCKcVnc+FkEQtMwXBBEvqVkyr348= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3905 X-OriginatorOrg: intel.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] ethdev: modify comment of INTR RESET event 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 Sender: "dev" Hi Chengwen, On 7/26/2021 12:13 PM, Chengwen Feng wrote: > According to the definition of rte_eth_dev_reset(), the > RTE_ETH_EVENT_INTR_RESET event could also use when PF resets. > > This patch modifies the comment of RTE_ETH_EVENT_INTR_RESET event, so > that it could use in all resets. > > Signed-off-by: Chengwen Feng > --- > lib/ethdev/rte_ethdev.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index d2b27c3..e6646a6 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -3499,8 +3499,7 @@ enum rte_eth_event_type { > RTE_ETH_EVENT_INTR_LSC, /**< lsc interrupt event */ > RTE_ETH_EVENT_QUEUE_STATE, > /**< queue state event (enabled/disabled) */ > - RTE_ETH_EVENT_INTR_RESET, > - /**< reset interrupt event, sent to VF on PF reset */ > + RTE_ETH_EVENT_INTR_RESET, /**< reset interrupt event */ > RTE_ETH_EVENT_VF_MBOX, /**< message from the VF received by PF */ > RTE_ETH_EVENT_MACSEC, /**< MACsec offload related event */ > RTE_ETH_EVENT_INTR_RMV, /**< device removal event */ Acked-by: Aman Deep Singh