Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4103404pxb; Tue, 17 Nov 2020 11:20:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrgosbLPcViAGv932lBgv2FzpIlw9PwVQXVFZNkhm580P2ADJEd5G/hFSOAoUBVfBD+xqy X-Received: by 2002:aa7:d888:: with SMTP id u8mr22993695edq.210.1605640799812; Tue, 17 Nov 2020 11:19:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605640799; cv=none; d=google.com; s=arc-20160816; b=D7/VQT365U2CcrEL+lLLZF3lFQaDkSb2me0ngeE1dtOIadZjdRAN+mbAtpG20bbX0K DyNG7F2omqwXIU0mls5f5nesWV5WUgLNNZy4rkkTett73lchr0ZZT3JRJiMNkFyENAHM 3IEDS+FBnFUGmOx60XKhZUB+6JInOPICFgbrbFmk3KfkSnS4dJY1haBRUJoPTW3mnP3G YFG4vUXx6hNi/I7CcpfCCQO7B94c9hxPNI3e6RYdIE1lLcnC4NyyJ7QPWbHP0XtwYiqF J+phivrohqIr2AGG6z5pxBcEWu03BnmYz3OoXJSV2UUsCiHLPIj5KaB9u0TqUq50F4/C Y1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mzfxdXONFyP+nJ5WN6LW0aUav7QlWg3P/f3RdTXK1ro=; b=nrPftFaoIKYFvQCxzGbjD46krCNPTCuAuuWQnEy3RJy7zznQxorBm53xfOtQIfaJ6y KxVuEfijPA+ieqA0762n3PR0QPOKyVgwlDiTbeqebprp+3LXyHev8TwdIfZ32EA5suRD Wfp8ylHI1F6SD8uF+58rT/ZwU88vAmX5mZpF+paCWk25tpLqsDvUEavanLpOorYQ+8rF C/wOY+TdXYSv0dU5AKLSTtBAdgv2wdhwhUy8ekAo2RJtuLp+eqeZdmt0kQ7ppSzsDDbv RPXQRc7QpknEl9lAeGdJ0EjwCqTkI00LlvlmEqxtRW/at060l517SjBLARcFt/HIrzVB cP5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=i9kLbdKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q5si13570330ejn.34.2020.11.17.11.19.37; Tue, 17 Nov 2020 11:19:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=i9kLbdKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbgKQTQu (ORCPT + 99 others); Tue, 17 Nov 2020 14:16:50 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:25852 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728018AbgKQTQt (ORCPT ); Tue, 17 Nov 2020 14:16:49 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AHJ2QWM099825; Tue, 17 Nov 2020 14:16:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=mzfxdXONFyP+nJ5WN6LW0aUav7QlWg3P/f3RdTXK1ro=; b=i9kLbdKFvR7tnxUsGo273bA3drLv04yrihNrxx5tejV7MewwD8WPgQKWS6baLPRiR0Iy 8qKOU28xrOY46Bzvse6Q6r4VbpnFhtNg6FzUIh0O29uSG2gKVFbOrl4ZnG62R+6ynhO6 DFeIdJLodY0VxVQVZ0QMObZTVhqGxA1J6ip0UdJTnbMMinVoY9/+pKILLqMNZJ3sc2AD BS7QTgFV5y3IJdqPrhQFKHTeUguxiIN8Rzg87qR/2T5sUmfFLOBUoMlwkIxH+fCW9H/w Zcpl+SMKYhLwf8HWLjbqFcpXsjU/Y7/vdXAhuZPMJAiF8auwiL0uqpQgT5hE8BWRKvRo 8w== Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 34v3yfjuj7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Nov 2020 14:16:41 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0AHJ7f6n012700; Tue, 17 Nov 2020 19:16:40 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma03dal.us.ibm.com with ESMTP id 34t6v9evv0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Nov 2020 19:16:40 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0AHJGU2339125252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Nov 2020 19:16:30 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DE9B3C6055; Tue, 17 Nov 2020 19:16:38 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6FC18C6059; Tue, 17 Nov 2020 19:16:38 +0000 (GMT) Received: from vios4361.aus.stglabs.ibm.com (unknown [9.3.43.61]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 17 Nov 2020 19:16:38 +0000 (GMT) From: Tyrel Datwyler To: james.bottomley@hansenpartnership.com Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com, Tyrel Datwyler Subject: [PATCH v2 0/6] ibmvfc: Protocol definition updates and new targetWWPN Support Date: Tue, 17 Nov 2020 13:16:30 -0600 Message-Id: <20201117191636.131127-1-tyreld@linux.ibm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-17_07:2020-11-17,2020-11-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 spamscore=0 mlxlogscore=629 priorityscore=1501 malwarescore=0 suspectscore=1 mlxscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011170133 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Several Management Datagrams (MADs) have been reversioned to add a targetWWPN field that is intended to better identify a target over a scsi_id. Further, a couple new MADs have been introduced to the protocol to be used for negotiation of channels/hw queues resources when the VIOS is using SLI-4 capable adapters. This patchset adds the new protocol definitions and implements support for using the new targetWWPN field and exposing the capability to the VIOS. This targetWWPN support is a prerequisuite for upcoming channelization/MQ support. changes in v2: Removed bug fixes to separate patchset Fixed up checkpatch warnings Tyrel Datwyler (6): ibmvfc: deduplicate common ibmvfc_cmd init code ibmvfc: add new fields for version 2 of several MADs ibmvfc: add helper for testing capability flags ibmvfc: add FC payload retrieval routines for versioned vfcFrames ibmvfc: add support for targetWWPN field in v2 MADs and vfcFrame ibmvfc: advertise client support for targetWWPN using v2 commands drivers/scsi/ibmvscsi/ibmvfc.c | 183 ++++++++++++++++++++++----------- drivers/scsi/ibmvscsi/ibmvfc.h | 28 ++++- 2 files changed, 145 insertions(+), 66 deletions(-) -- 2.27.0