From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5DDEC433E7 for ; Mon, 19 Oct 2020 19:24:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 568C322365 for ; Mon, 19 Oct 2020 19:24:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730943AbgJSTY0 (ORCPT ); Mon, 19 Oct 2020 15:24:26 -0400 Received: from mx2.suse.de ([195.135.220.15]:48318 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730845AbgJSTYZ (ORCPT ); Mon, 19 Oct 2020 15:24:25 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6AFD5AAB2; Mon, 19 Oct 2020 19:24:24 +0000 (UTC) Subject: Re: [PATCH v4 08/31] elx: libefc: Generic state machine framework To: James Smart , linux-scsi@vger.kernel.org Cc: Ram Vegesna References: <20201012225147.54404-1-james.smart@broadcom.com> <20201012225147.54404-9-james.smart@broadcom.com> From: Hannes Reinecke Message-ID: <31800bab-fb11-44a0-07c5-b8616568fec6@suse.de> Date: Mon, 19 Oct 2020 21:24:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201012225147.54404-9-james.smart@broadcom.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On 10/13/20 12:51 AM, James Smart wrote: > This patch starts the population of the libefc library. > The library will contain common tasks usable by a target or initiator > driver. The library will also contain a FC discovery state machine > interface. > > This patch creates the library directory and adds definitions > for the discovery state machine interface. > > Co-developed-by: Ram Vegesna > Signed-off-by: Ram Vegesna > Signed-off-by: James Smart > > --- > v4: > Remove the " EFC_SM_EVENT_START" id and define SM events serially. > --- > drivers/scsi/elx/libefc/efc_sm.c | 54 +++++++++ > drivers/scsi/elx/libefc/efc_sm.h | 197 +++++++++++++++++++++++++++++++ > 2 files changed, 251 insertions(+) > create mode 100644 drivers/scsi/elx/libefc/efc_sm.c > create mode 100644 drivers/scsi/elx/libefc/efc_sm.h > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer