From sacadmin Fri Mar  6 15:04:41 2009
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n26N4fBi029596;
	Fri, 6 Mar 2009 15:04:41 -0800 (PST)
Received: (from meem@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n26N4fcb029592;
	Fri, 6 Mar 2009 15:04:41 -0800 (PST)
Date: Fri, 6 Mar 2009 15:04:41 -0800 (PST)
From: Peter Memishian <meem@sac.sfbay.sun.com>
Message-Id: <200903062304.n26N4fcb029592@sac.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: DLPI Notification Tweak [PSARC/2009/162 Self Review]
Status: RO
Content-Length: 560


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 DLPI Notification Tweak
    1.2. Name of Document Author/Supplier:
	 Author:  Peter Memishian
    1.3  Date of This Document:
	06 March, 2009
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From peter.memishian@sun.com Fri Mar  6 15:21:16 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n26NLFgn000737
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 6 Mar 2009 15:21:15 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n26NLClk002395
	for <@sunmail2sca.sfbay.sun.com:psarc-ext@sun.com>; Fri, 6 Mar 2009 23:21:14 GMT
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KG30082LY7EHT00@nwk-avmta-2.sfbay.sun.com> for psarc-ext@sun.com
 (ORCPT psarc-ext@sun.com); Fri, 06 Mar 2009 15:21:14 -0800 (PST)
Received: from dm-eng-02.sfbay.sun.com ([129.146.11.32])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KG300MNHY7D80A0@nwk-avmta-2.sfbay.sun.com> for
 psarc-ext@sun.com (ORCPT psarc-ext@sun.com); Fri,
 06 Mar 2009 15:21:13 -0800 (PST)
Received: from triplex.eng.sun.com (triplex.SFBay.Sun.COM [129.146.108.208])
	by dm-eng-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n26NLD7I044781; Fri, 06 Mar 2009 15:21:13 -0800 (PST)
Received: from triplex.eng.sun.com (localhost [127.0.0.1] (may be forged))
	by triplex.eng.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n26NLDaY028807; Fri,
 06 Mar 2009 15:21:13 -0800 (PST)
Received: (from meem@localhost)
	by triplex.eng.sun.com (8.14.3+Sun/8.14.3/Submit) id n26NLDRW028804; Fri,
 06 Mar 2009 15:21:13 -0800 (PST)
Date: Fri, 06 Mar 2009 15:21:13 -0800
From: Peter Memishian <peter.memishian@sun.com>
Subject: PSARC/2009/162 DLPI Notification Tweak
To: psarc-ext@sun.com
Cc: clearview-discuss@opensolaris.org
Reply-to: peter.memishian@sun.com
Message-id: <18865.45033.573739.854863@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.19 under 21.4 (patch 21) "Educational Television" XEmacs Lucid
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Authentication-warning: triplex.eng.sun.com: meem set sender to
 peter.memishian@sun.com using -f
Status: RO
Content-Length: 1371


This case proposes to remove the libdlpi requirement that dlpi_bind(3DLPI)
be issued prior to dlpi_enabnotify(3DLPI).  No other changes are proposed.

Since this is a simple change with no impact on backward compatibility and
an immediate need, I'm filing this as "closed approved automatic".  Patch
binding is requested but minor would suffice for our needs.

---8<---

When dlpi_enabnotify() was introduced as part of PSARC/2007/514, we
restricted dlpi_enabnotify() to return an error if the DLPI handle was not
in the DL_IDLE state.  This was done because the ce(7D) and gem(7D) drivers
(incorrectly) had this restriction, and we wanted to ensure that the API
behavior was consistent across different drivers.

However, after that case was approved, Clearview Nemo Unification and
Vanity Naming (PSARC/2006/499) integrated into Solaris, shielding libdlpi
consumers from this issue.  Moreover, we now have commitment from the ce
and gem owners to fix the drivers (as tracked by CRs 6598421 and 6809577).
In short, the original restriction is no longer necessary.

Further, the original restriction is now regressing performance in IPMP
configurations because because recent enhancements to in.mpathd(1M) require
it to use dlpi_enabnotify(), which in turn require it to use dlpi_bind()
(because of this issue), which in turn disables a fastpath inside GLDv3.

-- 
meem

From carlsonj@phorcys.east.sun.com Mon Mar  9 06:10:03 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n29DA29L007229
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 9 Mar 2009 06:10:02 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n29D9qkc003642;
	Mon, 9 Mar 2009 21:09:59 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KG800H0DPWK5U00@nwk-avmta-2.sfbay.sun.com>; Mon,
 09 Mar 2009 06:09:56 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KG8006B5PWHWLB0@nwk-avmta-2.sfbay.sun.com>; Mon,
 09 Mar 2009 06:09:54 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n29D2EgO017126; Mon,
 09 Mar 2009 09:02:14 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id n29D2EwH017123; Mon,
 09 Mar 2009 09:02:14 -0400 (EDT)
Date: Mon, 09 Mar 2009 09:02:14 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: PSARC/2009/162 DLPI Notification Tweak
In-reply-to: <18865.45033.573739.854863@gargle.gargle.HOWL>
To: Peter.Memishian@sun.com
Cc: PSARC-ext@sun.com, clearview-discuss@opensolaris.org
Message-id: <18869.4950.603823.97186@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <18865.45033.573739.854863@gargle.gargle.HOWL>
Status: RO
Content-Length: 406

Peter Memishian writes:
> This case proposes to remove the libdlpi requirement that dlpi_bind(3DLPI)
> be issued prior to dlpi_enabnotify(3DLPI).  No other changes are proposed.

+1

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

