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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no 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 890E7C43603 for ; Tue, 10 Dec 2019 19:43:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B5DF20652 for ; Tue, 10 Dec 2019 19:43:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbfLJTn6 (ORCPT ); Tue, 10 Dec 2019 14:43:58 -0500 Received: from mx2.suse.de ([195.135.220.15]:51308 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726018AbfLJTn6 (ORCPT ); Tue, 10 Dec 2019 14:43:58 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3047CAC81; Tue, 10 Dec 2019 19:43:56 +0000 (UTC) Message-ID: <7b0d5e88bd230600ff866ac4a7e88149b2cb9047.camel@suse.de> Subject: Re: [PATCH 3/4] qla2xxx: Fix point-to-point mode for qla25xx and older From: Martin Wilck To: Bart Van Assche , "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Quinn Tran , Martin Wilck , Daniel Wagner , Roman Bolshakov Date: Tue, 10 Dec 2019 20:44:46 +0100 In-Reply-To: <0c381a12-95c0-054a-a829-4adf3da25381@acm.org> References: <20191209180223.194959-1-bvanassche@acm.org> <20191209180223.194959-4-bvanassche@acm.org> <0c381a12-95c0-054a-a829-4adf3da25381@acm.org> Content-Type: text/plain; charset="ISO-8859-15" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi Bart, On Tue, 2019-12-10 at 13:00 -0500, Bart Van Assche wrote: > On 12/10/19 5:52 AM, Martin Wilck wrote: > > Hello Bart, > > > > On Mon, 2019-12-09 at 10:02 -0800, Bart Van Assche wrote: > > > Restore point-to-point for qla25xx and older. Although this patch > > > initializes > > > a field (s_id) that has been marked as "reserved" in the firmware > > > manual, it > > > works fine on my setup. > > > > > > Cc: Quinn Tran > > > Cc: Martin Wilck > > > Cc: Daniel Wagner > > > Cc: Roman Bolshakov > > > Fixes: 0aabb6b699f7 ("scsi: qla2xxx: Fix Nport ID display value") > > > Fixes: edd05de19759 ("scsi: qla2xxx: Changes to support N2N > > > logins") > > > Signed-off-by: Bart Van Assche > > > --- > > > drivers/scsi/qla2xxx/qla_iocb.c | 14 ++++++++++---- > > > 1 file changed, 10 insertions(+), 4 deletions(-) > > > > Having followed the discussion between you and Roman, I guess this > > is > > ok. However I'd like to understand better in what ways the N2N > > topology > > was broken for you. After all, this patch affects only the LOGO > > payload. Was it a logout / relogin issue? Were wrong ports being > > logged > > out? > > Hi Martin, > > Without this patch N2N login fails for 25xx adapters. With this patch > N2N login succeeds for 25xx adapters. You may have noticed that > Martin > Petersen asked Himanshu for advice in another e-mail thread about how > to > address this regression. Of course I did. It still kind of baffles me that a change in the LOGO iocb causes LOGIN to fail, but whatever. Martin