From owner-freebsd-drivers@freebsd.org Thu Jul 20 17:28:25 2017 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E76DC7C8C6 for ; Thu, 20 Jul 2017 17:28:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF0F6712DB; Thu, 20 Jul 2017 17:28:24 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 78DF610AF07; Thu, 20 Jul 2017 13:28:16 -0400 (EDT) From: John Baldwin To: freebsd-drivers@freebsd.org, Ram Kishore Vegesna Cc: "mav@freebsd.org" , Stephen Hurd Subject: Re: Upstream Request: Fiber channel driver for Broadcom/Emulex FC host bus adapter. Date: Thu, 20 Jul 2017 10:28:08 -0700 Message-ID: <1624453.JHbxFsdJUZ@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 20 Jul 2017 13:28:16 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 17:28:25 -0000 On Wednesday, May 10, 2017 11:50:21 AM Ram Kishore Vegesna via freebsd-drivers wrote: > Hi all, > > We are planning to upstream/inbox our FreeBSD cam driver which supports > Emulex FC host bus adapters (LPe16xx and LPe32xx family). > > Please provide me the inputs on up-streaming driver process for FreeBSD. If > you can share any documents related to that will be of great help. Unfortunately there isn't a white paper that describes how to upstream drivers very well. However, here are some suggestions: 1) Create a phabricator account at reviews.freebsd.org and upload a diff there to begin the code review process. There is a command line client ("arcanist") for phabricator that you can use to upload a diff from a git or hg branch or from a modified svn checkout. 2) Find a reviewer. This can happen in a couple of ways. I've cc'd Alexander Motin (mav@) who has worked on the isp(4) driver for QLogic HBAs that support FC. He will hopefully be able to either review or help forward you to another person who can. I've also cc'd Stephen Hurd who is a committer who works at Broadcom on the bnxt(4) NIC driver as he might be a good resource, and might be able to give useful advice on the upstreaming process. Also, apologies for the latency in the reply. -- John Baldwin