From patchwork Fri Jan 18 22:51:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satish Kharat X-Patchwork-Id: 10771797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 575C01580 for ; Fri, 18 Jan 2019 22:58:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48C63289EC for ; Fri, 18 Jan 2019 22:58:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CC3D303D1; Fri, 18 Jan 2019 22:58:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, USER_IN_DEF_DKIM_WL autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9BA030341 for ; Fri, 18 Jan 2019 22:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730022AbfARW60 (ORCPT ); Fri, 18 Jan 2019 17:58:26 -0500 Received: from alln-iport-8.cisco.com ([173.37.142.95]:33885 "EHLO alln-iport-8.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729780AbfARW6Z (ORCPT ); Fri, 18 Jan 2019 17:58:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=959; q=dns/txt; s=iport; t=1547852305; x=1549061905; h=from:to:cc:subject:date:message-id; bh=LI55bMipt4kG2raKlCMjldABEhoLc306VDNXYrR5gBc=; b=P/VVRDTNAvvXjnxwDlxJ5N2BmYJ50rPTsDjvp40J2haKHcQd0XCfMN1R Xg8fAIyhl+KJjcOfUHUKj/rWNdanVV9ZMZPWDjOlJNIPX1h0E8EoHUmCp tyUt/X4PGoFxhz22fMr5gzQrv9F84yPFcN7RUVdEm4Ddo5EWkmbT/6l5t Q=; X-IronPort-AV: E=Sophos;i="5.56,492,1539648000"; d="scan'208";a="227712566" Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2019 22:58:25 +0000 Received: from satish-ini-cisco-com.cisco.com (satish-ini.cisco.com [10.193.101.67]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id x0IMwOfl005549; Fri, 18 Jan 2019 22:58:24 GMT From: Satish Kharat To: satishkh@cisco.com, martin.petersen@oracle.com, jejb@linux.vnet.ibm.com Cc: linux-scsi@vger.kernel.org Subject: [PATCH 0/6] fnic devcmd2 changes Date: Fri, 18 Jan 2019 14:51:39 -0800 Message-Id: <20190118225145.2508-1-satishkh@cisco.com> X-Mailer: git-send-email 2.17.2 X-Outbound-SMTP-Client: 10.193.101.67, satish-ini.cisco.com X-Outbound-Node: alln-core-2.cisco.com Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Devcmd2 is a newer firmware interface exported by newer Cisco VIC devices. This series of patches is to enable the devcmd2 interface for fnic. Satish Kharat (6): scsi: fnic: fnic devcmd2 interface definitions scsi: fnic: fnic devcmd2 controller definitions scsi: fnic: Adds devcmd2 initialization helpers scsi: fnic: Adding devcmd2 init and posting interfaces scsi: fnic: Enabeling fnic devcmd2 interface scsi: fnic: Updating fnci driver version to 1.6.0.47 drivers/scsi/fnic/fnic.h | 2 +- drivers/scsi/fnic/fnic_main.c | 11 +- drivers/scsi/fnic/vnic_dev.c | 270 +++++++++++++++++++++++++++++- drivers/scsi/fnic/vnic_dev.h | 2 + drivers/scsi/fnic/vnic_devcmd.h | 158 ++++++++++++++++- drivers/scsi/fnic/vnic_resource.h | 7 + drivers/scsi/fnic/vnic_wq.c | 66 ++++++++ drivers/scsi/fnic/vnic_wq.h | 8 + 8 files changed, 514 insertions(+), 10 deletions(-)