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 3845DA0C45; Sat, 30 Oct 2021 00:20:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E50BB410F6; Sat, 30 Oct 2021 00:20:51 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 6641240DDB for ; Sat, 30 Oct 2021 00:20:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10152"; a="228220501" X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="228220501" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 15:20:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="574825744" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP; 29 Oct 2021 15:20:30 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 29 Oct 2021 15:20:30 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 29 Oct 2021 15:20:29 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 29 Oct 2021 15:20:29 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 29 Oct 2021 15:20:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a6XLJkV6YsBsBM1u76DUmuZ+bDJZ7AV3gRuB0Y/9Duw84CUBhf0cLdDfB382jyCgdDOnRjMunw20ozC00/o0l+58l3Ous0bih+HviFSvi2JHFrtDMcr8vhZLCfGDfQ7+YW6bIRBt5oeSlZNigz3xZ81H8sMuYT71UwB8JM0rRWgzqBjtk6RytNmg8QoVM6R5dSN3NqRnEjaqy/t8CIIt8fP9l6sugZ718Ec+tXN1KLsQv6Dd+2qTQXVznz+SDqxj4abBxvAotimZHAQFGQ0CMHJfooONsFdHLVOZ9RPK4gSvXXt9bhMTZmrbs+JdD8ZXqxzuhWQD7YnL0K9SaMK7Jg== 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=l+/LMCesbTeSSTSOlnsFt42A2jTxDM26DEBiOfYw51c=; b=aK+sDEtaYvnaqek2TX8itimrY/inuPETa5r2gDANCnBzvoUxc8xDOxgnLsQ+w2BWIduddRJ+wA2fkVba3c1WCDyN5F5PtR2bl62cnCdr9R+59grSCXwg8w466CNOA9nqwx3cNdqTejBxfzpLvSYFJwFItrhimSC7oIei2+mZepSd3YIEtGza4JiEfZTPN5d3XgvApb1dLrMOxdhs6VqOC6EuEr0UbHgQVB1vh1o26X5GY7vmgPCD1Wt4NeJgwOj8+UeSuGym6Pabga/j90Yb3PjZg+OYTzqeFR6gnirRMywUlaNk2lHgDcvhBSPNuglj0Z6o5ouXTjkA5Di9145uaw== 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=l+/LMCesbTeSSTSOlnsFt42A2jTxDM26DEBiOfYw51c=; b=Cli6e5lXdky/N1adr9fwD/m2D0MtcuE0Yjv5YOhSYAMHbDsUpjQ1K1KVJ+jGAUqjse9Daamm47kv5ymzlZs8WqOFaUjNgRj8viUErY2T/VFoHgH1yO11Yw6sh0xYSDGlkFT4/Nbjuisqls/wCo7TR1y7D/3SmmhvmEjlJY7gIh4= Authentication-Results: trustnetic.com; dkim=none (message not signed) header.d=none;trustnetic.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5191.namprd11.prod.outlook.com (2603:10b6:510:3e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Fri, 29 Oct 2021 22:20:28 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.015; Fri, 29 Oct 2021 22:20:28 +0000 Message-ID: <8af31021-0deb-4b87-7056-ba7b7e099eb6@intel.com> Date: Fri, 29 Oct 2021 23:20:22 +0100 Content-Language: en-US To: Jiawen Wu References: <20211021095023.18288-1-jiawenwu@trustnetic.com> <20211021095023.18288-21-jiawenwu@trustnetic.com> CC: From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211021095023.18288-21-jiawenwu@trustnetic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB9PR02CA0015.eurprd02.prod.outlook.com (2603:10a6:10:1d9::20) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB9PR02CA0015.eurprd02.prod.outlook.com (2603:10a6:10:1d9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Fri, 29 Oct 2021 22:20:27 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7376f3b6-ceb1-4ed6-4b26-08d99b2a4fd4 X-MS-TrafficTypeDiagnostic: PH0PR11MB5191: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:541; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 63mbgAduJZRCPv9TZpOKDDQYJ8Y7ZPxjyYK0gH3miwiJIWcLd30MxbTRWbtBZxVg0L274fKU3reyjPZvVBdge8KZMYTYr8U6Zz8VrA8joEhEqQRoZb6sQlkdeKqk+KaPLahr6jgkdPKJnDTWraV+yAgn+q/epXo1yj193rqASy1tcibXe78e0VnF5NY9/Rvsh32gVFqh+2PBDqy9+FgBLeLG59bffYticJGEuFAEcByJyl7MXHy1htwYuzfEavzmqQBqYlg7QTdcvmshZpnJvC4ipNLqrWz0aCDcbN7K5f3o+NB7FIMyo02QQdXk7tfFiAK2t9GT+USb4iRt/uS4mlV3OgdTLfVSpzE5jgFyegZGxaE8VTWPOlKM/isURHcckj/zHsrUsK5EwBrKKozgR5P5D0SFHECUpj4fUJFu3AHIjWeQynWNJIJbTonxsvwuLcV7ndEc1Q4foSF1uLPJVRqLcoQauMQzqmuV385LDN7EvCftv7mQI+PTGBGYY9Xx1d8MJaCygBxgFWONtd8FyGPmcGD++ub/wV2guwobr5v5VKzy0cZe0kBVzAEKDZJzlFgm77hjV8iZe/Iw5tEjWVqQDmIucWzDGY+iUAXGsF0v6pH1rlQil2+0rJrhRqeHeSEB9V3WDcjFHx2loMDnEAwTOCYBofDeqokJAdLHs+43hpsIQIDz0TNdf5m07Fw90AmtqJahdfxg4GxyO7uKaQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(86362001)(8936002)(2906002)(83380400001)(44832011)(82960400001)(8676002)(2616005)(4744005)(38100700002)(5660300002)(316002)(66556008)(66476007)(186003)(31686004)(6916009)(16576012)(53546011)(4326008)(26005)(6486002)(31696002)(66946007)(6666004)(508600001)(36756003)(956004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VGVLNnVhSWg1aGNCdVRqZHc5R1BqK3JSd3ZaMVJGcHZUdWRRMFYvT3Jma0Nk?= =?utf-8?B?aFVyN0I5UnVlRiszSG9IUEplQ1kxUCtPZ0xGSlR0OXdGa0dxalp6bVJtdGNC?= =?utf-8?B?SnhrUzlXRS9OYnB1V2VjMnhCMGpCSHMzT2J3bkVmVHpNS1dmc3kyQTN3dW5K?= =?utf-8?B?UURXME85MkNFS1VIdmpkSDd3VktLRUZoREUreUhBc3VnQzZHRmNCWi96cnZs?= =?utf-8?B?cUNrMG5mVjBLQlE4eEFyTC9VUG9yL0ZSaXhoazMwL2tGN3U2NS82SDJVZHNJ?= =?utf-8?B?RmZtSkltWjYxU3JZazZWZXNIdnZtRi9tL3RRRTlhSFhkMTNTdDJxNm1RK3d1?= =?utf-8?B?S0QxeEREQkJJWFREcj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WFk?= =?utf-8?Q?KdiDt9N8PipWIPMLi8T0qIs=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7376f3b6-ceb1-4ed6-4b26-08d99b2a4fd4 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 22:20:28.3275 (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: OuBO12ByPkbLnXxogjOq3gvBS7+Qizee/gnCVKp9BCL6VYDBPf1sPzjRguj50RcwTEIoXiTaAJnEkzCKtkBvow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5191 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 20/26] net/ngbe: support device LED on and off 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" On 10/21/2021 10:50 AM, Jiawen Wu wrote: > Support device LED on and off. > > Signed-off-by: Jiawen Wu > --- > drivers/net/ngbe/base/ngbe_dummy.h | 10 +++++++ > drivers/net/ngbe/base/ngbe_hw.c | 48 ++++++++++++++++++++++++++++++ > drivers/net/ngbe/base/ngbe_hw.h | 3 ++ > drivers/net/ngbe/base/ngbe_type.h | 4 +++ > drivers/net/ngbe/ngbe_ethdev.c | 16 ++++++++++ Need to update ngbe.ini for 'LED' feature, adding following in next-net: diff --git a/doc/guides/nics/features/ngbe.ini b/doc/guides/nics/features/ngbe.ini index 7a3334e4fe26..c12d43b92261 100644 --- a/doc/guides/nics/features/ngbe.ini +++ b/doc/guides/nics/features/ngbe.ini @@ -34,6 +34,7 @@ Basic stats = Y Extended stats = Y Stats per queue = Y FW version = Y +LED = Y Multiprocess aware = Y Linux = Y ARMv8 = Y